From 0d2d4446d893c608003000a332ec1bccf7d18edf Mon Sep 17 00:00:00 2001 From: Mengmeng Zhang Date: Mon, 29 Jan 2024 21:43:24 +0100 Subject: [PATCH] added print to debug --- ceasiompy/EdgeRun/func/edgeconfig.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ceasiompy/EdgeRun/func/edgeconfig.py b/ceasiompy/EdgeRun/func/edgeconfig.py index 45d5fe14b..9eeff060f 100644 --- a/ceasiompy/EdgeRun/func/edgeconfig.py +++ b/ceasiompy/EdgeRun/func/edgeconfig.py @@ -195,12 +195,13 @@ def edge_cfd(cpacs_path, cpacs_out_path, wkdir): # Settings - ITMAX = int(get_value_or_default(cpacs.tixi, EDGE_MAX_ITER_XPATH, 200)) + ITMAX = int(get_value_or_default(cpacs.tixi, EDGE_MAX_ITER_XPATH, 1000)) CFL = get_value_or_default(cpacs.tixi, EDGE_CFL_NB_XPATH, 1.5) - NGRID = int(get_value_or_default(cpacs.tixi, EDGE_MG_LEVEL_XPATH, 3)) - NPART = int(get_value_or_default(cpacs.tixi, EDGE_NB_CPU_XPATH, 64)) + NGRID = int(get_value_or_default(cpacs.tixi, EDGE_MG_LEVEL_XPATH, 1)) + NPART = int(get_value_or_default(cpacs.tixi, EDGE_NB_CPU_XPATH, 128)) edge_solver = get_value_or_default(cpacs.tixi, EDGE_SOLVER_XPATH,"Euler") + print(f'edge_solver: {edge_solver}') if edge_solver == "Euler": INSEUL = 0 if edge_solver == "RANS":