|
1 | 1 | #!/usr/bin/env python3 |
2 | 2 | import json |
3 | | -import math |
4 | 3 |
|
5 | 4 | config = { |
6 | | - # Logistics |
7 | 5 | "run_time_info": "T", |
8 | | - # Computational Domain Parameters |
9 | | - "x_domain%beg": 0, |
| 6 | + # Computational Domain |
| 7 | + "x_domain%beg": 0.0, |
10 | 8 | "x_domain%end": 1.0, |
11 | | - "y_domain%beg": 0, |
| 9 | + "y_domain%beg": 0.0, |
12 | 10 | "y_domain%end": 1.0, |
13 | 11 | "m": 49, |
14 | 12 | "n": 49, |
|
17 | 15 | "t_step_start": 0, |
18 | 16 | "t_step_stop": 250, |
19 | 17 | "t_step_save": 50, |
20 | | - # Simulation Algorithm Parameters |
| 18 | + # Simulation Algorithm |
21 | 19 | "num_patches": 2, |
22 | 20 | "model_eqns": 2, |
23 | 21 | "alt_soundspeed": "F", |
24 | 22 | "num_fluids": 2, |
25 | | - # "mpp_lim": "F", |
26 | 23 | "mpp_lim": "T", |
27 | 24 | "mixture_err": "F", |
28 | 25 | "time_stepper": 1, |
29 | 26 | "weno_order": 1, |
30 | 27 | "weno_eps": 1.0e-20, |
31 | | - # "mapped_weno": "T", |
32 | 28 | "null_weights": "F", |
33 | 29 | "mp_weno": "F", |
34 | | - # "riemann_solver": 2, |
35 | 30 | "riemann_solver": 4, |
36 | | - # "riemann_hypo_ADC": 'T', |
37 | | - # "ADC_kappa": 1.0, |
38 | 31 | "wave_speeds": 1, |
39 | 32 | "avg_state": 2, |
40 | | - # "bc_x%beg": -6, |
41 | | - # "bc_x%end": -6, |
42 | | - # "bc_y%beg": -6, |
43 | | - # "bc_y%end": -6, |
44 | 33 | "bc_x%beg": -3, |
45 | 34 | "bc_x%end": -3, |
46 | 35 | "bc_y%beg": -3, |
47 | 36 | "bc_y%end": -3, |
48 | | - # !!! BC=-6 doesn't work with 1st order upwind !!! |
49 | | - # Formatted Database Files Structure Parameters |
| 37 | + # Output |
50 | 38 | "format": 1, |
51 | | - # "format": 2, |
52 | 39 | "precision": 2, |
53 | 40 | "prim_vars_wrt": "T", |
54 | 41 | "rho_wrt": "T", |
55 | 42 | "parallel_io": "T", |
56 | 43 | # Hypoelasticity |
57 | 44 | "hypoelasticity": "T", |
58 | 45 | "fd_order": 4, |
59 | | - # Patch 1 Liquid |
| 46 | + # Patch 1: Liquid background |
60 | 47 | "patch_icpp(1)%geometry": 3, |
61 | 48 | "patch_icpp(1)%x_centroid": 0.5, |
62 | 49 | "patch_icpp(1)%y_centroid": 0.5, |
|
70 | 57 | "patch_icpp(1)%alpha(1)": 1.0 - 1e-8, |
71 | 58 | "patch_icpp(1)%alpha_rho(2)": 1000 * 1e-8, |
72 | 59 | "patch_icpp(1)%alpha(2)": 1e-8, |
73 | | - # Patch 1 Solid |
| 60 | + # Patch 2: Solid circle |
74 | 61 | "patch_icpp(2)%alter_patch(1)": "T", |
75 | 62 | "patch_icpp(2)%geometry": 2, |
76 | 63 | "patch_icpp(2)%x_centroid": 0.6, |
|
84 | 71 | "patch_icpp(2)%alpha(1)": 1e-8, |
85 | 72 | "patch_icpp(2)%alpha_rho(2)": 1000 * (1.0 - 1e-8), |
86 | 73 | "patch_icpp(2)%alpha(2)": 1.0 - 1e-8, |
87 | | - # "patch_icpp(2)%smoothen": "T", |
88 | | - # "patch_icpp(2)%smooth_patch_id": 1, |
89 | | - # "patch_icpp(2)%smooth_coeff": 4.0e00, |
90 | 74 | # Acoustic source |
91 | 75 | "acoustic_source": "T", |
92 | 76 | "num_source": 1, |
|
0 commit comments