From 7d622332b64bccb19bf07e502b237dfc1d19f80f Mon Sep 17 00:00:00 2001 From: Mengmeng Zhang Date: Mon, 29 Jan 2024 11:27:53 +0100 Subject: [PATCH] INSEUL, corrected the code format --- ceasiompy/EdgeRun/func/edgeconfig.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ceasiompy/EdgeRun/func/edgeconfig.py b/ceasiompy/EdgeRun/func/edgeconfig.py index 08cf5488b..6b8eb8661 100644 --- a/ceasiompy/EdgeRun/func/edgeconfig.py +++ b/ceasiompy/EdgeRun/func/edgeconfig.py @@ -201,9 +201,9 @@ def edge_cfd(cpacs_path, cpacs_out_path, wkdir): NPART = int(get_value_or_default(cpacs.tixi, EDGE_NB_CPU_XPATH, 64)) edge_solver = get_value(cpacs.tixi, EDGE_SOLVER_XPATH) - if edge_solver == "Euler" + if edge_solver == "Euler": INSEUL = 0 - if edge_solver == "RANS" + if edge_solver == "RANS": INSEUL = 1 else: raise Exception("Error, edge solver not assigned")