From 4b6be6d99f8d0c271a256cc99396ad61ecb04a64 Mon Sep 17 00:00:00 2001 From: "remi.bourgeois" <remi.bourgeois@cea.fr> Date: Mon, 16 Jan 2023 15:20:46 +0100 Subject: [PATCH] parameters for better physics --- Grand_Challenge/scripts_for_GC/script_init.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Grand_Challenge/scripts_for_GC/script_init.py b/Grand_Challenge/scripts_for_GC/script_init.py index 6bd50411..18f7e66c 100644 --- a/Grand_Challenge/scripts_for_GC/script_init.py +++ b/Grand_Challenge/scripts_for_GC/script_init.py @@ -25,7 +25,7 @@ def write_ini(num_restart, mx, my, mz, tEnd, cfl, muscl_enabled, all_regime_corr f.write("boundary_type_xmin=3\nboundary_type_xmax=3\nboundary_type_ymin=3\nboundary_type_ymax=3\nboundary_type_zmin=0\nboundary_type_zmax=0\n") f.write("\n[hydro]\ng_z=-1\nconvection_source_term_enabled=true\nQ_source_term=true\nR_source_term=true\nH_source_term=true\n") - f.write("\n[thermo]\ngamma=1.4\nmmw1 = 2.0\nmmw2 = 2.40\nkB = 1.0\n") + f.write("\n[thermo]\ngamma=1.4\nmmw1 = 10\nmmw2 = 14\nkB = 1.0\n") f.write("\n[output]\n") f.write("prefix="+prefix+"\n") @@ -34,7 +34,7 @@ def write_ini(num_restart, mx, my, mz, tEnd, cfl, muscl_enabled, all_regime_corr f.write("n_profile=0\n") f.write("n_slice=0\n") f.write("format=appended\ntype=pdi\n\n[problem]\nname=convection\ndimension=3\n") - f.write("amplitude_seed = 0.00001\nHT = -0.6\nQA = -0.001\nRX = -0.3\ndensity_bottom=10.0\nT_bottom = 10\nBx_bottom = 0.00001\nX_bottom = 0.98\ngrad_T = 2\ngrad_X = -0.96\n") + f.write("amplitude_seed = 0.00001\nHT = -1.2\nQA = -0.001\nRX = -0.6\ndensity_bottom=10.0\nT_bottom = 10\nBx_bottom = 0.00001\nX_bottom = 0.98\ngrad_T = 1.3\ngrad_X = -0.96\n") f.close() -- GitLab