|
| 1 | +#!/usr/bin/env python3 |
| 2 | + |
| 3 | +# 2D -> Hyperelasticity -> 1 Fluid(s) |
| 4 | + |
| 5 | +import math, json |
| 6 | + |
| 7 | +print(json.dumps({ |
| 8 | + 'run_time_info': 'T', |
| 9 | + 'm': 49, |
| 10 | + 'n': 39, |
| 11 | + 'p': 0, |
| 12 | + 'dt': 1e-08, #1e-06, |
| 13 | +# 'cfl_adap_dt': 'T', |
| 14 | +# 'cfl_target': 0.1, |
| 15 | +# 'n_start': 0, |
| 16 | +# 't_stop': 1e-06, |
| 17 | +# 't_save': 1e-07, |
| 18 | + 't_step_start': 0, |
| 19 | + 't_step_stop': 50, |
| 20 | + 't_step_save': 1, |
| 21 | + 'num_patches': 3, |
| 22 | + 'model_eqns': 3, |
| 23 | + 'alt_soundspeed': 'F', |
| 24 | + 'num_fluids': 1, |
| 25 | + 'mpp_lim': 'F', |
| 26 | + 'mixture_err': 'F', |
| 27 | + 'time_stepper': 3, |
| 28 | + 'weno_order': 5, |
| 29 | + 'weno_eps': 1e-16, |
| 30 | + 'mapped_weno': 'F', |
| 31 | + 'null_weights': 'F', |
| 32 | + 'mp_weno': 'F', |
| 33 | + 'riemann_solver': 2, |
| 34 | + 'wave_speeds': 1, |
| 35 | + 'avg_state': 2, |
| 36 | + 'format': 1, |
| 37 | + 'precision': 2, |
| 38 | + 'prim_vars_wrt': 'F', |
| 39 | + 'parallel_io': 'F', |
| 40 | + 'patch_icpp(1)%pres': 1000000.0, |
| 41 | + 'patch_icpp(1)%alpha_rho(1)': 1000.0, |
| 42 | + 'patch_icpp(1)%alpha(1)': 1.0, |
| 43 | + 'patch_icpp(2)%pres': 100000.0, |
| 44 | + 'patch_icpp(2)%alpha_rho(1)': 1000.0, |
| 45 | + 'patch_icpp(2)%alpha(1)': 1.0, |
| 46 | + 'patch_icpp(3)%pres': 500000.0, |
| 47 | + 'patch_icpp(3)%alpha_rho(1)': 1000.0, |
| 48 | + 'patch_icpp(3)%alpha(1)': 1.0, |
| 49 | + 'fluid_pp(1)%gamma': 0.3, |
| 50 | + 'fluid_pp(1)%pi_inf': 780000.0, |
| 51 | +# 'Ca': 0.9769178386380458, |
| 52 | +# 'Web': 13.927835051546392, |
| 53 | +# 'Re_inv': 0.009954269975623245, |
| 54 | + 'pref': 101325.0, |
| 55 | + 'rhoref': 1000.0, |
| 56 | +# 'bubble_model': 3, |
| 57 | +# 'polytropic': 'T', |
| 58 | +# 'polydisperse': 'F', |
| 59 | +# 'thermal': 3, |
| 60 | + 'R0ref': 1e-05, |
| 61 | + 'patch_icpp(1)%r0': 1, |
| 62 | + 'patch_icpp(1)%v0': 0, |
| 63 | + 'patch_icpp(2)%r0': 1, |
| 64 | + 'patch_icpp(2)%v0': 0, |
| 65 | + 'patch_icpp(3)%r0': 1, |
| 66 | + 'patch_icpp(3)%v0': 0, |
| 67 | +# 'qbmm': 'F', |
| 68 | +# 'dist_type': 2, |
| 69 | +# 'poly_sigma': 0.3, |
| 70 | +# 'R0_type': 1, |
| 71 | +# 'sigR': 0.1, |
| 72 | +# 'sigV': 0.1, |
| 73 | +# 'rhoRV': 0.0, |
| 74 | + 'x_domain%beg': 0.0, |
| 75 | + 'x_domain%end': 1.0, |
| 76 | + 'y_domain%beg': 0.0, |
| 77 | + 'y_domain%end': 1.0, |
| 78 | + 'bc_x%beg': -3, |
| 79 | + 'bc_x%end': -3, |
| 80 | + 'bc_y%beg': -3, |
| 81 | + 'bc_y%end': -3, |
| 82 | + 'patch_icpp(1)%geometry': 3, |
| 83 | + 'patch_icpp(1)%y_centroid': 0.05, |
| 84 | + 'patch_icpp(1)%length_y': 0.1, |
| 85 | + 'patch_icpp(2)%y_centroid': 0.45, |
| 86 | + 'patch_icpp(2)%length_y': 0.7, |
| 87 | + 'patch_icpp(3)%y_centroid': 0.9, |
| 88 | + 'patch_icpp(3)%length_y': 0.2, |
| 89 | + 'patch_icpp(1)%x_centroid': 0.5, |
| 90 | + 'patch_icpp(1)%length_x': 1, |
| 91 | + 'patch_icpp(1)%vel(1)': 0.0, |
| 92 | + 'patch_icpp(1)%vel(2)': 0.0, |
| 93 | + 'patch_icpp(2)%geometry': 3, |
| 94 | + 'patch_icpp(2)%x_centroid': 0.5, |
| 95 | + 'patch_icpp(2)%length_x': 1, |
| 96 | + 'patch_icpp(2)%vel(1)': 0.0, |
| 97 | + 'patch_icpp(2)%vel(2)': 0.0, |
| 98 | + 'patch_icpp(3)%geometry': 3, |
| 99 | + 'patch_icpp(3)%x_centroid': 0.5, |
| 100 | + 'patch_icpp(3)%length_x': 1, |
| 101 | + 'patch_icpp(3)%vel(1)': 0.0, |
| 102 | + 'patch_icpp(3)%vel(2)': 0.0, |
| 103 | + 'hyperelasticity': 'T', |
| 104 | + 'hyper_model': 1, |
| 105 | + 'fd_order': 4, |
| 106 | + 'patch_icpp(1)%tau_e(1)': 0.0, |
| 107 | + 'patch_icpp(2)%tau_e(1)': 0.0, |
| 108 | + 'patch_icpp(3)%tau_e(1)': 0.0, |
| 109 | + 'fluid_pp(1)%G': 1000000000.0, |
| 110 | + 'patch_icpp(1)%tau_e(2)': 0.0, |
| 111 | + 'patch_icpp(1)%tau_e(3)': 0.0, |
| 112 | + 'patch_icpp(2)%tau_e(2)': 0.0, |
| 113 | + 'patch_icpp(2)%tau_e(3)': 0.0, |
| 114 | + 'patch_icpp(3)%tau_e(2)': 0.0, |
| 115 | + 'patch_icpp(3)%tau_e(3)': 0.0, |
| 116 | + 'parallel_io' : 'T', 'cons_vars_wrt' : 'T', |
| 117 | + 'prim_vars_wrt': 'T', 'alpha_rho_wrt(1)': 'T', |
| 118 | + 'rho_wrt' : 'T', 'mom_wrt(1)' : 'T', |
| 119 | + 'vel_wrt(1)' : 'T', 'E_wrt' : 'T', |
| 120 | + 'pres_wrt' : 'T', 'alpha_wrt(1)' : 'T', |
| 121 | + 'gamma_wrt' : 'T', 'heat_ratio_wrt' : 'T', |
| 122 | + 'pi_inf_wrt' : 'T', 'pres_inf_wrt' : 'T', |
| 123 | + 'c_wrt' : 'T', |
| 124 | + })) |
| 125 | + |
0 commit comments