From 89c2ac1e24390c723257224f9a58de5ce81ac564 Mon Sep 17 00:00:00 2001 From: Spencer Bryngelson Date: Mon, 15 Jan 2024 00:26:13 -0600 Subject: [PATCH] rm --- tests/02748F0F/case.py | 136 -------------------------------- tests/043B535A/case.py | 146 ---------------------------------- tests/0879E062/case.py | 141 --------------------------------- tests/09DAFEBA/case.py | 159 ------------------------------------- tests/0FCCE9F1/case.py | 133 ------------------------------- tests/122713AA/case.py | 157 ------------------------------------- tests/14B6198D/case.py | 161 -------------------------------------- tests/16C03D8E/case.py | 146 ---------------------------------- tests/16FBF4C8/case.py | 154 ------------------------------------ tests/18BDCBC8/case.py | 133 ------------------------------- tests/1CCA82F5/case.py | 141 --------------------------------- tests/1E738705/case.py | 141 --------------------------------- tests/20AE0551/case.py | 146 ---------------------------------- tests/27A13E25/case.py | 161 -------------------------------------- tests/284E0EF5/case.py | 161 -------------------------------------- tests/2A6136EF/case.py | 147 ----------------------------------- tests/2AB32975/case.py | 133 ------------------------------- tests/2E021372/case.py | 161 -------------------------------------- tests/2F35A1FE/case.py | 133 ------------------------------- tests/2FD933A2/case.py | 133 ------------------------------- tests/303B925A/case.py | 161 -------------------------------------- tests/32D0F235/case.py | 133 ------------------------------- tests/34580912/case.py | 133 ------------------------------- tests/345A94C0/case.py | 146 ---------------------------------- tests/34DBFE14/case.py | 161 -------------------------------------- tests/361D2A9B/case.py | 161 -------------------------------------- tests/3974AC7B/case.py | 146 ---------------------------------- tests/3A8359F6/case.py | 141 --------------------------------- tests/3AE495F4/case.py | 133 ------------------------------- tests/3B414AF0/case.py | 146 ---------------------------------- tests/3BFEAC19/case.py | 146 ---------------------------------- tests/3C00B89D/case.py | 146 ---------------------------------- tests/3FC6FC4A/case.py | 133 ------------------------------- tests/4129A23A/case.py | 146 ---------------------------------- tests/461DCB09/case.py | 141 --------------------------------- tests/46AA7AF8/case.py | 147 ----------------------------------- tests/48CCE072/case.py | 133 ------------------------------- tests/4AEF478A/case.py | 133 ------------------------------- tests/4D7926CD/case.py | 146 ---------------------------------- tests/4F2F4ACE/case.py | 154 ------------------------------------ tests/5010B814/case.py | 159 ------------------------------------- tests/50A8B1FE/case.py | 147 ----------------------------------- tests/5281BD7B/case.py | 166 --------------------------------------- tests/53E13D19/case.py | 148 ----------------------------------- tests/5527832F/case.py | 133 ------------------------------- tests/55533234/case.py | 146 ---------------------------------- tests/557FF170/case.py | 159 ------------------------------------- tests/5781A4C2/case.py | 154 ------------------------------------ tests/59B127EF/case.py | 149 ----------------------------------- tests/59D05DE9/case.py | 147 ----------------------------------- tests/5DAB50B2/case.py | 154 ------------------------------------ tests/5E2265C4/case.py | 148 ----------------------------------- tests/5E454E32/case.py | 160 -------------------------------------- tests/5EC236F2/case.py | 133 ------------------------------- tests/5F877BC9/case.py | 146 ---------------------------------- tests/61FFF3D3/case.py | 159 ------------------------------------- tests/645A26E3/case.py | 154 ------------------------------------ tests/66CFF8CC/case.py | 161 -------------------------------------- tests/6784C02E/case.py | 148 ----------------------------------- tests/6B22A317/case.py | 147 ----------------------------------- tests/6D24B115/case.py | 141 --------------------------------- tests/6F296065/case.py | 172 ----------------------------------------- tests/6FC6A809/case.py | 159 ------------------------------------- tests/7077C99F/case.py | 133 ------------------------------- tests/70DAE9E8/case.py | 133 ------------------------------- tests/727F72ED/case.py | 133 ------------------------------- tests/729A4333/case.py | 148 ----------------------------------- tests/730DFD6D/case.py | 159 ------------------------------------- tests/7374E266/case.py | 146 ---------------------------------- tests/786DE444/case.py | 159 ------------------------------------- tests/7FC6826B/case.py | 147 ----------------------------------- tests/83291843/case.py | 161 -------------------------------------- tests/8360C26B/case.py | 161 -------------------------------------- tests/83EFC30C/case.py | 141 --------------------------------- tests/84017671/case.py | 133 ------------------------------- tests/842C6FFC/case.py | 148 ----------------------------------- tests/8A59E8E6/case.py | 133 ------------------------------- tests/8C7AA13B/case.py | 146 ---------------------------------- tests/8E3D99E6/case.py | 135 -------------------------------- tests/8EAC3DA7/case.py | 135 -------------------------------- tests/8FDEE23A/case.py | 146 ---------------------------------- tests/9465D0F5/case.py | 148 ----------------------------------- tests/98081DA3/case.py | 146 ---------------------------------- tests/9CB03CEF/case.py | 159 ------------------------------------- tests/9DAC4DDC/case.py | 141 --------------------------------- tests/9EB947DB/case.py | 138 --------------------------------- tests/9EF19F0A/case.py | 159 ------------------------------------- tests/9F3B58E7/case.py | 161 -------------------------------------- tests/A5C93D62/case.py | 154 ------------------------------------ tests/A60691E7/case.py | 133 ------------------------------- tests/A6AC2E06/case.py | 154 ------------------------------------ tests/A6E65782/case.py | 146 ---------------------------------- tests/A6EEAE2D/case.py | 161 -------------------------------------- tests/A83CADB5/case.py | 148 ----------------------------------- tests/ABAC3AE3/case.py | 159 ------------------------------------- tests/AE37D842/case.py | 161 -------------------------------------- tests/AED93D34/case.py | 133 ------------------------------- tests/AF0BCEE4/case.py | 147 ----------------------------------- tests/AF46C382/case.py | 147 ----------------------------------- tests/B3AAC9C8/case.py | 160 -------------------------------------- tests/B3C85904/case.py | 133 ------------------------------- tests/B89B8C70/case.py | 155 ------------------------------------- tests/B96AC58F/case.py | 146 ---------------------------------- tests/BF46F657/case.py | 146 ---------------------------------- tests/C04741B4/case.py | 146 ---------------------------------- tests/C4907722/case.py | 141 --------------------------------- tests/C5B79059/case.py | 133 ------------------------------- tests/C79E1D3C/case.py | 146 ---------------------------------- tests/C93BE9B5/case.py | 159 ------------------------------------- tests/CC4F7C44/case.py | 161 -------------------------------------- tests/CD3D9660/case.py | 146 ---------------------------------- tests/CD6DC908/case.py | 148 ----------------------------------- tests/CD9D3050/case.py | 146 ---------------------------------- tests/CE232828/case.py | 159 ------------------------------------- tests/CFE87594/case.py | 161 -------------------------------------- tests/D0045756/case.py | 159 ------------------------------------- tests/D3C860B9/case.py | 172 ----------------------------------------- tests/D6BAC936/case.py | 159 ------------------------------------- tests/D79C3E6F/case.py | 133 ------------------------------- tests/D972BA0F/case.py | 146 ---------------------------------- tests/DA8AF07E/case.py | 161 -------------------------------------- tests/DB670E50/case.py | 155 ------------------------------------- tests/DC46C302/case.py | 147 ----------------------------------- tests/DC9CB97E/case.py | 154 ------------------------------------ tests/E09A12D9/case.py | 159 ------------------------------------- tests/E4EFEDB2/case.py | 146 ---------------------------------- tests/E76D41CE/case.py | 146 ---------------------------------- tests/E84967E7/case.py | 146 ---------------------------------- tests/E8C28D5B/case.py | 148 ----------------------------------- tests/EAA53889/case.py | 146 ---------------------------------- tests/ED728400/case.py | 133 ------------------------------- tests/EF54219C/case.py | 147 ----------------------------------- tests/F0F175B2/case.py | 154 ------------------------------------ tests/F4F6AC27/case.py | 133 ------------------------------- tests/F5890628/case.py | 133 ------------------------------- tests/F97573DB/case.py | 133 ------------------------------- tests/F99FBB36/case.py | 159 ------------------------------------- tests/FB822062/case.py | 160 -------------------------------------- tests/FBF808BE/case.py | 146 ---------------------------------- tests/FC4D07B6/case.py | 154 ------------------------------------ tests/FD891191/case.py | 141 --------------------------------- tests/FE3E35C4/case.py | 148 ----------------------------------- 142 files changed, 20995 deletions(-) delete mode 100644 tests/02748F0F/case.py delete mode 100644 tests/043B535A/case.py delete mode 100644 tests/0879E062/case.py delete mode 100644 tests/09DAFEBA/case.py delete mode 100644 tests/0FCCE9F1/case.py delete mode 100644 tests/122713AA/case.py delete mode 100644 tests/14B6198D/case.py delete mode 100644 tests/16C03D8E/case.py delete mode 100644 tests/16FBF4C8/case.py delete mode 100644 tests/18BDCBC8/case.py delete mode 100644 tests/1CCA82F5/case.py delete mode 100644 tests/1E738705/case.py delete mode 100644 tests/20AE0551/case.py delete mode 100644 tests/27A13E25/case.py delete mode 100644 tests/284E0EF5/case.py delete mode 100644 tests/2A6136EF/case.py delete mode 100644 tests/2AB32975/case.py delete mode 100644 tests/2E021372/case.py delete mode 100644 tests/2F35A1FE/case.py delete mode 100644 tests/2FD933A2/case.py delete mode 100644 tests/303B925A/case.py delete mode 100644 tests/32D0F235/case.py delete mode 100644 tests/34580912/case.py delete mode 100644 tests/345A94C0/case.py delete mode 100644 tests/34DBFE14/case.py delete mode 100644 tests/361D2A9B/case.py delete mode 100644 tests/3974AC7B/case.py delete mode 100644 tests/3A8359F6/case.py delete mode 100644 tests/3AE495F4/case.py delete mode 100644 tests/3B414AF0/case.py delete mode 100644 tests/3BFEAC19/case.py delete mode 100644 tests/3C00B89D/case.py delete mode 100644 tests/3FC6FC4A/case.py delete mode 100644 tests/4129A23A/case.py delete mode 100644 tests/461DCB09/case.py delete mode 100644 tests/46AA7AF8/case.py delete mode 100644 tests/48CCE072/case.py delete mode 100644 tests/4AEF478A/case.py delete mode 100644 tests/4D7926CD/case.py delete mode 100644 tests/4F2F4ACE/case.py delete mode 100644 tests/5010B814/case.py delete mode 100644 tests/50A8B1FE/case.py delete mode 100644 tests/5281BD7B/case.py delete mode 100644 tests/53E13D19/case.py delete mode 100644 tests/5527832F/case.py delete mode 100644 tests/55533234/case.py delete mode 100644 tests/557FF170/case.py delete mode 100644 tests/5781A4C2/case.py delete mode 100644 tests/59B127EF/case.py delete mode 100644 tests/59D05DE9/case.py delete mode 100644 tests/5DAB50B2/case.py delete mode 100644 tests/5E2265C4/case.py delete mode 100644 tests/5E454E32/case.py delete mode 100644 tests/5EC236F2/case.py delete mode 100644 tests/5F877BC9/case.py delete mode 100644 tests/61FFF3D3/case.py delete mode 100644 tests/645A26E3/case.py delete mode 100644 tests/66CFF8CC/case.py delete mode 100644 tests/6784C02E/case.py delete mode 100644 tests/6B22A317/case.py delete mode 100644 tests/6D24B115/case.py delete mode 100644 tests/6F296065/case.py delete mode 100644 tests/6FC6A809/case.py delete mode 100644 tests/7077C99F/case.py delete mode 100644 tests/70DAE9E8/case.py delete mode 100644 tests/727F72ED/case.py delete mode 100644 tests/729A4333/case.py delete mode 100644 tests/730DFD6D/case.py delete mode 100644 tests/7374E266/case.py delete mode 100644 tests/786DE444/case.py delete mode 100644 tests/7FC6826B/case.py delete mode 100644 tests/83291843/case.py delete mode 100644 tests/8360C26B/case.py delete mode 100644 tests/83EFC30C/case.py delete mode 100644 tests/84017671/case.py delete mode 100644 tests/842C6FFC/case.py delete mode 100644 tests/8A59E8E6/case.py delete mode 100644 tests/8C7AA13B/case.py delete mode 100644 tests/8E3D99E6/case.py delete mode 100644 tests/8EAC3DA7/case.py delete mode 100644 tests/8FDEE23A/case.py delete mode 100644 tests/9465D0F5/case.py delete mode 100644 tests/98081DA3/case.py delete mode 100644 tests/9CB03CEF/case.py delete mode 100644 tests/9DAC4DDC/case.py delete mode 100644 tests/9EB947DB/case.py delete mode 100644 tests/9EF19F0A/case.py delete mode 100644 tests/9F3B58E7/case.py delete mode 100644 tests/A5C93D62/case.py delete mode 100644 tests/A60691E7/case.py delete mode 100644 tests/A6AC2E06/case.py delete mode 100644 tests/A6E65782/case.py delete mode 100644 tests/A6EEAE2D/case.py delete mode 100644 tests/A83CADB5/case.py delete mode 100644 tests/ABAC3AE3/case.py delete mode 100644 tests/AE37D842/case.py delete mode 100644 tests/AED93D34/case.py delete mode 100644 tests/AF0BCEE4/case.py delete mode 100644 tests/AF46C382/case.py delete mode 100644 tests/B3AAC9C8/case.py delete mode 100644 tests/B3C85904/case.py delete mode 100644 tests/B89B8C70/case.py delete mode 100644 tests/B96AC58F/case.py delete mode 100644 tests/BF46F657/case.py delete mode 100644 tests/C04741B4/case.py delete mode 100644 tests/C4907722/case.py delete mode 100644 tests/C5B79059/case.py delete mode 100644 tests/C79E1D3C/case.py delete mode 100644 tests/C93BE9B5/case.py delete mode 100644 tests/CC4F7C44/case.py delete mode 100644 tests/CD3D9660/case.py delete mode 100644 tests/CD6DC908/case.py delete mode 100644 tests/CD9D3050/case.py delete mode 100644 tests/CE232828/case.py delete mode 100644 tests/CFE87594/case.py delete mode 100644 tests/D0045756/case.py delete mode 100644 tests/D3C860B9/case.py delete mode 100644 tests/D6BAC936/case.py delete mode 100644 tests/D79C3E6F/case.py delete mode 100644 tests/D972BA0F/case.py delete mode 100644 tests/DA8AF07E/case.py delete mode 100644 tests/DB670E50/case.py delete mode 100644 tests/DC46C302/case.py delete mode 100644 tests/DC9CB97E/case.py delete mode 100644 tests/E09A12D9/case.py delete mode 100644 tests/E4EFEDB2/case.py delete mode 100644 tests/E76D41CE/case.py delete mode 100644 tests/E84967E7/case.py delete mode 100644 tests/E8C28D5B/case.py delete mode 100644 tests/EAA53889/case.py delete mode 100644 tests/ED728400/case.py delete mode 100644 tests/EF54219C/case.py delete mode 100644 tests/F0F175B2/case.py delete mode 100644 tests/F4F6AC27/case.py delete mode 100644 tests/F5890628/case.py delete mode 100644 tests/F97573DB/case.py delete mode 100644 tests/F99FBB36/case.py delete mode 100644 tests/FB822062/case.py delete mode 100644 tests/FBF808BE/case.py delete mode 100644 tests/FC4D07B6/case.py delete mode 100644 tests/FD891191/case.py delete mode 100644 tests/FE3E35C4/case.py diff --git a/tests/02748F0F/case.py b/tests/02748F0F/case.py deleted file mode 100644 index 2ceaf1b1e..000000000 --- a/tests/02748F0F/case.py +++ /dev/null @@ -1,136 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/02748F0F/case.py: -# 1D -> 1 Fluid(s) -> Viscous -> weno_Re_flux -> weno_avg - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/02748F0F/case.py", - description="tests/02748F0F/case.py: 1D -> 1 Fluid(s) -> Viscous -> weno_Re_flux -> weno_avg", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-11, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 1.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(1)%Re(1)": 0.0001, - "weno_Re_flux": "T", - "weno_avg": "T" -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/043B535A/case.py b/tests/043B535A/case.py deleted file mode 100644 index 046aea0ad..000000000 --- a/tests/043B535A/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/043B535A/case.py: -# 2D -> 1 Fluid(s) -> riemann_solver=2 -> model_eqns=3 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/043B535A/case.py", - description="tests/043B535A/case.py: 2D -> 1 Fluid(s) -> riemann_solver=2 -> model_eqns=3", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 3, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/0879E062/case.py b/tests/0879E062/case.py deleted file mode 100644 index dc7e6a69d..000000000 --- a/tests/0879E062/case.py +++ /dev/null @@ -1,141 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/0879E062/case.py: -# 1D -> 2 Fluid(s) -> riemann_solver=1 -> avg_state=1 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/0879E062/case.py", - description="tests/0879E062/case.py: 1D -> 2 Fluid(s) -> riemann_solver=1 -> avg_state=1", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 1, - "avg_state": 1, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/09DAFEBA/case.py b/tests/09DAFEBA/case.py deleted file mode 100644 index 61561b8cd..000000000 --- a/tests/09DAFEBA/case.py +++ /dev/null @@ -1,159 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/09DAFEBA/case.py: -# 3D -> bc=-2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/09DAFEBA/case.py", - description="tests/09DAFEBA/case.py: 3D -> bc=-2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 24, - "n": 24, - "p": 24, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "z_domain%beg": 0.0, - "z_domain%end": 1.0, - "bc_x%beg": -2, - "bc_x%end": -2, - "bc_y%beg": -2, - "bc_y%end": -2, - "bc_z%beg": -2, - "bc_z%end": -2, - "patch_icpp(1)%geometry": 9, - "patch_icpp(1)%z_centroid": 0.05, - "patch_icpp(1)%length_z": 0.1, - "patch_icpp(2)%z_centroid": 0.45, - "patch_icpp(2)%length_z": 0.7, - "patch_icpp(3)%z_centroid": 0.9, - "patch_icpp(3)%length_z": 0.2, - "patch_icpp(1)%y_centroid": 0.5, - "patch_icpp(1)%length_y": 1, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(1)%vel(3)": 0.0, - "patch_icpp(2)%geometry": 9, - "patch_icpp(2)%y_centroid": 0.5, - "patch_icpp(2)%length_y": 1, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(2)%vel(3)": 0.0, - "patch_icpp(3)%geometry": 9, - "patch_icpp(3)%y_centroid": 0.5, - "patch_icpp(3)%length_y": 1, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "patch_icpp(3)%vel(3)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/0FCCE9F1/case.py b/tests/0FCCE9F1/case.py deleted file mode 100644 index e014d51ae..000000000 --- a/tests/0FCCE9F1/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/0FCCE9F1/case.py: -# 1D -> 2 MPI Ranks - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/0FCCE9F1/case.py", - description="tests/0FCCE9F1/case.py: 1D -> 2 MPI Ranks", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/122713AA/case.py b/tests/122713AA/case.py deleted file mode 100644 index 402f371c9..000000000 --- a/tests/122713AA/case.py +++ /dev/null @@ -1,157 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/122713AA/case.py: -# 2D -> Hypoelasticity -> 1 Fluid(s) - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/122713AA/case.py", - description="tests/122713AA/case.py: 2D -> Hypoelasticity -> 1 Fluid(s)", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1000000.0, - "patch_icpp(1)%alpha_rho(1)": 1000.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 100000.0, - "patch_icpp(2)%alpha_rho(1)": 1000.0, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 500000.0, - "patch_icpp(3)%alpha_rho(1)": 1000.0, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 0.3, - "fluid_pp(1)%pi_inf": 780000.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "hypoelasticity": "T", - "patch_icpp(1)%tau_e(1)": 0.0, - "patch_icpp(2)%tau_e(1)": 0.0, - "patch_icpp(3)%tau_e(1)": 0.0, - "fluid_pp(1)%G": 100000.0, - "patch_icpp(1)%tau_e(2)": 0.0, - "patch_icpp(1)%tau_e(3)": 0.0, - "patch_icpp(2)%tau_e(2)": 0.0, - "patch_icpp(2)%tau_e(3)": 0.0, - "patch_icpp(3)%tau_e(2)": 0.0, - "patch_icpp(3)%tau_e(3)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/14B6198D/case.py b/tests/14B6198D/case.py deleted file mode 100644 index fd507295f..000000000 --- a/tests/14B6198D/case.py +++ /dev/null @@ -1,161 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/14B6198D/case.py: -# 2D -> Bubbles -> Monopole -> Polytropic -> bubble_model=2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/14B6198D/case.py", - description="tests/14B6198D/case.py: 2D -> Bubbles -> Monopole -> Polytropic -> bubble_model=2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "T", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "nb": 3, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556, - "Mono(1)%loc(2)": 0.5 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/16C03D8E/case.py b/tests/16C03D8E/case.py deleted file mode 100644 index 92e419d24..000000000 --- a/tests/16C03D8E/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/16C03D8E/case.py: -# 2D -> bc=-9 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/16C03D8E/case.py", - description="tests/16C03D8E/case.py: 2D -> bc=-9", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -9, - "bc_x%end": -9, - "bc_y%beg": -9, - "bc_y%end": -9, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/16FBF4C8/case.py b/tests/16FBF4C8/case.py deleted file mode 100644 index e0b76b99a..000000000 --- a/tests/16FBF4C8/case.py +++ /dev/null @@ -1,154 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/16FBF4C8/case.py: -# 2D -> 2 Fluid(s) -> riemann_solver=1 -> mixture_err - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/16FBF4C8/case.py", - description="tests/16FBF4C8/case.py: 2D -> 2 Fluid(s) -> riemann_solver=1 -> mixture_err", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "T", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/18BDCBC8/case.py b/tests/18BDCBC8/case.py deleted file mode 100644 index a85071192..000000000 --- a/tests/18BDCBC8/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/18BDCBC8/case.py: -# 1D -> 1 Fluid(s) -> riemann_solver=2 -> mixture_err - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/18BDCBC8/case.py", - description="tests/18BDCBC8/case.py: 1D -> 1 Fluid(s) -> riemann_solver=2 -> mixture_err", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "T", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/1CCA82F5/case.py b/tests/1CCA82F5/case.py deleted file mode 100644 index 458ad8b16..000000000 --- a/tests/1CCA82F5/case.py +++ /dev/null @@ -1,141 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/1CCA82F5/case.py: -# 1D -> 2 Fluid(s) -> riemann_solver=1 -> mpp_lim - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/1CCA82F5/case.py", - description="tests/1CCA82F5/case.py: 1D -> 2 Fluid(s) -> riemann_solver=1 -> mpp_lim", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "T", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/1E738705/case.py b/tests/1E738705/case.py deleted file mode 100644 index 139f49244..000000000 --- a/tests/1E738705/case.py +++ /dev/null @@ -1,141 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/1E738705/case.py: -# 1D -> 2 Fluid(s) -> riemann_solver=1 -> mixture_err - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/1E738705/case.py", - description="tests/1E738705/case.py: 1D -> 2 Fluid(s) -> riemann_solver=1 -> mixture_err", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "T", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/20AE0551/case.py b/tests/20AE0551/case.py deleted file mode 100644 index c3a13ebcd..000000000 --- a/tests/20AE0551/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/20AE0551/case.py: -# 2D -> bc=-4 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/20AE0551/case.py", - description="tests/20AE0551/case.py: 2D -> bc=-4", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -4, - "bc_x%end": -4, - "bc_y%beg": -4, - "bc_y%end": -4, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/27A13E25/case.py b/tests/27A13E25/case.py deleted file mode 100644 index b2101453e..000000000 --- a/tests/27A13E25/case.py +++ /dev/null @@ -1,161 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/27A13E25/case.py: -# 2D -> Axisymmetric -> Viscous -> weno_Re_flux -> weno_avg - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/27A13E25/case.py", - description="tests/27A13E25/case.py: 2D -> Axisymmetric -> Viscous -> weno_Re_flux -> weno_avg", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-11, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -2, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "cyl_coord": "T", - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8, - "fluid_pp(1)%Re(1)": 0.0001, - "fluid_pp(1)%Re(2)": 0.0001, - "fluid_pp(2)%Re(1)": 0.0001, - "fluid_pp(2)%Re(2)": 0.0001, - "weno_Re_flux": "T", - "weno_avg": "T" -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/284E0EF5/case.py b/tests/284E0EF5/case.py deleted file mode 100644 index 7be4b7d31..000000000 --- a/tests/284E0EF5/case.py +++ /dev/null @@ -1,161 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/284E0EF5/case.py: -# 2D -> Viscosity -> Bubbles -> QBMM - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/284E0EF5/case.py", - description="tests/284E0EF5/case.py: 2D -> Viscosity -> Bubbles -> QBMM", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "T", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(1)%Re(1)": 50, - "nb": 1, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/2A6136EF/case.py b/tests/2A6136EF/case.py deleted file mode 100644 index b5e260398..000000000 --- a/tests/2A6136EF/case.py +++ /dev/null @@ -1,147 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/2A6136EF/case.py: -# 1D -> 2 Fluid(s) -> Viscous -> weno_Re_flux -> weno_avg - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/2A6136EF/case.py", - description="tests/2A6136EF/case.py: 1D -> 2 Fluid(s) -> Viscous -> weno_Re_flux -> weno_avg", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-11, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 1.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8, - "fluid_pp(1)%Re(1)": 0.001, - "fluid_pp(1)%Re(2)": 0.001, - "fluid_pp(2)%Re(1)": 0.001, - "fluid_pp(2)%Re(2)": 0.001, - "weno_Re_flux": "T", - "weno_avg": "T" -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/2AB32975/case.py b/tests/2AB32975/case.py deleted file mode 100644 index 674937534..000000000 --- a/tests/2AB32975/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/2AB32975/case.py: -# 1D -> bc=-3 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/2AB32975/case.py", - description="tests/2AB32975/case.py: 1D -> bc=-3", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/2E021372/case.py b/tests/2E021372/case.py deleted file mode 100644 index fe9a7211d..000000000 --- a/tests/2E021372/case.py +++ /dev/null @@ -1,161 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/2E021372/case.py: -# 2D -> Viscosity -> Bubbles -> Polytropic -> bubble_model=3 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/2E021372/case.py", - description="tests/2E021372/case.py: 2D -> Viscosity -> Bubbles -> Polytropic -> bubble_model=3", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(1)%Re(1)": 50, - "nb": 1, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/2F35A1FE/case.py b/tests/2F35A1FE/case.py deleted file mode 100644 index 4a090bdb9..000000000 --- a/tests/2F35A1FE/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/2F35A1FE/case.py: -# 1D -> 1 Fluid(s) -> riemann_solver=2 -> model_eqns=3 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/2F35A1FE/case.py", - description="tests/2F35A1FE/case.py: 1D -> 1 Fluid(s) -> riemann_solver=2 -> model_eqns=3", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 3, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/2FD933A2/case.py b/tests/2FD933A2/case.py deleted file mode 100644 index 95dd965eb..000000000 --- a/tests/2FD933A2/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/2FD933A2/case.py: -# 1D -> bc=-15 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/2FD933A2/case.py", - description="tests/2FD933A2/case.py: 1D -> bc=-15", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -15, - "bc_x%end": -15, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/303B925A/case.py b/tests/303B925A/case.py deleted file mode 100644 index 97a7197cf..000000000 --- a/tests/303B925A/case.py +++ /dev/null @@ -1,161 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/303B925A/case.py: -# 2D -> Bubbles -> Monopole -> QBMM - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/303B925A/case.py", - description="tests/303B925A/case.py: 2D -> Bubbles -> Monopole -> QBMM", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "T", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "T", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "nb": 3, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556, - "Mono(1)%loc(2)": 0.5 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/32D0F235/case.py b/tests/32D0F235/case.py deleted file mode 100644 index f29fe806b..000000000 --- a/tests/32D0F235/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/32D0F235/case.py: -# 1D -> 1 Fluid(s) -> riemann_solver=1 -> wave_speeds=2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/32D0F235/case.py", - description="tests/32D0F235/case.py: 1D -> 1 Fluid(s) -> riemann_solver=1 -> wave_speeds=2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 2, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/34580912/case.py b/tests/34580912/case.py deleted file mode 100644 index 4df5a7f6b..000000000 --- a/tests/34580912/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/34580912/case.py: -# 1D -> weno_order=5 -> mapped_weno=F -> mp_weno=T - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/34580912/case.py", - description="tests/34580912/case.py: 1D -> weno_order=5 -> mapped_weno=F -> mp_weno=T", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "T", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/345A94C0/case.py b/tests/345A94C0/case.py deleted file mode 100644 index 725167223..000000000 --- a/tests/345A94C0/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/345A94C0/case.py: -# 2D -> 1 Fluid(s) -> riemann_solver=2 -> wave_speeds=2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/345A94C0/case.py", - description="tests/345A94C0/case.py: 2D -> 1 Fluid(s) -> riemann_solver=2 -> wave_speeds=2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 2, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/34DBFE14/case.py b/tests/34DBFE14/case.py deleted file mode 100644 index ec5b0e234..000000000 --- a/tests/34DBFE14/case.py +++ /dev/null @@ -1,161 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/34DBFE14/case.py: -# 2D -> Bubbles -> Monopole -> Polytropic -> bubble_model=3 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/34DBFE14/case.py", - description="tests/34DBFE14/case.py: 2D -> Bubbles -> Monopole -> Polytropic -> bubble_model=3", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "T", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "nb": 3, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556, - "Mono(1)%loc(2)": 0.5 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/361D2A9B/case.py b/tests/361D2A9B/case.py deleted file mode 100644 index 321bb8318..000000000 --- a/tests/361D2A9B/case.py +++ /dev/null @@ -1,161 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/361D2A9B/case.py: -# 2D -> Viscosity -> Bubbles -> bubble_model=2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/361D2A9B/case.py", - description="tests/361D2A9B/case.py: 2D -> Viscosity -> Bubbles -> bubble_model=2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "F", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(1)%Re(1)": 50, - "nb": 1, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/3974AC7B/case.py b/tests/3974AC7B/case.py deleted file mode 100644 index ef3f11c47..000000000 --- a/tests/3974AC7B/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/3974AC7B/case.py: -# 2D -> weno_order=5 -> mapped_weno=F -> mp_weno=F - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/3974AC7B/case.py", - description="tests/3974AC7B/case.py: 2D -> weno_order=5 -> mapped_weno=F -> mp_weno=F", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/3A8359F6/case.py b/tests/3A8359F6/case.py deleted file mode 100644 index e5df97366..000000000 --- a/tests/3A8359F6/case.py +++ /dev/null @@ -1,141 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/3A8359F6/case.py: -# 1D -> 2 Fluid(s) -> riemann_solver=2 -> mixture_err - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/3A8359F6/case.py", - description="tests/3A8359F6/case.py: 1D -> 2 Fluid(s) -> riemann_solver=2 -> mixture_err", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "T", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/3AE495F4/case.py b/tests/3AE495F4/case.py deleted file mode 100644 index 56b8d3262..000000000 --- a/tests/3AE495F4/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/3AE495F4/case.py: -# 1D -> bc=-5 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/3AE495F4/case.py", - description="tests/3AE495F4/case.py: 1D -> bc=-5", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -5, - "bc_x%end": -5, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/3B414AF0/case.py b/tests/3B414AF0/case.py deleted file mode 100644 index 2e9a62302..000000000 --- a/tests/3B414AF0/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/3B414AF0/case.py: -# 2D -> 1 Fluid(s) -> riemann_solver=2 -> mixture_err - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/3B414AF0/case.py", - description="tests/3B414AF0/case.py: 2D -> 1 Fluid(s) -> riemann_solver=2 -> mixture_err", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "T", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/3BFEAC19/case.py b/tests/3BFEAC19/case.py deleted file mode 100644 index 8f926db2c..000000000 --- a/tests/3BFEAC19/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/3BFEAC19/case.py: -# 2D -> 1 Fluid(s) -> riemann_solver=1 -> avg_state=1 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/3BFEAC19/case.py", - description="tests/3BFEAC19/case.py: 2D -> 1 Fluid(s) -> riemann_solver=1 -> avg_state=1", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 1, - "avg_state": 1, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/3C00B89D/case.py b/tests/3C00B89D/case.py deleted file mode 100644 index f66685244..000000000 --- a/tests/3C00B89D/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/3C00B89D/case.py: -# 2D -> 1 Fluid(s) -> riemann_solver=2 -> avg_state=1 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/3C00B89D/case.py", - description="tests/3C00B89D/case.py: 2D -> 1 Fluid(s) -> riemann_solver=2 -> avg_state=1", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 1, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/3FC6FC4A/case.py b/tests/3FC6FC4A/case.py deleted file mode 100644 index 1a3f8d336..000000000 --- a/tests/3FC6FC4A/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/3FC6FC4A/case.py: -# 1D -> bc=-12 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/3FC6FC4A/case.py", - description="tests/3FC6FC4A/case.py: 1D -> bc=-12", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -12, - "bc_x%end": -12, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/4129A23A/case.py b/tests/4129A23A/case.py deleted file mode 100644 index 860956898..000000000 --- a/tests/4129A23A/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/4129A23A/case.py: -# 2D -> bc=-6 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/4129A23A/case.py", - description="tests/4129A23A/case.py: 2D -> bc=-6", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -6, - "bc_x%end": -6, - "bc_y%beg": -6, - "bc_y%end": -6, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/461DCB09/case.py b/tests/461DCB09/case.py deleted file mode 100644 index 87fb38093..000000000 --- a/tests/461DCB09/case.py +++ /dev/null @@ -1,141 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/461DCB09/case.py: -# 1D -> 2 Fluid(s) -> riemann_solver=2 -> wave_speeds=2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/461DCB09/case.py", - description="tests/461DCB09/case.py: 1D -> 2 Fluid(s) -> riemann_solver=2 -> wave_speeds=2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 2, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/46AA7AF8/case.py b/tests/46AA7AF8/case.py deleted file mode 100644 index 8c3202cad..000000000 --- a/tests/46AA7AF8/case.py +++ /dev/null @@ -1,147 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/46AA7AF8/case.py: -# 1D -> Bubbles -> Monopole -> QBMM - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/46AA7AF8/case.py", - description="tests/46AA7AF8/case.py: 1D -> Bubbles -> Monopole -> QBMM", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "T", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "T", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "nb": 3, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/48CCE072/case.py b/tests/48CCE072/case.py deleted file mode 100644 index 72649cee6..000000000 --- a/tests/48CCE072/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/48CCE072/case.py: -# 1D -> bc=-7 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/48CCE072/case.py", - description="tests/48CCE072/case.py: 1D -> bc=-7", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -7, - "bc_x%end": -7, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/4AEF478A/case.py b/tests/4AEF478A/case.py deleted file mode 100644 index 344d04231..000000000 --- a/tests/4AEF478A/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/4AEF478A/case.py: -# 1D -> 1 Fluid(s) -> riemann_solver=1 -> avg_state=1 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/4AEF478A/case.py", - description="tests/4AEF478A/case.py: 1D -> 1 Fluid(s) -> riemann_solver=1 -> avg_state=1", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 1, - "avg_state": 1, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/4D7926CD/case.py b/tests/4D7926CD/case.py deleted file mode 100644 index b04ffbd30..000000000 --- a/tests/4D7926CD/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/4D7926CD/case.py: -# 2D -> bc=-15 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/4D7926CD/case.py", - description="tests/4D7926CD/case.py: 2D -> bc=-15", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -15, - "bc_x%end": -15, - "bc_y%beg": -15, - "bc_y%end": -15, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/4F2F4ACE/case.py b/tests/4F2F4ACE/case.py deleted file mode 100644 index aa16f2190..000000000 --- a/tests/4F2F4ACE/case.py +++ /dev/null @@ -1,154 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/4F2F4ACE/case.py: -# 2D -> 2 Fluid(s) -> riemann_solver=2 -> model_eqns=3 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/4F2F4ACE/case.py", - description="tests/4F2F4ACE/case.py: 2D -> 2 Fluid(s) -> riemann_solver=2 -> model_eqns=3", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 3, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/5010B814/case.py b/tests/5010B814/case.py deleted file mode 100644 index 9d56297d2..000000000 --- a/tests/5010B814/case.py +++ /dev/null @@ -1,159 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/5010B814/case.py: -# 3D -> bc=-6 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/5010B814/case.py", - description="tests/5010B814/case.py: 3D -> bc=-6", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 24, - "n": 24, - "p": 24, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "z_domain%beg": 0.0, - "z_domain%end": 1.0, - "bc_x%beg": -6, - "bc_x%end": -6, - "bc_y%beg": -6, - "bc_y%end": -6, - "bc_z%beg": -6, - "bc_z%end": -6, - "patch_icpp(1)%geometry": 9, - "patch_icpp(1)%z_centroid": 0.05, - "patch_icpp(1)%length_z": 0.1, - "patch_icpp(2)%z_centroid": 0.45, - "patch_icpp(2)%length_z": 0.7, - "patch_icpp(3)%z_centroid": 0.9, - "patch_icpp(3)%length_z": 0.2, - "patch_icpp(1)%y_centroid": 0.5, - "patch_icpp(1)%length_y": 1, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(1)%vel(3)": 0.0, - "patch_icpp(2)%geometry": 9, - "patch_icpp(2)%y_centroid": 0.5, - "patch_icpp(2)%length_y": 1, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(2)%vel(3)": 0.0, - "patch_icpp(3)%geometry": 9, - "patch_icpp(3)%y_centroid": 0.5, - "patch_icpp(3)%length_y": 1, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "patch_icpp(3)%vel(3)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/50A8B1FE/case.py b/tests/50A8B1FE/case.py deleted file mode 100644 index da620478d..000000000 --- a/tests/50A8B1FE/case.py +++ /dev/null @@ -1,147 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/50A8B1FE/case.py: -# 1D -> Bubbles -> Monopole -> QBMM -> Non-polytropic - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/50A8B1FE/case.py", - description="tests/50A8B1FE/case.py: 1D -> Bubbles -> Monopole -> QBMM -> Non-polytropic", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "F", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "T", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "T", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "nb": 3, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/5281BD7B/case.py b/tests/5281BD7B/case.py deleted file mode 100644 index 8a92701f2..000000000 --- a/tests/5281BD7B/case.py +++ /dev/null @@ -1,166 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/5281BD7B/case.py: -# 2D -> Hypoelasticity -> 2 Fluid(s) - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/5281BD7B/case.py", - description="tests/5281BD7B/case.py: 2D -> Hypoelasticity -> 2 Fluid(s)", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1000000.0, - "patch_icpp(1)%alpha_rho(1)": 900.0, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 100000.0, - "patch_icpp(2)%alpha_rho(1)": 100, - "patch_icpp(2)%alpha(1)": 0.1, - "patch_icpp(3)%pres": 500000.0, - "patch_icpp(3)%alpha_rho(1)": 900, - "patch_icpp(3)%alpha(1)": 0.9, - "fluid_pp(1)%gamma": 0.3, - "fluid_pp(1)%pi_inf": 780000.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "hypoelasticity": "T", - "patch_icpp(1)%tau_e(1)": 0.0, - "patch_icpp(2)%tau_e(1)": 0.0, - "patch_icpp(3)%tau_e(1)": 0.0, - "fluid_pp(1)%G": 100000.0, - "fluid_pp(2)%gamma": 0.3, - "fluid_pp(2)%pi_inf": 780000.0, - "patch_icpp(1)%alpha_rho(2)": 100, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 900, - "patch_icpp(2)%alpha(2)": 0.9, - "patch_icpp(3)%alpha_rho(2)": 100, - "patch_icpp(3)%alpha(2)": 0.1, - "fluid_pp(2)%G": 50000.0, - "patch_icpp(1)%tau_e(2)": 0.0, - "patch_icpp(1)%tau_e(3)": 0.0, - "patch_icpp(2)%tau_e(2)": 0.0, - "patch_icpp(2)%tau_e(3)": 0.0, - "patch_icpp(3)%tau_e(2)": 0.0, - "patch_icpp(3)%tau_e(3)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/53E13D19/case.py b/tests/53E13D19/case.py deleted file mode 100644 index 644c9d24d..000000000 --- a/tests/53E13D19/case.py +++ /dev/null @@ -1,148 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/53E13D19/case.py: -# 1D -> Viscosity -> Bubbles -> QBMM -> bubble_model=3 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/53E13D19/case.py", - description="tests/53E13D19/case.py: 1D -> Viscosity -> Bubbles -> QBMM -> bubble_model=3", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "T", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(1)%Re(1)": 50, - "nb": 1, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/5527832F/case.py b/tests/5527832F/case.py deleted file mode 100644 index 8c70c81f6..000000000 --- a/tests/5527832F/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/5527832F/case.py: -# 1D -> 1 Fluid(s) -> riemann_solver=1 -> mixture_err - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/5527832F/case.py", - description="tests/5527832F/case.py: 1D -> 1 Fluid(s) -> riemann_solver=1 -> mixture_err", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "T", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/55533234/case.py b/tests/55533234/case.py deleted file mode 100644 index d468f6c11..000000000 --- a/tests/55533234/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/55533234/case.py: -# 2D -> bc=-1 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/55533234/case.py", - description="tests/55533234/case.py: 2D -> bc=-1", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -1, - "bc_x%end": -1, - "bc_y%beg": -1, - "bc_y%end": -1, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/557FF170/case.py b/tests/557FF170/case.py deleted file mode 100644 index 8a3b8fd2f..000000000 --- a/tests/557FF170/case.py +++ /dev/null @@ -1,159 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/557FF170/case.py: -# 3D -> bc=-11 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/557FF170/case.py", - description="tests/557FF170/case.py: 3D -> bc=-11", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 24, - "n": 24, - "p": 24, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "z_domain%beg": 0.0, - "z_domain%end": 1.0, - "bc_x%beg": -11, - "bc_x%end": -11, - "bc_y%beg": -11, - "bc_y%end": -11, - "bc_z%beg": -11, - "bc_z%end": -11, - "patch_icpp(1)%geometry": 9, - "patch_icpp(1)%z_centroid": 0.05, - "patch_icpp(1)%length_z": 0.1, - "patch_icpp(2)%z_centroid": 0.45, - "patch_icpp(2)%length_z": 0.7, - "patch_icpp(3)%z_centroid": 0.9, - "patch_icpp(3)%length_z": 0.2, - "patch_icpp(1)%y_centroid": 0.5, - "patch_icpp(1)%length_y": 1, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(1)%vel(3)": 0.0, - "patch_icpp(2)%geometry": 9, - "patch_icpp(2)%y_centroid": 0.5, - "patch_icpp(2)%length_y": 1, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(2)%vel(3)": 0.0, - "patch_icpp(3)%geometry": 9, - "patch_icpp(3)%y_centroid": 0.5, - "patch_icpp(3)%length_y": 1, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "patch_icpp(3)%vel(3)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/5781A4C2/case.py b/tests/5781A4C2/case.py deleted file mode 100644 index 5dc19d5c0..000000000 --- a/tests/5781A4C2/case.py +++ /dev/null @@ -1,154 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/5781A4C2/case.py: -# 2D -> 2 Fluid(s) -> riemann_solver=2 -> mixture_err - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/5781A4C2/case.py", - description="tests/5781A4C2/case.py: 2D -> 2 Fluid(s) -> riemann_solver=2 -> mixture_err", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "T", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/59B127EF/case.py b/tests/59B127EF/case.py deleted file mode 100644 index c56191410..000000000 --- a/tests/59B127EF/case.py +++ /dev/null @@ -1,149 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/59B127EF/case.py: -# 2D -> 1 Fluid(s) -> Viscous -> weno_Re_flux -> weno_avg - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/59B127EF/case.py", - description="tests/59B127EF/case.py: 2D -> 1 Fluid(s) -> Viscous -> weno_Re_flux -> weno_avg", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-11, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 1.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(1)%Re(1)": 0.0001, - "weno_Re_flux": "T", - "weno_avg": "T" -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/59D05DE9/case.py b/tests/59D05DE9/case.py deleted file mode 100644 index 0874eefa5..000000000 --- a/tests/59D05DE9/case.py +++ /dev/null @@ -1,147 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/59D05DE9/case.py: -# 1D -> Bubbles -> Monopole -> nb=1 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/59D05DE9/case.py", - description="tests/59D05DE9/case.py: 1D -> Bubbles -> Monopole -> nb=1", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "T", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "nb": 1, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/5DAB50B2/case.py b/tests/5DAB50B2/case.py deleted file mode 100644 index 85f08cd26..000000000 --- a/tests/5DAB50B2/case.py +++ /dev/null @@ -1,154 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/5DAB50B2/case.py: -# 2D -> 2 Fluid(s) -> riemann_solver=2 -> alt_soundspeed - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/5DAB50B2/case.py", - description="tests/5DAB50B2/case.py: 2D -> 2 Fluid(s) -> riemann_solver=2 -> alt_soundspeed", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "T", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/5E2265C4/case.py b/tests/5E2265C4/case.py deleted file mode 100644 index 6cd69e6c5..000000000 --- a/tests/5E2265C4/case.py +++ /dev/null @@ -1,148 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/5E2265C4/case.py: -# 1D -> Viscosity -> Bubbles -> Polytropic -> bubble_model=3 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/5E2265C4/case.py", - description="tests/5E2265C4/case.py: 1D -> Viscosity -> Bubbles -> Polytropic -> bubble_model=3", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(1)%Re(1)": 50, - "nb": 1, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/5E454E32/case.py b/tests/5E454E32/case.py deleted file mode 100644 index 101eda554..000000000 --- a/tests/5E454E32/case.py +++ /dev/null @@ -1,160 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/5E454E32/case.py: -# 2D -> 2 Fluid(s) -> Viscous -> weno_Re_flux -> weno_avg - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/5E454E32/case.py", - description="tests/5E454E32/case.py: 2D -> 2 Fluid(s) -> Viscous -> weno_Re_flux -> weno_avg", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-11, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 1.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8, - "fluid_pp(1)%Re(1)": 0.001, - "fluid_pp(1)%Re(2)": 0.001, - "fluid_pp(2)%Re(1)": 0.001, - "fluid_pp(2)%Re(2)": 0.001, - "weno_Re_flux": "T", - "weno_avg": "T" -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/5EC236F2/case.py b/tests/5EC236F2/case.py deleted file mode 100644 index 0958071cb..000000000 --- a/tests/5EC236F2/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/5EC236F2/case.py: -# 1D -> bc=-6 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/5EC236F2/case.py", - description="tests/5EC236F2/case.py: 1D -> bc=-6", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -6, - "bc_x%end": -6, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/5F877BC9/case.py b/tests/5F877BC9/case.py deleted file mode 100644 index b952c531e..000000000 --- a/tests/5F877BC9/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/5F877BC9/case.py: -# 2D -> bc=-8 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/5F877BC9/case.py", - description="tests/5F877BC9/case.py: 2D -> bc=-8", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -8, - "bc_x%end": -8, - "bc_y%beg": -8, - "bc_y%end": -8, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/61FFF3D3/case.py b/tests/61FFF3D3/case.py deleted file mode 100644 index 4639cf1a7..000000000 --- a/tests/61FFF3D3/case.py +++ /dev/null @@ -1,159 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/61FFF3D3/case.py: -# 3D -> bc=-12 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/61FFF3D3/case.py", - description="tests/61FFF3D3/case.py: 3D -> bc=-12", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 24, - "n": 24, - "p": 24, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "z_domain%beg": 0.0, - "z_domain%end": 1.0, - "bc_x%beg": -12, - "bc_x%end": -12, - "bc_y%beg": -12, - "bc_y%end": -12, - "bc_z%beg": -12, - "bc_z%end": -12, - "patch_icpp(1)%geometry": 9, - "patch_icpp(1)%z_centroid": 0.05, - "patch_icpp(1)%length_z": 0.1, - "patch_icpp(2)%z_centroid": 0.45, - "patch_icpp(2)%length_z": 0.7, - "patch_icpp(3)%z_centroid": 0.9, - "patch_icpp(3)%length_z": 0.2, - "patch_icpp(1)%y_centroid": 0.5, - "patch_icpp(1)%length_y": 1, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(1)%vel(3)": 0.0, - "patch_icpp(2)%geometry": 9, - "patch_icpp(2)%y_centroid": 0.5, - "patch_icpp(2)%length_y": 1, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(2)%vel(3)": 0.0, - "patch_icpp(3)%geometry": 9, - "patch_icpp(3)%y_centroid": 0.5, - "patch_icpp(3)%length_y": 1, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "patch_icpp(3)%vel(3)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/645A26E3/case.py b/tests/645A26E3/case.py deleted file mode 100644 index 1a4952387..000000000 --- a/tests/645A26E3/case.py +++ /dev/null @@ -1,154 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/645A26E3/case.py: -# 2D -> 2 Fluid(s) -> riemann_solver=2 -> avg_state=1 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/645A26E3/case.py", - description="tests/645A26E3/case.py: 2D -> 2 Fluid(s) -> riemann_solver=2 -> avg_state=1", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 1, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/66CFF8CC/case.py b/tests/66CFF8CC/case.py deleted file mode 100644 index 8376fc1ef..000000000 --- a/tests/66CFF8CC/case.py +++ /dev/null @@ -1,161 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/66CFF8CC/case.py: -# 2D -> Bubbles -> Monopole -> QBMM -> bubble_model=3 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/66CFF8CC/case.py", - description="tests/66CFF8CC/case.py: 2D -> Bubbles -> Monopole -> QBMM -> bubble_model=3", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "T", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "T", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "nb": 3, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556, - "Mono(1)%loc(2)": 0.5 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/6784C02E/case.py b/tests/6784C02E/case.py deleted file mode 100644 index d188a30dc..000000000 --- a/tests/6784C02E/case.py +++ /dev/null @@ -1,148 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/6784C02E/case.py: -# 1D -> Viscosity -> Bubbles -> QBMM - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/6784C02E/case.py", - description="tests/6784C02E/case.py: 1D -> Viscosity -> Bubbles -> QBMM", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "T", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(1)%Re(1)": 50, - "nb": 1, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/6B22A317/case.py b/tests/6B22A317/case.py deleted file mode 100644 index cfd1de476..000000000 --- a/tests/6B22A317/case.py +++ /dev/null @@ -1,147 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/6B22A317/case.py: -# 1D -> Bubbles -> Monopole -> bubble_model=2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/6B22A317/case.py", - description="tests/6B22A317/case.py: 1D -> Bubbles -> Monopole -> bubble_model=2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "F", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "T", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "nb": 3, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/6D24B115/case.py b/tests/6D24B115/case.py deleted file mode 100644 index 07cca224c..000000000 --- a/tests/6D24B115/case.py +++ /dev/null @@ -1,141 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/6D24B115/case.py: -# 1D -> 2 Fluid(s) -> riemann_solver=2 -> avg_state=1 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/6D24B115/case.py", - description="tests/6D24B115/case.py: 1D -> 2 Fluid(s) -> riemann_solver=2 -> avg_state=1", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 1, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/6F296065/case.py b/tests/6F296065/case.py deleted file mode 100644 index 60e65e2ec..000000000 --- a/tests/6F296065/case.py +++ /dev/null @@ -1,172 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/6F296065/case.py: -# 2D -> Phase Change model 5 -> 3 Fluid(s) - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/6F296065/case.py", - description="tests/6F296065/case.py: 2D -> Phase Change model 5 -> 3 Fluid(s)", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 3, - "alt_soundspeed": "F", - "num_fluids": 3, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 437550.0, - "patch_icpp(1)%alpha_rho(1)": 0.008406131093, - "patch_icpp(1)%alpha(1)": 8.7149e-06, - "patch_icpp(2)%pres": 96602.0, - "patch_icpp(2)%alpha_rho(1)": 0.040265879299999995, - "patch_icpp(2)%alpha(1)": 3.6749e-05, - "patch_icpp(3)%pres": 96602.0, - "patch_icpp(3)%alpha_rho(1)": 0.040265879299999995, - "patch_icpp(3)%alpha(1)": 3.6749e-05, - "fluid_pp(1)%gamma": 0.7409, - "fluid_pp(1)%pi_inf": 1740900000.0, - "fluid_pp(1)%cv": 1816, - "fluid_pp(1)%qv": -1167000, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 606.15, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 10.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 10.0, - "relax": "T", - "relax_model": 5, - "palpha_eps": 0.01, - "ptgalpha_eps": 0.01, - "fluid_pp(2)%gamma": 2.3266, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(2)%cv": 1040, - "fluid_pp(2)%qv": 2030000, - "fluid_pp(2)%qvp": -23400, - "patch_icpp(1)%alpha(2)": 0.025893, - "patch_icpp(1)%alpha_rho(2)": 0.059895687600000004, - "patch_icpp(2)%alpha(2)": 0.028728, - "patch_icpp(2)%alpha_rho(2)": 0.016670858400000002, - "patch_icpp(3)%alpha(2)": 0.028728, - "patch_icpp(3)%alpha_rho(2)": 0.016670858400000002, - "fluid_pp(3)%gamma": 2.487, - "fluid_pp(3)%pi_inf": 0.0, - "fluid_pp(3)%cv": 717.5, - "fluid_pp(3)%qv": 0.0, - "fluid_pp(3)%qvp": 0.0, - "patch_icpp(1)%alpha(3)": 0.9740982851, - "patch_icpp(1)%alpha_rho(3)": 3.4911682537984, - "patch_icpp(2)%alpha(3)": 0.9712352510000001, - "patch_icpp(2)%alpha_rho(3)": 0.8732376141741001, - "patch_icpp(3)%alpha(3)": 0.9712352510000001, - "patch_icpp(3)%alpha_rho(3)": 0.8732376141741001 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/6FC6A809/case.py b/tests/6FC6A809/case.py deleted file mode 100644 index 92ce7164b..000000000 --- a/tests/6FC6A809/case.py +++ /dev/null @@ -1,159 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/6FC6A809/case.py: -# 3D -> bc=-1 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/6FC6A809/case.py", - description="tests/6FC6A809/case.py: 3D -> bc=-1", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 24, - "n": 24, - "p": 24, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "z_domain%beg": 0.0, - "z_domain%end": 1.0, - "bc_x%beg": -1, - "bc_x%end": -1, - "bc_y%beg": -1, - "bc_y%end": -1, - "bc_z%beg": -1, - "bc_z%end": -1, - "patch_icpp(1)%geometry": 9, - "patch_icpp(1)%z_centroid": 0.05, - "patch_icpp(1)%length_z": 0.1, - "patch_icpp(2)%z_centroid": 0.45, - "patch_icpp(2)%length_z": 0.7, - "patch_icpp(3)%z_centroid": 0.9, - "patch_icpp(3)%length_z": 0.2, - "patch_icpp(1)%y_centroid": 0.5, - "patch_icpp(1)%length_y": 1, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(1)%vel(3)": 0.0, - "patch_icpp(2)%geometry": 9, - "patch_icpp(2)%y_centroid": 0.5, - "patch_icpp(2)%length_y": 1, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(2)%vel(3)": 0.0, - "patch_icpp(3)%geometry": 9, - "patch_icpp(3)%y_centroid": 0.5, - "patch_icpp(3)%length_y": 1, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "patch_icpp(3)%vel(3)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/7077C99F/case.py b/tests/7077C99F/case.py deleted file mode 100644 index a13916da1..000000000 --- a/tests/7077C99F/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/7077C99F/case.py: -# 1D -> weno_order=3 -> mapped_weno=T -> mp_weno=F - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/7077C99F/case.py", - description="tests/7077C99F/case.py: 1D -> weno_order=3 -> mapped_weno=T -> mp_weno=F", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 3, - "weno_eps": 1e-16, - "mapped_weno": "T", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/70DAE9E8/case.py b/tests/70DAE9E8/case.py deleted file mode 100644 index dd36a0ff3..000000000 --- a/tests/70DAE9E8/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/70DAE9E8/case.py: -# 1D -> bc=-4 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/70DAE9E8/case.py", - description="tests/70DAE9E8/case.py: 1D -> bc=-4", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -4, - "bc_x%end": -4, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/727F72ED/case.py b/tests/727F72ED/case.py deleted file mode 100644 index e77aa942e..000000000 --- a/tests/727F72ED/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/727F72ED/case.py: -# 1D -> bc=-10 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/727F72ED/case.py", - description="tests/727F72ED/case.py: 1D -> bc=-10", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -10, - "bc_x%end": -10, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/729A4333/case.py b/tests/729A4333/case.py deleted file mode 100644 index ad6bb9047..000000000 --- a/tests/729A4333/case.py +++ /dev/null @@ -1,148 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/729A4333/case.py: -# 1D -> Viscosity -> Bubbles -> nb=1 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/729A4333/case.py", - description="tests/729A4333/case.py: 1D -> Viscosity -> Bubbles -> nb=1", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(1)%Re(1)": 50, - "nb": 1, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/730DFD6D/case.py b/tests/730DFD6D/case.py deleted file mode 100644 index b20ba63e8..000000000 --- a/tests/730DFD6D/case.py +++ /dev/null @@ -1,159 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/730DFD6D/case.py: -# 3D -> bc=-7 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/730DFD6D/case.py", - description="tests/730DFD6D/case.py: 3D -> bc=-7", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 24, - "n": 24, - "p": 24, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "z_domain%beg": 0.0, - "z_domain%end": 1.0, - "bc_x%beg": -7, - "bc_x%end": -7, - "bc_y%beg": -7, - "bc_y%end": -7, - "bc_z%beg": -7, - "bc_z%end": -7, - "patch_icpp(1)%geometry": 9, - "patch_icpp(1)%z_centroid": 0.05, - "patch_icpp(1)%length_z": 0.1, - "patch_icpp(2)%z_centroid": 0.45, - "patch_icpp(2)%length_z": 0.7, - "patch_icpp(3)%z_centroid": 0.9, - "patch_icpp(3)%length_z": 0.2, - "patch_icpp(1)%y_centroid": 0.5, - "patch_icpp(1)%length_y": 1, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(1)%vel(3)": 0.0, - "patch_icpp(2)%geometry": 9, - "patch_icpp(2)%y_centroid": 0.5, - "patch_icpp(2)%length_y": 1, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(2)%vel(3)": 0.0, - "patch_icpp(3)%geometry": 9, - "patch_icpp(3)%y_centroid": 0.5, - "patch_icpp(3)%length_y": 1, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "patch_icpp(3)%vel(3)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/7374E266/case.py b/tests/7374E266/case.py deleted file mode 100644 index 1c728b859..000000000 --- a/tests/7374E266/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/7374E266/case.py: -# 2D -> 1 Fluid(s) -> riemann_solver=1 -> mixture_err - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/7374E266/case.py", - description="tests/7374E266/case.py: 2D -> 1 Fluid(s) -> riemann_solver=1 -> mixture_err", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "T", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/786DE444/case.py b/tests/786DE444/case.py deleted file mode 100644 index 632d72a0a..000000000 --- a/tests/786DE444/case.py +++ /dev/null @@ -1,159 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/786DE444/case.py: -# 1D -> Phase Change model 6 -> 3 Fluid(s) - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/786DE444/case.py", - description="tests/786DE444/case.py: 1D -> Phase Change model 6 -> 3 Fluid(s)", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 3, - "alt_soundspeed": "F", - "num_fluids": 3, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 437550.0, - "patch_icpp(1)%alpha_rho(1)": 0.008406131093, - "patch_icpp(1)%alpha(1)": 8.7149e-06, - "patch_icpp(2)%pres": 96602.0, - "patch_icpp(2)%alpha_rho(1)": 0.040265879299999995, - "patch_icpp(2)%alpha(1)": 3.6749e-05, - "patch_icpp(3)%pres": 96602.0, - "patch_icpp(3)%alpha_rho(1)": 0.040265879299999995, - "patch_icpp(3)%alpha(1)": 3.6749e-05, - "fluid_pp(1)%gamma": 0.7409, - "fluid_pp(1)%pi_inf": 1740900000.0, - "fluid_pp(1)%cv": 1816, - "fluid_pp(1)%qv": -1167000, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 606.15, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 10.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 10.0, - "relax": "T", - "relax_model": 6, - "palpha_eps": 0.01, - "ptgalpha_eps": 0.01, - "fluid_pp(2)%gamma": 2.3266, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(2)%cv": 1040, - "fluid_pp(2)%qv": 2030000, - "fluid_pp(2)%qvp": -23400, - "patch_icpp(1)%alpha(2)": 0.025893, - "patch_icpp(1)%alpha_rho(2)": 0.059895687600000004, - "patch_icpp(2)%alpha(2)": 0.028728, - "patch_icpp(2)%alpha_rho(2)": 0.016670858400000002, - "patch_icpp(3)%alpha(2)": 0.028728, - "patch_icpp(3)%alpha_rho(2)": 0.016670858400000002, - "fluid_pp(3)%gamma": 2.487, - "fluid_pp(3)%pi_inf": 0.0, - "fluid_pp(3)%cv": 717.5, - "fluid_pp(3)%qv": 0.0, - "fluid_pp(3)%qvp": 0.0, - "patch_icpp(1)%alpha(3)": 0.9740982851, - "patch_icpp(1)%alpha_rho(3)": 3.4911682537984, - "patch_icpp(2)%alpha(3)": 0.9712352510000001, - "patch_icpp(2)%alpha_rho(3)": 0.8732376141741001, - "patch_icpp(3)%alpha(3)": 0.9712352510000001, - "patch_icpp(3)%alpha_rho(3)": 0.8732376141741001 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/7FC6826B/case.py b/tests/7FC6826B/case.py deleted file mode 100644 index 29bc448e1..000000000 --- a/tests/7FC6826B/case.py +++ /dev/null @@ -1,147 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/7FC6826B/case.py: -# 1D -> Bubbles -> Monopole -> Polytropic -> bubble_model=2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/7FC6826B/case.py", - description="tests/7FC6826B/case.py: 1D -> Bubbles -> Monopole -> Polytropic -> bubble_model=2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "T", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "nb": 3, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/83291843/case.py b/tests/83291843/case.py deleted file mode 100644 index ac303460c..000000000 --- a/tests/83291843/case.py +++ /dev/null @@ -1,161 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/83291843/case.py: -# 2D -> Viscosity -> Bubbles -> QBMM -> bubble_model=3 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/83291843/case.py", - description="tests/83291843/case.py: 2D -> Viscosity -> Bubbles -> QBMM -> bubble_model=3", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "T", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(1)%Re(1)": 50, - "nb": 1, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/8360C26B/case.py b/tests/8360C26B/case.py deleted file mode 100644 index 14510752a..000000000 --- a/tests/8360C26B/case.py +++ /dev/null @@ -1,161 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/8360C26B/case.py: -# 2D -> Viscosity -> Bubbles -> nb=1 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/8360C26B/case.py", - description="tests/8360C26B/case.py: 2D -> Viscosity -> Bubbles -> nb=1", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(1)%Re(1)": 50, - "nb": 1, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/83EFC30C/case.py b/tests/83EFC30C/case.py deleted file mode 100644 index 29500e655..000000000 --- a/tests/83EFC30C/case.py +++ /dev/null @@ -1,141 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/83EFC30C/case.py: -# 1D -> 2 Fluid(s) -> riemann_solver=1 -> wave_speeds=2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/83EFC30C/case.py", - description="tests/83EFC30C/case.py: 1D -> 2 Fluid(s) -> riemann_solver=1 -> wave_speeds=2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 2, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/84017671/case.py b/tests/84017671/case.py deleted file mode 100644 index 41ac7a424..000000000 --- a/tests/84017671/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/84017671/case.py: -# 1D -> weno_order=5 -> mapped_weno=F -> mp_weno=F - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/84017671/case.py", - description="tests/84017671/case.py: 1D -> weno_order=5 -> mapped_weno=F -> mp_weno=F", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/842C6FFC/case.py b/tests/842C6FFC/case.py deleted file mode 100644 index fce767cff..000000000 --- a/tests/842C6FFC/case.py +++ /dev/null @@ -1,148 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/842C6FFC/case.py: -# 1D -> Phase Change model 6 -> 2 Fluid(s) - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/842C6FFC/case.py", - description="tests/842C6FFC/case.py: 1D -> Phase Change model 6 -> 2 Fluid(s)", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 3, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 437550.0, - "patch_icpp(1)%alpha_rho(1)": 0.008406131093, - "patch_icpp(1)%alpha(1)": 8.7149e-06, - "patch_icpp(2)%pres": 96602.0, - "patch_icpp(2)%alpha_rho(1)": 0.040265879299999995, - "patch_icpp(2)%alpha(1)": 3.6749e-05, - "patch_icpp(3)%pres": 96602.0, - "patch_icpp(3)%alpha_rho(1)": 0.040265879299999995, - "patch_icpp(3)%alpha(1)": 3.6749e-05, - "fluid_pp(1)%gamma": 0.7409, - "fluid_pp(1)%pi_inf": 1740900000.0, - "fluid_pp(1)%cv": 1816, - "fluid_pp(1)%qv": -1167000, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 606.15, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 10.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 10.0, - "relax": "T", - "relax_model": 6, - "palpha_eps": 0.01, - "ptgalpha_eps": 0.01, - "fluid_pp(2)%gamma": 2.3266, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(2)%cv": 1040, - "fluid_pp(2)%qv": 2030000, - "fluid_pp(2)%qvp": -23400, - "patch_icpp(1)%alpha(2)": 0.9999912851, - "patch_icpp(1)%alpha_rho(2)": 2.31317984069332, - "patch_icpp(2)%alpha(2)": 0.999963251, - "patch_icpp(2)%alpha_rho(2)": 0.5802786745553, - "patch_icpp(3)%alpha(2)": 0.999963251, - "patch_icpp(3)%alpha_rho(2)": 0.5802786745553 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/8A59E8E6/case.py b/tests/8A59E8E6/case.py deleted file mode 100644 index ef709eebb..000000000 --- a/tests/8A59E8E6/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/8A59E8E6/case.py: -# 1D -> bc=-2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/8A59E8E6/case.py", - description="tests/8A59E8E6/case.py: 1D -> bc=-2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -2, - "bc_x%end": -2, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/8C7AA13B/case.py b/tests/8C7AA13B/case.py deleted file mode 100644 index cf0d2c3d3..000000000 --- a/tests/8C7AA13B/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/8C7AA13B/case.py: -# 2D -> 2 MPI Ranks - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/8C7AA13B/case.py", - description="tests/8C7AA13B/case.py: 2D -> 2 MPI Ranks", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/8E3D99E6/case.py b/tests/8E3D99E6/case.py deleted file mode 100644 index 5117f5131..000000000 --- a/tests/8E3D99E6/case.py +++ /dev/null @@ -1,135 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/8E3D99E6/case.py: -# 1D -> 1 Fluid(s) -> Viscous -> weno_Re_flux - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/8E3D99E6/case.py", - description="tests/8E3D99E6/case.py: 1D -> 1 Fluid(s) -> Viscous -> weno_Re_flux", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-11, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 1.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(1)%Re(1)": 0.0001, - "weno_Re_flux": "T" -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/8EAC3DA7/case.py b/tests/8EAC3DA7/case.py deleted file mode 100644 index c505f54b0..000000000 --- a/tests/8EAC3DA7/case.py +++ /dev/null @@ -1,135 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/8EAC3DA7/case.py: -# 1D -> 1 Fluid(s) -> Viscous - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/8EAC3DA7/case.py", - description="tests/8EAC3DA7/case.py: 1D -> 1 Fluid(s) -> Viscous", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-11, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 1.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(1)%Re(1)": 0.0001, - "weno_Re_flux": "F" -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/8FDEE23A/case.py b/tests/8FDEE23A/case.py deleted file mode 100644 index 624ba9327..000000000 --- a/tests/8FDEE23A/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/8FDEE23A/case.py: -# 2D -> bc=-11 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/8FDEE23A/case.py", - description="tests/8FDEE23A/case.py: 2D -> bc=-11", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -11, - "bc_x%end": -11, - "bc_y%beg": -11, - "bc_y%end": -11, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/9465D0F5/case.py b/tests/9465D0F5/case.py deleted file mode 100644 index c8a182c34..000000000 --- a/tests/9465D0F5/case.py +++ /dev/null @@ -1,148 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/9465D0F5/case.py: -# 1D -> Viscosity -> Bubbles -> Polytropic -> bubble_model=2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/9465D0F5/case.py", - description="tests/9465D0F5/case.py: 1D -> Viscosity -> Bubbles -> Polytropic -> bubble_model=2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(1)%Re(1)": 50, - "nb": 1, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/98081DA3/case.py b/tests/98081DA3/case.py deleted file mode 100644 index d87e2e4a7..000000000 --- a/tests/98081DA3/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/98081DA3/case.py: -# 2D -> bc=-16 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/98081DA3/case.py", - description="tests/98081DA3/case.py: 2D -> bc=-16", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -16, - "bc_x%end": -16, - "bc_y%beg": -16, - "bc_y%end": -16, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/9CB03CEF/case.py b/tests/9CB03CEF/case.py deleted file mode 100644 index 7ace2ee4b..000000000 --- a/tests/9CB03CEF/case.py +++ /dev/null @@ -1,159 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/9CB03CEF/case.py: -# 2D -> 2 Fluid(s) -> Viscous - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/9CB03CEF/case.py", - description="tests/9CB03CEF/case.py: 2D -> 2 Fluid(s) -> Viscous", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-11, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 1.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8, - "fluid_pp(1)%Re(1)": 0.001, - "fluid_pp(1)%Re(2)": 0.001, - "fluid_pp(2)%Re(1)": 0.001, - "fluid_pp(2)%Re(2)": 0.001, - "weno_Re_flux": "F" -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/9DAC4DDC/case.py b/tests/9DAC4DDC/case.py deleted file mode 100644 index f7b5c2306..000000000 --- a/tests/9DAC4DDC/case.py +++ /dev/null @@ -1,141 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/9DAC4DDC/case.py: -# 1D -> 2 Fluid(s) -> riemann_solver=2 -> alt_soundspeed - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/9DAC4DDC/case.py", - description="tests/9DAC4DDC/case.py: 1D -> 2 Fluid(s) -> riemann_solver=2 -> alt_soundspeed", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "T", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/9EB947DB/case.py b/tests/9EB947DB/case.py deleted file mode 100644 index 0f6081d2f..000000000 --- a/tests/9EB947DB/case.py +++ /dev/null @@ -1,138 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/9EB947DB/case.py: -# 1D -> Hypoelasticity -> 1 Fluid(s) - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/9EB947DB/case.py", - description="tests/9EB947DB/case.py: 1D -> Hypoelasticity -> 1 Fluid(s)", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1000000.0, - "patch_icpp(1)%alpha_rho(1)": 1000.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 100000.0, - "patch_icpp(2)%alpha_rho(1)": 1000.0, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 500000.0, - "patch_icpp(3)%alpha_rho(1)": 1000.0, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 0.3, - "fluid_pp(1)%pi_inf": 780000.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "hypoelasticity": "T", - "patch_icpp(1)%tau_e(1)": 0.0, - "patch_icpp(2)%tau_e(1)": 0.0, - "patch_icpp(3)%tau_e(1)": 0.0, - "fluid_pp(1)%G": 100000.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/9EF19F0A/case.py b/tests/9EF19F0A/case.py deleted file mode 100644 index be830863c..000000000 --- a/tests/9EF19F0A/case.py +++ /dev/null @@ -1,159 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/9EF19F0A/case.py: -# 1D -> Phase Change model 5 -> 3 Fluid(s) - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/9EF19F0A/case.py", - description="tests/9EF19F0A/case.py: 1D -> Phase Change model 5 -> 3 Fluid(s)", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 3, - "alt_soundspeed": "F", - "num_fluids": 3, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 437550.0, - "patch_icpp(1)%alpha_rho(1)": 0.008406131093, - "patch_icpp(1)%alpha(1)": 8.7149e-06, - "patch_icpp(2)%pres": 96602.0, - "patch_icpp(2)%alpha_rho(1)": 0.040265879299999995, - "patch_icpp(2)%alpha(1)": 3.6749e-05, - "patch_icpp(3)%pres": 96602.0, - "patch_icpp(3)%alpha_rho(1)": 0.040265879299999995, - "patch_icpp(3)%alpha(1)": 3.6749e-05, - "fluid_pp(1)%gamma": 0.7409, - "fluid_pp(1)%pi_inf": 1740900000.0, - "fluid_pp(1)%cv": 1816, - "fluid_pp(1)%qv": -1167000, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 606.15, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 10.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 10.0, - "relax": "T", - "relax_model": 5, - "palpha_eps": 0.01, - "ptgalpha_eps": 0.01, - "fluid_pp(2)%gamma": 2.3266, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(2)%cv": 1040, - "fluid_pp(2)%qv": 2030000, - "fluid_pp(2)%qvp": -23400, - "patch_icpp(1)%alpha(2)": 0.025893, - "patch_icpp(1)%alpha_rho(2)": 0.059895687600000004, - "patch_icpp(2)%alpha(2)": 0.028728, - "patch_icpp(2)%alpha_rho(2)": 0.016670858400000002, - "patch_icpp(3)%alpha(2)": 0.028728, - "patch_icpp(3)%alpha_rho(2)": 0.016670858400000002, - "fluid_pp(3)%gamma": 2.487, - "fluid_pp(3)%pi_inf": 0.0, - "fluid_pp(3)%cv": 717.5, - "fluid_pp(3)%qv": 0.0, - "fluid_pp(3)%qvp": 0.0, - "patch_icpp(1)%alpha(3)": 0.9740982851, - "patch_icpp(1)%alpha_rho(3)": 3.4911682537984, - "patch_icpp(2)%alpha(3)": 0.9712352510000001, - "patch_icpp(2)%alpha_rho(3)": 0.8732376141741001, - "patch_icpp(3)%alpha(3)": 0.9712352510000001, - "patch_icpp(3)%alpha_rho(3)": 0.8732376141741001 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/9F3B58E7/case.py b/tests/9F3B58E7/case.py deleted file mode 100644 index ec5714ff3..000000000 --- a/tests/9F3B58E7/case.py +++ /dev/null @@ -1,161 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/9F3B58E7/case.py: -# 2D -> Viscosity -> Bubbles -> Polytropic -> bubble_model=2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/9F3B58E7/case.py", - description="tests/9F3B58E7/case.py: 2D -> Viscosity -> Bubbles -> Polytropic -> bubble_model=2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(1)%Re(1)": 50, - "nb": 1, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/A5C93D62/case.py b/tests/A5C93D62/case.py deleted file mode 100644 index 9220e7c01..000000000 --- a/tests/A5C93D62/case.py +++ /dev/null @@ -1,154 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/A5C93D62/case.py: -# 2D -> 2 Fluid(s) -> riemann_solver=1 -> wave_speeds=2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/A5C93D62/case.py", - description="tests/A5C93D62/case.py: 2D -> 2 Fluid(s) -> riemann_solver=1 -> wave_speeds=2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 2, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/A60691E7/case.py b/tests/A60691E7/case.py deleted file mode 100644 index f6176ff0a..000000000 --- a/tests/A60691E7/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/A60691E7/case.py: -# 1D -> bc=-11 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/A60691E7/case.py", - description="tests/A60691E7/case.py: 1D -> bc=-11", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -11, - "bc_x%end": -11, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/A6AC2E06/case.py b/tests/A6AC2E06/case.py deleted file mode 100644 index 3cf9e3069..000000000 --- a/tests/A6AC2E06/case.py +++ /dev/null @@ -1,154 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/A6AC2E06/case.py: -# 2D -> 2 Fluid(s) -> riemann_solver=1 -> mpp_lim - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/A6AC2E06/case.py", - description="tests/A6AC2E06/case.py: 2D -> 2 Fluid(s) -> riemann_solver=1 -> mpp_lim", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "T", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/A6E65782/case.py b/tests/A6E65782/case.py deleted file mode 100644 index d964b65a6..000000000 --- a/tests/A6E65782/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/A6E65782/case.py: -# 2D -> bc=-5 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/A6E65782/case.py", - description="tests/A6E65782/case.py: 2D -> bc=-5", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -5, - "bc_x%end": -5, - "bc_y%beg": -5, - "bc_y%end": -5, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/A6EEAE2D/case.py b/tests/A6EEAE2D/case.py deleted file mode 100644 index 6747f1615..000000000 --- a/tests/A6EEAE2D/case.py +++ /dev/null @@ -1,161 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/A6EEAE2D/case.py: -# 2D -> Bubbles -> Monopole -> QBMM -> bubble_model=3 -> Non-polytropic - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/A6EEAE2D/case.py", - description="tests/A6EEAE2D/case.py: 2D -> Bubbles -> Monopole -> QBMM -> bubble_model=3 -> Non-polytropic", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "F", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "T", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "T", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "nb": 3, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556, - "Mono(1)%loc(2)": 0.5 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/A83CADB5/case.py b/tests/A83CADB5/case.py deleted file mode 100644 index 3e7a75f64..000000000 --- a/tests/A83CADB5/case.py +++ /dev/null @@ -1,148 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/A83CADB5/case.py: -# 1D -> Phase Change model 5 -> 2 Fluid(s) - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/A83CADB5/case.py", - description="tests/A83CADB5/case.py: 1D -> Phase Change model 5 -> 2 Fluid(s)", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 3, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 437550.0, - "patch_icpp(1)%alpha_rho(1)": 0.008406131093, - "patch_icpp(1)%alpha(1)": 8.7149e-06, - "patch_icpp(2)%pres": 96602.0, - "patch_icpp(2)%alpha_rho(1)": 0.040265879299999995, - "patch_icpp(2)%alpha(1)": 3.6749e-05, - "patch_icpp(3)%pres": 96602.0, - "patch_icpp(3)%alpha_rho(1)": 0.040265879299999995, - "patch_icpp(3)%alpha(1)": 3.6749e-05, - "fluid_pp(1)%gamma": 0.7409, - "fluid_pp(1)%pi_inf": 1740900000.0, - "fluid_pp(1)%cv": 1816, - "fluid_pp(1)%qv": -1167000, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 606.15, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 10.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 10.0, - "relax": "T", - "relax_model": 5, - "palpha_eps": 0.01, - "ptgalpha_eps": 0.01, - "fluid_pp(2)%gamma": 2.3266, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(2)%cv": 1040, - "fluid_pp(2)%qv": 2030000, - "fluid_pp(2)%qvp": -23400, - "patch_icpp(1)%alpha(2)": 0.9999912851, - "patch_icpp(1)%alpha_rho(2)": 2.31317984069332, - "patch_icpp(2)%alpha(2)": 0.999963251, - "patch_icpp(2)%alpha_rho(2)": 0.5802786745553, - "patch_icpp(3)%alpha(2)": 0.999963251, - "patch_icpp(3)%alpha_rho(2)": 0.5802786745553 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/ABAC3AE3/case.py b/tests/ABAC3AE3/case.py deleted file mode 100644 index 4ffbcd1d1..000000000 --- a/tests/ABAC3AE3/case.py +++ /dev/null @@ -1,159 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/ABAC3AE3/case.py: -# 3D -> bc=-8 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/ABAC3AE3/case.py", - description="tests/ABAC3AE3/case.py: 3D -> bc=-8", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 24, - "n": 24, - "p": 24, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "z_domain%beg": 0.0, - "z_domain%end": 1.0, - "bc_x%beg": -8, - "bc_x%end": -8, - "bc_y%beg": -8, - "bc_y%end": -8, - "bc_z%beg": -8, - "bc_z%end": -8, - "patch_icpp(1)%geometry": 9, - "patch_icpp(1)%z_centroid": 0.05, - "patch_icpp(1)%length_z": 0.1, - "patch_icpp(2)%z_centroid": 0.45, - "patch_icpp(2)%length_z": 0.7, - "patch_icpp(3)%z_centroid": 0.9, - "patch_icpp(3)%length_z": 0.2, - "patch_icpp(1)%y_centroid": 0.5, - "patch_icpp(1)%length_y": 1, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(1)%vel(3)": 0.0, - "patch_icpp(2)%geometry": 9, - "patch_icpp(2)%y_centroid": 0.5, - "patch_icpp(2)%length_y": 1, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(2)%vel(3)": 0.0, - "patch_icpp(3)%geometry": 9, - "patch_icpp(3)%y_centroid": 0.5, - "patch_icpp(3)%length_y": 1, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "patch_icpp(3)%vel(3)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/AE37D842/case.py b/tests/AE37D842/case.py deleted file mode 100644 index e86ce9507..000000000 --- a/tests/AE37D842/case.py +++ /dev/null @@ -1,161 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/AE37D842/case.py: -# 2D -> Bubbles -> Monopole -> nb=1 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/AE37D842/case.py", - description="tests/AE37D842/case.py: 2D -> Bubbles -> Monopole -> nb=1", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "T", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "nb": 1, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556, - "Mono(1)%loc(2)": 0.5 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/AED93D34/case.py b/tests/AED93D34/case.py deleted file mode 100644 index 2d75b9a62..000000000 --- a/tests/AED93D34/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/AED93D34/case.py: -# 1D -> bc=-8 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/AED93D34/case.py", - description="tests/AED93D34/case.py: 1D -> bc=-8", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -8, - "bc_x%end": -8, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/AF0BCEE4/case.py b/tests/AF0BCEE4/case.py deleted file mode 100644 index 4589e493c..000000000 --- a/tests/AF0BCEE4/case.py +++ /dev/null @@ -1,147 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/AF0BCEE4/case.py: -# 1D -> Hypoelasticity -> 2 Fluid(s) - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/AF0BCEE4/case.py", - description="tests/AF0BCEE4/case.py: 1D -> Hypoelasticity -> 2 Fluid(s)", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1000000.0, - "patch_icpp(1)%alpha_rho(1)": 900.0, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 100000.0, - "patch_icpp(2)%alpha_rho(1)": 100, - "patch_icpp(2)%alpha(1)": 0.1, - "patch_icpp(3)%pres": 500000.0, - "patch_icpp(3)%alpha_rho(1)": 900, - "patch_icpp(3)%alpha(1)": 0.9, - "fluid_pp(1)%gamma": 0.3, - "fluid_pp(1)%pi_inf": 780000.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "hypoelasticity": "T", - "patch_icpp(1)%tau_e(1)": 0.0, - "patch_icpp(2)%tau_e(1)": 0.0, - "patch_icpp(3)%tau_e(1)": 0.0, - "fluid_pp(1)%G": 100000.0, - "fluid_pp(2)%gamma": 0.3, - "fluid_pp(2)%pi_inf": 780000.0, - "patch_icpp(1)%alpha_rho(2)": 100, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 900, - "patch_icpp(2)%alpha(2)": 0.9, - "patch_icpp(3)%alpha_rho(2)": 100, - "patch_icpp(3)%alpha(2)": 0.1, - "fluid_pp(2)%G": 50000.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/AF46C382/case.py b/tests/AF46C382/case.py deleted file mode 100644 index 6638b3dd2..000000000 --- a/tests/AF46C382/case.py +++ /dev/null @@ -1,147 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/AF46C382/case.py: -# 1D -> Bubbles -> Monopole -> QBMM -> bubble_model=3 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/AF46C382/case.py", - description="tests/AF46C382/case.py: 1D -> Bubbles -> Monopole -> QBMM -> bubble_model=3", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "T", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "T", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "nb": 3, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/B3AAC9C8/case.py b/tests/B3AAC9C8/case.py deleted file mode 100644 index cdd89c2e6..000000000 --- a/tests/B3AAC9C8/case.py +++ /dev/null @@ -1,160 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/B3AAC9C8/case.py: -# 2D -> Axisymmetric -> Viscous -> weno_Re_flux - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/B3AAC9C8/case.py", - description="tests/B3AAC9C8/case.py: 2D -> Axisymmetric -> Viscous -> weno_Re_flux", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-11, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -2, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "cyl_coord": "T", - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8, - "fluid_pp(1)%Re(1)": 0.0001, - "fluid_pp(1)%Re(2)": 0.0001, - "fluid_pp(2)%Re(1)": 0.0001, - "fluid_pp(2)%Re(2)": 0.0001, - "weno_Re_flux": "T" -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/B3C85904/case.py b/tests/B3C85904/case.py deleted file mode 100644 index 4f23aae16..000000000 --- a/tests/B3C85904/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/B3C85904/case.py: -# 1D -> weno_order=3 -> mapped_weno=F -> mp_weno=F - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/B3C85904/case.py", - description="tests/B3C85904/case.py: 1D -> weno_order=3 -> mapped_weno=F -> mp_weno=F", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 3, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/B89B8C70/case.py b/tests/B89B8C70/case.py deleted file mode 100644 index 28dd0092f..000000000 --- a/tests/B89B8C70/case.py +++ /dev/null @@ -1,155 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/B89B8C70/case.py: -# 2D -> Axisymmetric -> model_eqns=3 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/B89B8C70/case.py", - description="tests/B89B8C70/case.py: 2D -> Axisymmetric -> model_eqns=3", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 3, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -2, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "cyl_coord": "T", - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/B96AC58F/case.py b/tests/B96AC58F/case.py deleted file mode 100644 index dfbda89c4..000000000 --- a/tests/B96AC58F/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/B96AC58F/case.py: -# 2D -> bc=-10 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/B96AC58F/case.py", - description="tests/B96AC58F/case.py: 2D -> bc=-10", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -10, - "bc_x%end": -10, - "bc_y%beg": -10, - "bc_y%end": -10, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/BF46F657/case.py b/tests/BF46F657/case.py deleted file mode 100644 index dad25df6c..000000000 --- a/tests/BF46F657/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/BF46F657/case.py: -# 2D -> bc=-12 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/BF46F657/case.py", - description="tests/BF46F657/case.py: 2D -> bc=-12", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -12, - "bc_x%end": -12, - "bc_y%beg": -12, - "bc_y%end": -12, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/C04741B4/case.py b/tests/C04741B4/case.py deleted file mode 100644 index ae2155beb..000000000 --- a/tests/C04741B4/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/C04741B4/case.py: -# 2D -> weno_order=5 -> mapped_weno=T -> mp_weno=F - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/C04741B4/case.py", - description="tests/C04741B4/case.py: 2D -> weno_order=5 -> mapped_weno=T -> mp_weno=F", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "T", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/C4907722/case.py b/tests/C4907722/case.py deleted file mode 100644 index cf2655c1e..000000000 --- a/tests/C4907722/case.py +++ /dev/null @@ -1,141 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/C4907722/case.py: -# 1D -> 2 Fluid(s) -> riemann_solver=2 -> mpp_lim - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/C4907722/case.py", - description="tests/C4907722/case.py: 1D -> 2 Fluid(s) -> riemann_solver=2 -> mpp_lim", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "T", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/C5B79059/case.py b/tests/C5B79059/case.py deleted file mode 100644 index 09e35fab9..000000000 --- a/tests/C5B79059/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/C5B79059/case.py: -# 1D -> bc=-9 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/C5B79059/case.py", - description="tests/C5B79059/case.py: 1D -> bc=-9", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -9, - "bc_x%end": -9, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/C79E1D3C/case.py b/tests/C79E1D3C/case.py deleted file mode 100644 index 3a4612291..000000000 --- a/tests/C79E1D3C/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/C79E1D3C/case.py: -# 1D -> 2 Fluid(s) -> Viscous - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/C79E1D3C/case.py", - description="tests/C79E1D3C/case.py: 1D -> 2 Fluid(s) -> Viscous", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-11, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 1.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8, - "fluid_pp(1)%Re(1)": 0.001, - "fluid_pp(1)%Re(2)": 0.001, - "fluid_pp(2)%Re(1)": 0.001, - "fluid_pp(2)%Re(2)": 0.001, - "weno_Re_flux": "F" -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/C93BE9B5/case.py b/tests/C93BE9B5/case.py deleted file mode 100644 index 5e54adb9f..000000000 --- a/tests/C93BE9B5/case.py +++ /dev/null @@ -1,159 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/C93BE9B5/case.py: -# 3D -> bc=-9 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/C93BE9B5/case.py", - description="tests/C93BE9B5/case.py: 3D -> bc=-9", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 24, - "n": 24, - "p": 24, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "z_domain%beg": 0.0, - "z_domain%end": 1.0, - "bc_x%beg": -9, - "bc_x%end": -9, - "bc_y%beg": -9, - "bc_y%end": -9, - "bc_z%beg": -9, - "bc_z%end": -9, - "patch_icpp(1)%geometry": 9, - "patch_icpp(1)%z_centroid": 0.05, - "patch_icpp(1)%length_z": 0.1, - "patch_icpp(2)%z_centroid": 0.45, - "patch_icpp(2)%length_z": 0.7, - "patch_icpp(3)%z_centroid": 0.9, - "patch_icpp(3)%length_z": 0.2, - "patch_icpp(1)%y_centroid": 0.5, - "patch_icpp(1)%length_y": 1, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(1)%vel(3)": 0.0, - "patch_icpp(2)%geometry": 9, - "patch_icpp(2)%y_centroid": 0.5, - "patch_icpp(2)%length_y": 1, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(2)%vel(3)": 0.0, - "patch_icpp(3)%geometry": 9, - "patch_icpp(3)%y_centroid": 0.5, - "patch_icpp(3)%length_y": 1, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "patch_icpp(3)%vel(3)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/CC4F7C44/case.py b/tests/CC4F7C44/case.py deleted file mode 100644 index d60a00f04..000000000 --- a/tests/CC4F7C44/case.py +++ /dev/null @@ -1,161 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/CC4F7C44/case.py: -# 2D -> Bubbles -> Monopole -> bubble_model=2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/CC4F7C44/case.py", - description="tests/CC4F7C44/case.py: 2D -> Bubbles -> Monopole -> bubble_model=2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "F", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "T", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "nb": 3, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556, - "Mono(1)%loc(2)": 0.5 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/CD3D9660/case.py b/tests/CD3D9660/case.py deleted file mode 100644 index 7e3e444ec..000000000 --- a/tests/CD3D9660/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/CD3D9660/case.py: -# 2D -> weno_order=3 -> mapped_weno=T -> mp_weno=F - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/CD3D9660/case.py", - description="tests/CD3D9660/case.py: 2D -> weno_order=3 -> mapped_weno=T -> mp_weno=F", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 3, - "weno_eps": 1e-16, - "mapped_weno": "T", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/CD6DC908/case.py b/tests/CD6DC908/case.py deleted file mode 100644 index 217872a8b..000000000 --- a/tests/CD6DC908/case.py +++ /dev/null @@ -1,148 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/CD6DC908/case.py: -# 2D -> 1 Fluid(s) -> Viscous - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/CD6DC908/case.py", - description="tests/CD6DC908/case.py: 2D -> 1 Fluid(s) -> Viscous", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-11, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 1.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(1)%Re(1)": 0.0001, - "weno_Re_flux": "F" -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/CD9D3050/case.py b/tests/CD9D3050/case.py deleted file mode 100644 index 1624492e7..000000000 --- a/tests/CD9D3050/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/CD9D3050/case.py: -# 1D -> 2 Fluid(s) -> Viscous -> weno_Re_flux - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/CD9D3050/case.py", - description="tests/CD9D3050/case.py: 1D -> 2 Fluid(s) -> Viscous -> weno_Re_flux", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-11, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 1.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8, - "fluid_pp(1)%Re(1)": 0.001, - "fluid_pp(1)%Re(2)": 0.001, - "fluid_pp(2)%Re(1)": 0.001, - "fluid_pp(2)%Re(2)": 0.001, - "weno_Re_flux": "T" -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/CE232828/case.py b/tests/CE232828/case.py deleted file mode 100644 index 7c21ce41a..000000000 --- a/tests/CE232828/case.py +++ /dev/null @@ -1,159 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/CE232828/case.py: -# 3D -> 2 MPI Ranks - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/CE232828/case.py", - description="tests/CE232828/case.py: 3D -> 2 MPI Ranks", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 29, - "n": 29, - "p": 49, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "z_domain%beg": 0.0, - "z_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "bc_z%beg": -3, - "bc_z%end": -3, - "patch_icpp(1)%geometry": 9, - "patch_icpp(1)%z_centroid": 0.05, - "patch_icpp(1)%length_z": 0.1, - "patch_icpp(2)%z_centroid": 0.45, - "patch_icpp(2)%length_z": 0.7, - "patch_icpp(3)%z_centroid": 0.9, - "patch_icpp(3)%length_z": 0.2, - "patch_icpp(1)%y_centroid": 0.5, - "patch_icpp(1)%length_y": 1, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(1)%vel(3)": 0.0, - "patch_icpp(2)%geometry": 9, - "patch_icpp(2)%y_centroid": 0.5, - "patch_icpp(2)%length_y": 1, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(2)%vel(3)": 0.0, - "patch_icpp(3)%geometry": 9, - "patch_icpp(3)%y_centroid": 0.5, - "patch_icpp(3)%length_y": 1, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "patch_icpp(3)%vel(3)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/CFE87594/case.py b/tests/CFE87594/case.py deleted file mode 100644 index 752f9d835..000000000 --- a/tests/CFE87594/case.py +++ /dev/null @@ -1,161 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/CFE87594/case.py: -# 2D -> Bubbles -> Monopole -> QBMM -> Non-polytropic - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/CFE87594/case.py", - description="tests/CFE87594/case.py: 2D -> Bubbles -> Monopole -> QBMM -> Non-polytropic", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "F", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "T", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "T", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "nb": 3, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556, - "Mono(1)%loc(2)": 0.5 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/D0045756/case.py b/tests/D0045756/case.py deleted file mode 100644 index 19ec0beb2..000000000 --- a/tests/D0045756/case.py +++ /dev/null @@ -1,159 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/D0045756/case.py: -# 3D -> bc=-10 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/D0045756/case.py", - description="tests/D0045756/case.py: 3D -> bc=-10", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 24, - "n": 24, - "p": 24, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "z_domain%beg": 0.0, - "z_domain%end": 1.0, - "bc_x%beg": -10, - "bc_x%end": -10, - "bc_y%beg": -10, - "bc_y%end": -10, - "bc_z%beg": -10, - "bc_z%end": -10, - "patch_icpp(1)%geometry": 9, - "patch_icpp(1)%z_centroid": 0.05, - "patch_icpp(1)%length_z": 0.1, - "patch_icpp(2)%z_centroid": 0.45, - "patch_icpp(2)%length_z": 0.7, - "patch_icpp(3)%z_centroid": 0.9, - "patch_icpp(3)%length_z": 0.2, - "patch_icpp(1)%y_centroid": 0.5, - "patch_icpp(1)%length_y": 1, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(1)%vel(3)": 0.0, - "patch_icpp(2)%geometry": 9, - "patch_icpp(2)%y_centroid": 0.5, - "patch_icpp(2)%length_y": 1, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(2)%vel(3)": 0.0, - "patch_icpp(3)%geometry": 9, - "patch_icpp(3)%y_centroid": 0.5, - "patch_icpp(3)%length_y": 1, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "patch_icpp(3)%vel(3)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/D3C860B9/case.py b/tests/D3C860B9/case.py deleted file mode 100644 index a8bc357ce..000000000 --- a/tests/D3C860B9/case.py +++ /dev/null @@ -1,172 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/D3C860B9/case.py: -# 2D -> Phase Change model 6 -> 3 Fluid(s) - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/D3C860B9/case.py", - description="tests/D3C860B9/case.py: 2D -> Phase Change model 6 -> 3 Fluid(s)", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 3, - "alt_soundspeed": "F", - "num_fluids": 3, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 437550.0, - "patch_icpp(1)%alpha_rho(1)": 0.008406131093, - "patch_icpp(1)%alpha(1)": 8.7149e-06, - "patch_icpp(2)%pres": 96602.0, - "patch_icpp(2)%alpha_rho(1)": 0.040265879299999995, - "patch_icpp(2)%alpha(1)": 3.6749e-05, - "patch_icpp(3)%pres": 96602.0, - "patch_icpp(3)%alpha_rho(1)": 0.040265879299999995, - "patch_icpp(3)%alpha(1)": 3.6749e-05, - "fluid_pp(1)%gamma": 0.7409, - "fluid_pp(1)%pi_inf": 1740900000.0, - "fluid_pp(1)%cv": 1816, - "fluid_pp(1)%qv": -1167000, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 606.15, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 10.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 10.0, - "relax": "T", - "relax_model": 6, - "palpha_eps": 0.01, - "ptgalpha_eps": 0.01, - "fluid_pp(2)%gamma": 2.3266, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(2)%cv": 1040, - "fluid_pp(2)%qv": 2030000, - "fluid_pp(2)%qvp": -23400, - "patch_icpp(1)%alpha(2)": 0.025893, - "patch_icpp(1)%alpha_rho(2)": 0.059895687600000004, - "patch_icpp(2)%alpha(2)": 0.028728, - "patch_icpp(2)%alpha_rho(2)": 0.016670858400000002, - "patch_icpp(3)%alpha(2)": 0.028728, - "patch_icpp(3)%alpha_rho(2)": 0.016670858400000002, - "fluid_pp(3)%gamma": 2.487, - "fluid_pp(3)%pi_inf": 0.0, - "fluid_pp(3)%cv": 717.5, - "fluid_pp(3)%qv": 0.0, - "fluid_pp(3)%qvp": 0.0, - "patch_icpp(1)%alpha(3)": 0.9740982851, - "patch_icpp(1)%alpha_rho(3)": 3.4911682537984, - "patch_icpp(2)%alpha(3)": 0.9712352510000001, - "patch_icpp(2)%alpha_rho(3)": 0.8732376141741001, - "patch_icpp(3)%alpha(3)": 0.9712352510000001, - "patch_icpp(3)%alpha_rho(3)": 0.8732376141741001 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/D6BAC936/case.py b/tests/D6BAC936/case.py deleted file mode 100644 index 14810dff6..000000000 --- a/tests/D6BAC936/case.py +++ /dev/null @@ -1,159 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/D6BAC936/case.py: -# 2D -> 2 Fluid(s) -> Viscous -> weno_Re_flux - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/D6BAC936/case.py", - description="tests/D6BAC936/case.py: 2D -> 2 Fluid(s) -> Viscous -> weno_Re_flux", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-11, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 1.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8, - "fluid_pp(1)%Re(1)": 0.001, - "fluid_pp(1)%Re(2)": 0.001, - "fluid_pp(2)%Re(1)": 0.001, - "fluid_pp(2)%Re(2)": 0.001, - "weno_Re_flux": "T" -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/D79C3E6F/case.py b/tests/D79C3E6F/case.py deleted file mode 100644 index c69e3bddf..000000000 --- a/tests/D79C3E6F/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/D79C3E6F/case.py: -# 1D -> bc=-1 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/D79C3E6F/case.py", - description="tests/D79C3E6F/case.py: 1D -> bc=-1", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -1, - "bc_x%end": -1, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/D972BA0F/case.py b/tests/D972BA0F/case.py deleted file mode 100644 index c25c05602..000000000 --- a/tests/D972BA0F/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/D972BA0F/case.py: -# 2D -> bc=-3 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/D972BA0F/case.py", - description="tests/D972BA0F/case.py: 2D -> bc=-3", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/DA8AF07E/case.py b/tests/DA8AF07E/case.py deleted file mode 100644 index 578ce17c1..000000000 --- a/tests/DA8AF07E/case.py +++ /dev/null @@ -1,161 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/DA8AF07E/case.py: -# 2D -> Phase Change model 5 -> 2 Fluid(s) - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/DA8AF07E/case.py", - description="tests/DA8AF07E/case.py: 2D -> Phase Change model 5 -> 2 Fluid(s)", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-06, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 3, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 437550.0, - "patch_icpp(1)%alpha_rho(1)": 0.008406131093, - "patch_icpp(1)%alpha(1)": 8.7149e-06, - "patch_icpp(2)%pres": 96602.0, - "patch_icpp(2)%alpha_rho(1)": 0.040265879299999995, - "patch_icpp(2)%alpha(1)": 3.6749e-05, - "patch_icpp(3)%pres": 96602.0, - "patch_icpp(3)%alpha_rho(1)": 0.040265879299999995, - "patch_icpp(3)%alpha(1)": 3.6749e-05, - "fluid_pp(1)%gamma": 0.7409, - "fluid_pp(1)%pi_inf": 1740900000.0, - "fluid_pp(1)%cv": 1816, - "fluid_pp(1)%qv": -1167000, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 606.15, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 10.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 10.0, - "relax": "T", - "relax_model": 5, - "palpha_eps": 0.01, - "ptgalpha_eps": 0.01, - "fluid_pp(2)%gamma": 2.3266, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(2)%cv": 1040, - "fluid_pp(2)%qv": 2030000, - "fluid_pp(2)%qvp": -23400, - "patch_icpp(1)%alpha(2)": 0.9999912851, - "patch_icpp(1)%alpha_rho(2)": 2.31317984069332, - "patch_icpp(2)%alpha(2)": 0.999963251, - "patch_icpp(2)%alpha_rho(2)": 0.5802786745553, - "patch_icpp(3)%alpha(2)": 0.999963251, - "patch_icpp(3)%alpha_rho(2)": 0.5802786745553 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/DB670E50/case.py b/tests/DB670E50/case.py deleted file mode 100644 index f4bd46ffe..000000000 --- a/tests/DB670E50/case.py +++ /dev/null @@ -1,155 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/DB670E50/case.py: -# 2D -> Axisymmetric -> model_eqns=2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/DB670E50/case.py", - description="tests/DB670E50/case.py: 2D -> Axisymmetric -> model_eqns=2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -2, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "cyl_coord": "T", - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/DC46C302/case.py b/tests/DC46C302/case.py deleted file mode 100644 index 82d40e364..000000000 --- a/tests/DC46C302/case.py +++ /dev/null @@ -1,147 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/DC46C302/case.py: -# 1D -> Bubbles -> Monopole -> QBMM -> bubble_model=3 -> Non-polytropic - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/DC46C302/case.py", - description="tests/DC46C302/case.py: 1D -> Bubbles -> Monopole -> QBMM -> bubble_model=3 -> Non-polytropic", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "F", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "T", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "T", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "nb": 3, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/DC9CB97E/case.py b/tests/DC9CB97E/case.py deleted file mode 100644 index 7b7053306..000000000 --- a/tests/DC9CB97E/case.py +++ /dev/null @@ -1,154 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/DC9CB97E/case.py: -# 2D -> 2 Fluid(s) -> riemann_solver=1 -> avg_state=1 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/DC9CB97E/case.py", - description="tests/DC9CB97E/case.py: 2D -> 2 Fluid(s) -> riemann_solver=1 -> avg_state=1", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 1, - "avg_state": 1, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/E09A12D9/case.py b/tests/E09A12D9/case.py deleted file mode 100644 index deceb6ecb..000000000 --- a/tests/E09A12D9/case.py +++ /dev/null @@ -1,159 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/E09A12D9/case.py: -# 3D -> bc=-5 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/E09A12D9/case.py", - description="tests/E09A12D9/case.py: 3D -> bc=-5", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 24, - "n": 24, - "p": 24, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "z_domain%beg": 0.0, - "z_domain%end": 1.0, - "bc_x%beg": -5, - "bc_x%end": -5, - "bc_y%beg": -5, - "bc_y%end": -5, - "bc_z%beg": -5, - "bc_z%end": -5, - "patch_icpp(1)%geometry": 9, - "patch_icpp(1)%z_centroid": 0.05, - "patch_icpp(1)%length_z": 0.1, - "patch_icpp(2)%z_centroid": 0.45, - "patch_icpp(2)%length_z": 0.7, - "patch_icpp(3)%z_centroid": 0.9, - "patch_icpp(3)%length_z": 0.2, - "patch_icpp(1)%y_centroid": 0.5, - "patch_icpp(1)%length_y": 1, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(1)%vel(3)": 0.0, - "patch_icpp(2)%geometry": 9, - "patch_icpp(2)%y_centroid": 0.5, - "patch_icpp(2)%length_y": 1, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(2)%vel(3)": 0.0, - "patch_icpp(3)%geometry": 9, - "patch_icpp(3)%y_centroid": 0.5, - "patch_icpp(3)%length_y": 1, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "patch_icpp(3)%vel(3)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/E4EFEDB2/case.py b/tests/E4EFEDB2/case.py deleted file mode 100644 index 2258e8025..000000000 --- a/tests/E4EFEDB2/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/E4EFEDB2/case.py: -# 2D -> weno_order=3 -> mapped_weno=F -> mp_weno=F - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/E4EFEDB2/case.py", - description="tests/E4EFEDB2/case.py: 2D -> weno_order=3 -> mapped_weno=F -> mp_weno=F", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 3, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/E76D41CE/case.py b/tests/E76D41CE/case.py deleted file mode 100644 index 8236bfffa..000000000 --- a/tests/E76D41CE/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/E76D41CE/case.py: -# 2D -> weno_order=5 -> mapped_weno=F -> mp_weno=T - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/E76D41CE/case.py", - description="tests/E76D41CE/case.py: 2D -> weno_order=5 -> mapped_weno=F -> mp_weno=T", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "T", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/E84967E7/case.py b/tests/E84967E7/case.py deleted file mode 100644 index 0aa523703..000000000 --- a/tests/E84967E7/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/E84967E7/case.py: -# 2D -> bc=-7 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/E84967E7/case.py", - description="tests/E84967E7/case.py: 2D -> bc=-7", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -7, - "bc_x%end": -7, - "bc_y%beg": -7, - "bc_y%end": -7, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/E8C28D5B/case.py b/tests/E8C28D5B/case.py deleted file mode 100644 index 247355933..000000000 --- a/tests/E8C28D5B/case.py +++ /dev/null @@ -1,148 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/E8C28D5B/case.py: -# 2D -> 1 Fluid(s) -> Viscous -> weno_Re_flux - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/E8C28D5B/case.py", - description="tests/E8C28D5B/case.py: 2D -> 1 Fluid(s) -> Viscous -> weno_Re_flux", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-11, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 1.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(1)%Re(1)": 0.0001, - "weno_Re_flux": "T" -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/EAA53889/case.py b/tests/EAA53889/case.py deleted file mode 100644 index b00de923d..000000000 --- a/tests/EAA53889/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/EAA53889/case.py: -# 2D -> bc=-2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/EAA53889/case.py", - description="tests/EAA53889/case.py: 2D -> bc=-2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -2, - "bc_x%end": -2, - "bc_y%beg": -2, - "bc_y%end": -2, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/ED728400/case.py b/tests/ED728400/case.py deleted file mode 100644 index 5971023cc..000000000 --- a/tests/ED728400/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/ED728400/case.py: -# 1D -> bc=-16 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/ED728400/case.py", - description="tests/ED728400/case.py: 1D -> bc=-16", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -16, - "bc_x%end": -16, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/EF54219C/case.py b/tests/EF54219C/case.py deleted file mode 100644 index b49d695cc..000000000 --- a/tests/EF54219C/case.py +++ /dev/null @@ -1,147 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/EF54219C/case.py: -# 1D -> Bubbles -> Monopole -> Polytropic -> bubble_model=3 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/EF54219C/case.py", - description="tests/EF54219C/case.py: 1D -> Bubbles -> Monopole -> Polytropic -> bubble_model=3", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "T", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "nb": 3, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/F0F175B2/case.py b/tests/F0F175B2/case.py deleted file mode 100644 index 9315c3113..000000000 --- a/tests/F0F175B2/case.py +++ /dev/null @@ -1,154 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/F0F175B2/case.py: -# 2D -> 2 Fluid(s) -> riemann_solver=2 -> mpp_lim - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/F0F175B2/case.py", - description="tests/F0F175B2/case.py: 2D -> 2 Fluid(s) -> riemann_solver=2 -> mpp_lim", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "T", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/F4F6AC27/case.py b/tests/F4F6AC27/case.py deleted file mode 100644 index 69b3ac72c..000000000 --- a/tests/F4F6AC27/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/F4F6AC27/case.py: -# 1D -> 1 Fluid(s) -> riemann_solver=2 -> wave_speeds=2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/F4F6AC27/case.py", - description="tests/F4F6AC27/case.py: 1D -> 1 Fluid(s) -> riemann_solver=2 -> wave_speeds=2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 2, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/F5890628/case.py b/tests/F5890628/case.py deleted file mode 100644 index eb63afdd5..000000000 --- a/tests/F5890628/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/F5890628/case.py: -# 1D -> weno_order=5 -> mapped_weno=T -> mp_weno=F - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/F5890628/case.py", - description="tests/F5890628/case.py: 1D -> weno_order=5 -> mapped_weno=T -> mp_weno=F", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "T", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/F97573DB/case.py b/tests/F97573DB/case.py deleted file mode 100644 index 29ef59d62..000000000 --- a/tests/F97573DB/case.py +++ /dev/null @@ -1,133 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/F97573DB/case.py: -# 1D -> 1 Fluid(s) -> riemann_solver=2 -> avg_state=1 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/F97573DB/case.py", - description="tests/F97573DB/case.py: 1D -> 1 Fluid(s) -> riemann_solver=2 -> avg_state=1", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 1, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/F99FBB36/case.py b/tests/F99FBB36/case.py deleted file mode 100644 index 150c3dfd9..000000000 --- a/tests/F99FBB36/case.py +++ /dev/null @@ -1,159 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/F99FBB36/case.py: -# 3D -> bc=-4 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/F99FBB36/case.py", - description="tests/F99FBB36/case.py: 3D -> bc=-4", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 24, - "n": 24, - "p": 24, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "z_domain%beg": 0.0, - "z_domain%end": 1.0, - "bc_x%beg": -4, - "bc_x%end": -4, - "bc_y%beg": -4, - "bc_y%end": -4, - "bc_z%beg": -4, - "bc_z%end": -4, - "patch_icpp(1)%geometry": 9, - "patch_icpp(1)%z_centroid": 0.05, - "patch_icpp(1)%length_z": 0.1, - "patch_icpp(2)%z_centroid": 0.45, - "patch_icpp(2)%length_z": 0.7, - "patch_icpp(3)%z_centroid": 0.9, - "patch_icpp(3)%length_z": 0.2, - "patch_icpp(1)%y_centroid": 0.5, - "patch_icpp(1)%length_y": 1, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(1)%vel(3)": 0.0, - "patch_icpp(2)%geometry": 9, - "patch_icpp(2)%y_centroid": 0.5, - "patch_icpp(2)%length_y": 1, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(2)%vel(3)": 0.0, - "patch_icpp(3)%geometry": 9, - "patch_icpp(3)%y_centroid": 0.5, - "patch_icpp(3)%length_y": 1, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "patch_icpp(3)%vel(3)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/FB822062/case.py b/tests/FB822062/case.py deleted file mode 100644 index b28167598..000000000 --- a/tests/FB822062/case.py +++ /dev/null @@ -1,160 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/FB822062/case.py: -# 2D -> Axisymmetric -> Viscous - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/FB822062/case.py", - description="tests/FB822062/case.py: 2D -> Axisymmetric -> Viscous", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 1e-11, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -2, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "cyl_coord": "T", - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8, - "fluid_pp(1)%Re(1)": 0.0001, - "fluid_pp(1)%Re(2)": 0.0001, - "fluid_pp(2)%Re(1)": 0.0001, - "fluid_pp(2)%Re(2)": 0.0001, - "weno_Re_flux": "F" -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/FBF808BE/case.py b/tests/FBF808BE/case.py deleted file mode 100644 index a67fb8aae..000000000 --- a/tests/FBF808BE/case.py +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/FBF808BE/case.py: -# 2D -> 1 Fluid(s) -> riemann_solver=1 -> wave_speeds=2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/FBF808BE/case.py", - description="tests/FBF808BE/case.py: 2D -> 1 Fluid(s) -> riemann_solver=1 -> wave_speeds=2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 1, - "wave_speeds": 2, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 1.0, - "patch_icpp(1)%alpha(1)": 1.0, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.5, - "patch_icpp(2)%alpha(1)": 1.0, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.125, - "patch_icpp(3)%alpha(1)": 1.0, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/FC4D07B6/case.py b/tests/FC4D07B6/case.py deleted file mode 100644 index f109ec74e..000000000 --- a/tests/FC4D07B6/case.py +++ /dev/null @@ -1,154 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/FC4D07B6/case.py: -# 2D -> 2 Fluid(s) -> riemann_solver=2 -> wave_speeds=2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/FC4D07B6/case.py", - description="tests/FC4D07B6/case.py: 2D -> 2 Fluid(s) -> riemann_solver=2 -> wave_speeds=2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 49, - "n": 39, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 2, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "y_domain%beg": 0.0, - "y_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "bc_y%beg": -3, - "bc_y%end": -3, - "patch_icpp(1)%geometry": 3, - "patch_icpp(1)%y_centroid": 0.05, - "patch_icpp(1)%length_y": 0.1, - "patch_icpp(2)%y_centroid": 0.45, - "patch_icpp(2)%length_y": 0.7, - "patch_icpp(3)%y_centroid": 0.9, - "patch_icpp(3)%length_y": 0.2, - "patch_icpp(1)%x_centroid": 0.5, - "patch_icpp(1)%length_x": 1, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, - "patch_icpp(2)%geometry": 3, - "patch_icpp(2)%x_centroid": 0.5, - "patch_icpp(2)%length_x": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, - "patch_icpp(3)%geometry": 3, - "patch_icpp(3)%x_centroid": 0.5, - "patch_icpp(3)%length_x": 1, - "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/FD891191/case.py b/tests/FD891191/case.py deleted file mode 100644 index b16cd6bce..000000000 --- a/tests/FD891191/case.py +++ /dev/null @@ -1,141 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/FD891191/case.py: -# 1D -> 2 Fluid(s) -> riemann_solver=2 -> model_eqns=3 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/FD891191/case.py", - description="tests/FD891191/case.py: 1D -> 2 Fluid(s) -> riemann_solver=2 -> model_eqns=3", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 0.0005, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 3, - "alt_soundspeed": "F", - "num_fluids": 2, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.81, - "patch_icpp(1)%alpha(1)": 0.9, - "patch_icpp(2)%pres": 0.5, - "patch_icpp(2)%alpha_rho(1)": 0.25, - "patch_icpp(2)%alpha(1)": 0.5, - "patch_icpp(3)%pres": 0.1, - "patch_icpp(3)%alpha_rho(1)": 0.08, - "patch_icpp(3)%alpha(1)": 0.2, - "fluid_pp(1)%gamma": 2.5000000000000004, - "fluid_pp(1)%pi_inf": 0.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "F", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 3, - "polytropic": "T", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "patch_icpp(1)%alpha_rho(2)": 0.19, - "patch_icpp(1)%alpha(2)": 0.1, - "patch_icpp(2)%alpha_rho(2)": 0.25, - "patch_icpp(2)%alpha(2)": 0.5, - "patch_icpp(3)%alpha_rho(2)": 0.0225, - "patch_icpp(3)%alpha(2)": 0.8 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods})) diff --git a/tests/FE3E35C4/case.py b/tests/FE3E35C4/case.py deleted file mode 100644 index 164a96b16..000000000 --- a/tests/FE3E35C4/case.py +++ /dev/null @@ -1,148 +0,0 @@ -#!/usr/bin/env python3 -# -# tests/FE3E35C4/case.py: -# 1D -> Viscosity -> Bubbles -> bubble_model=2 - -import json -import argparse - -parser = argparse.ArgumentParser( - prog="tests/FE3E35C4/case.py", - description="tests/FE3E35C4/case.py: 1D -> Viscosity -> Bubbles -> bubble_model=2", - formatter_class=argparse.ArgumentDefaultsHelpFormatter) - -parser.add_argument("dict", type=str, metavar="DICT", help=argparse.SUPPRESS) - -ARGS = vars(parser.parse_args()) - -ARGS["dict"] = json.loads(ARGS["dict"]) - -case = { - "run_time_info": "T", - "m": 299, - "n": 0, - "p": 0, - "dt": 1e-07, - "t_step_start": 0, - "t_step_stop": 50, - "t_step_save": 50, - "num_patches": 3, - "model_eqns": 2, - "alt_soundspeed": "F", - "num_fluids": 1, - "adv_alphan": "T", - "mpp_lim": "F", - "mixture_err": "F", - "time_stepper": 3, - "weno_order": 5, - "weno_eps": 1e-16, - "mapped_weno": "F", - "null_weights": "F", - "mp_weno": "F", - "riemann_solver": 2, - "wave_speeds": 1, - "avg_state": 2, - "format": 1, - "precision": 2, - "prim_vars_wrt": "F", - "parallel_io": "F", - "patch_icpp(1)%pres": 1.0, - "patch_icpp(1)%alpha_rho(1)": 0.96, - "patch_icpp(1)%alpha(1)": 0.04, - "patch_icpp(2)%pres": 1.0, - "patch_icpp(2)%alpha_rho(1)": 0.96, - "patch_icpp(2)%alpha(1)": 0.04, - "patch_icpp(3)%pres": 1.0, - "patch_icpp(3)%alpha_rho(1)": 0.96, - "patch_icpp(3)%alpha(1)": 0.04, - "fluid_pp(1)%gamma": 0.16, - "fluid_pp(1)%pi_inf": 3515.0, - "fluid_pp(1)%cv": 0.0, - "fluid_pp(1)%qv": 0.0, - "fluid_pp(1)%qvp": 0.0, - "bubbles": "T", - "Ca": 0.9769178386380458, - "Web": 13.927835051546392, - "Re_inv": 0.009954269975623245, - "pref": 101325.0, - "rhoref": 1000.0, - "bubble_model": 2, - "polytropic": "F", - "polydisperse": "F", - "thermal": 3, - "R0ref": 1e-05, - "patch_icpp(1)%r0": 1, - "patch_icpp(1)%v0": 0, - "patch_icpp(2)%r0": 1, - "patch_icpp(2)%v0": 0, - "patch_icpp(3)%r0": 1, - "patch_icpp(3)%v0": 0, - "qbmm": "F", - "dist_type": 2, - "poly_sigma": 0.3, - "R0_type": 1, - "sigR": 0.1, - "sigV": 0.1, - "rhoRV": 0.0, - "Monopole": "F", - "num_mono": 1, - "Mono(1)%loc(1)": 0.5, - "Mono(1)%mag": 1.0, - "Mono(1)%length": 0.25, - "Mono(1)%dir": 1.0, - "Mono(1)%npulse": 1, - "Mono(1)%pulse": 1, - "cu_mpi": "F", - "x_domain%beg": 0.0, - "x_domain%end": 1.0, - "bc_x%beg": -3, - "bc_x%end": -3, - "patch_icpp(1)%geometry": 1, - "patch_icpp(1)%x_centroid": 0.05, - "patch_icpp(1)%length_x": 0.1, - "patch_icpp(2)%x_centroid": 0.45, - "patch_icpp(2)%length_x": 0.7, - "patch_icpp(3)%x_centroid": 0.9, - "patch_icpp(3)%length_x": 0.2, - "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(2)%geometry": 1, - "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(3)%geometry": 1, - "patch_icpp(3)%vel(1)": 0.0, - "fluid_pp(1)%Re(1)": 50, - "nb": 1, - "fluid_pp(2)%gamma": 2.5, - "fluid_pp(2)%pi_inf": 0.0, - "fluid_pp(1)%mul0": 0.001002, - "fluid_pp(1)%ss": 0.07275, - "fluid_pp(1)%pv": 2338.8, - "fluid_pp(1)%gamma_v": 1.33, - "fluid_pp(1)%M_v": 18.02, - "fluid_pp(1)%mu_v": 8.816e-06, - "fluid_pp(1)%k_v": 0.019426, - "fluid_pp(2)%gamma_v": 1.4, - "fluid_pp(2)%M_v": 28.97, - "fluid_pp(2)%mu_v": 1.8e-05, - "fluid_pp(2)%k_v": 0.02556 -} -mods = {} - -if "post_process" in ARGS["dict"]["targets"]: - mods = { - 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', - 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', - 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', - 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', - 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', - 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', - 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', - 'c_wrt' : 'T', - } - - if case['p'] != 0: - mods['fd_order'] = 1 - mods['omega_wrt(1)'] = 'T' - mods['omega_wrt(2)'] = 'T' - mods['omega_wrt(3)'] = 'T' - -print(json.dumps({**case, **mods}))