File tree Expand file tree Collapse file tree 4 files changed +17
-17
lines changed
1D_MultiComponent_Diffusion Expand file tree Collapse file tree 4 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 1515
1616args = parser .parse_args ()
1717
18- ctfile = "grigri.yaml"
18+ ctfile = "input/ grigri.yaml"
1919
2020L = 0.05
2121Nx = 100
File renamed without changes.
Original file line number Diff line number Diff line change 3737u_r = - 487.34
3838
3939L = 0.12
40- Nx = 400 * args .scale
40+ Nx = 100 * args .scale
4141dx = L / Nx
4242dt = dx / abs (u_r ) * 0.02
4343Tend = 230e-6
5050 # Logistics
5151 "run_time_info" : "T" ,
5252 # Computational Domain Parameters
53- "x_domain%beg" : 0 ,
54- "x_domain%end" : L ,
53+ "x_domain%beg" : - L / 2 ,
54+ "x_domain%end" : L / 2 ,
55+ "stretch_x" : "T" ,
56+ "a_x" : 20 ,
57+ "x_a" :- L / 8 ,
58+ "x_b" : L / 8 ,
5559 "m" : Nx ,
5660 "n" : 0 ,
5761 "p" : 0 ,
5862 "dt" : float (dt ),
5963 "t_step_start" : 0 ,
60- "t_step_stop" : NT ,
61- "t_step_save" : NS ,
62- "t_step_print" : NS ,
64+ "t_step_stop" : 1 ,
65+ "t_step_save" : 1 ,
66+ "t_step_print" : 1 ,
6367 "parallel_io" : "F" if args .mfc .get ("mpi" , True ) else "F" ,
6468 # Simulation Algorithm Parameters
6569 "model_eqns" : 2 ,
8993 "prim_vars_wrt" : "T" ,
9094 "chem_wrt_T" : "T" ,
9195 "patch_icpp(1)%geometry" : 1 ,
92- "patch_icpp(1)%x_centroid" : L / 4 ,
93- "patch_icpp(1)%length_x" : L / 2 ,
96+ "patch_icpp(1)%x_centroid" : L / 4 ,
97+ "patch_icpp(1)%length_x" : L / 2 ,
9498 "patch_icpp(1)%vel(1)" : u_l ,
9599 "patch_icpp(1)%pres" : sol_L .P ,
96100 "patch_icpp(1)%alpha(1)" : 1 ,
97101 "patch_icpp(1)%alpha_rho(1)" : sol_L .density ,
98102 "patch_icpp(2)%geometry" : 1 ,
99- "patch_icpp(2)%x_centroid" : 3 * L / 4 ,
103+ "patch_icpp(2)%x_centroid" : - L / 4 ,
100104 "patch_icpp(2)%length_x" : L / 2 ,
101105 "patch_icpp(2)%vel(1)" : u_r ,
102106 "patch_icpp(2)%pres" : sol_R .P ,
Original file line number Diff line number Diff line change @@ -390,11 +390,7 @@ def input_chemistry_diffusion(self):
390390 if "MultiComponent_Diffusion" in self .trace :
391391 copy_input_diffusion (f'/1D_MultiComponent_Diffusion' ,f'{ self .get_dirpath ()} ' )
392392
393- def create_input_diffusion (path_test ):
394- folder_path_diffusion = path_test
395- file_path_diffusion = folder_path_diffusion + '/grigri.yaml'
396-
397393def copy_input_diffusion (path_example_input , path_test ):
398- folder_path_dest = path_test
399- fite_path_dest = folder_path_dest + 'grigri.yaml'
400- file_path_src = common .MFC_EXAMPLE_DIRPATH + path_example_input + '/grigri.yaml'
394+ folder_path_dest = path_test + '/input/'
395+ file_path_dest = folder_path_dest + 'grigri.yaml'
396+ file_path_src = common .MFC_EXAMPLE_DIRPATH + path_example_input + '/input/ grigri.yaml'
You can’t perform that action at this time.
0 commit comments