|
32 | 32 | #define pulse |
33 | 33 | P_amp = 10.E+6 |
34 | 34 | P_len = 45 #length of the impulse |
35 | | -theta = -math.pi/2 #direction of propagation |
| 35 | +theta = -math.pi/2 #direction of propagation |
36 | 36 |
|
37 | 37 | #non-dim |
38 | 38 |
|
|
44 | 44 | stress_char = rho_char*c_char*c_char/gammal |
45 | 45 |
|
46 | 46 | #non-dim the properties |
47 | | -rhog_n = rhog/rho_char |
48 | | -c_g_n = c_g/c_char |
| 47 | +rhog_n = rhog/rho_char |
| 48 | +c_g_n = c_g/c_char |
49 | 49 | rhol_n = rhol/rho_char |
50 | 50 | c_l_n = c_l/c_char |
51 | 51 | Bg_n = Bg/stress_char |
|
76 | 76 | time_end = 50 |
77 | 77 | cfl = 0.01 |
78 | 78 |
|
79 | | -dt = cfl * dx/c_l_n |
| 79 | +dt = cfl * dx/c_l_n |
80 | 80 | Nt = int(time_end/dt) |
81 | 81 | Nframes = 500 |
82 | 82 | tstart = 0 |
|
122 | 122 | 'time_stepper' : 3, |
123 | 123 | 'weno_order' : 5, |
124 | 124 | 'weno_eps' : 1.E-16, |
125 | | - 'weno_Re_flux' : 'F', |
| 125 | + 'weno_Re_flux' : 'F', |
126 | 126 | 'weno_avg' : 'F', |
127 | 127 | 'mapped_weno' : 'T', |
128 | 128 | 'null_weights' : 'F', |
|
139 | 139 | # ========================================================================== |
140 | 140 |
|
141 | 141 | # Turning on Hypoelasticity ================================================ |
142 | | - #'hypoelasticity' : 'T', |
| 142 | + #'hypoelasticity' : 'T', |
143 | 143 | 'hyperelasticity' : 'F', |
144 | 144 | # ========================================================================== |
145 | 145 |
|
|
149 | 149 | 'prim_vars_wrt' :'T', |
150 | 150 | 'parallel_io' :'T', |
151 | 151 | # ========================================================================== |
152 | | - |
| 152 | + |
153 | 153 | # acoustics setting ========================================================= |
154 | | - 'acoustic_source' : 'T', |
| 154 | + 'acoustic_source' : 'T', |
155 | 155 | 'num_source' : 1, |
156 | 156 | 'acoustic(1)%support' : 3, |
157 | 157 | 'acoustic(1)%loc(1)' : 4, |
|
165 | 165 | 'acoustic(1)%height' : dlengz, |
166 | 166 | 'acoustic(1)%dir' : -math.pi, |
167 | 167 | #=========================================================================== |
168 | | - |
| 168 | + |
169 | 169 | # Patch 1: Background ====================================================== |
170 | 170 | 'patch_icpp(1)%geometry' : 9, |
171 | 171 | 'patch_icpp(1)%x_centroid' : 0., |
|
183 | 183 | 'patch_icpp(1)%alpha(1)' : alphal_back, |
184 | 184 | 'patch_icpp(1)%alpha(2)' : alphag_back, |
185 | 185 | #'patch_icpp(1)%tau_e(1)' : 0.0, |
186 | | - |
| 186 | + |
187 | 187 | # ========================================================================== |
188 | 188 |
|
189 | 189 | # Patch 2: Lung ============================================================ |
|
195 | 195 | 'patch_icpp(2)%y_centroid' : dlengy/2., |
196 | 196 | 'patch_icpp(2)%z_centroid' : dlengz/2., |
197 | 197 | 'patch_icpp(2)%length_x' : 2000,#dlengx,#dlengx/2.+2, # |
198 | | - 'patch_icpp(2)%length_y' : dlengy, |
199 | | - 'patch_icpp(2)%length_z' : dlengz, |
200 | | - 'patch_icpp(2)%a2' : interface_amp, |
| 198 | + 'patch_icpp(2)%length_y' : dlengy, |
| 199 | + 'patch_icpp(2)%length_z' : dlengz, |
| 200 | + 'patch_icpp(2)%a(2)' : interface_amp, |
201 | 201 | 'patch_icpp(2)%vel(1)' : 0.E+00, |
202 | 202 | 'patch_icpp(2)%vel(2)' : 0.0, |
203 | 203 | 'patch_icpp(2)%vel(3)' : 0.0, |
|
213 | 213 | 'fluid_pp(1)%pi_inf' : gammal*Bl_n/(gammal-1.E+00), |
214 | 214 | 'fluid_pp(1)%G' : G_l_n, |
215 | 215 | 'fluid_pp(2)%gamma' : 1.E+00/(gammag-1.E+00), |
216 | | - 'fluid_pp(2)%pi_inf' : gammag*Bg_n/(gammag-1.E+00), |
| 216 | + 'fluid_pp(2)%pi_inf' : gammag*Bg_n/(gammag-1.E+00), |
217 | 217 | 'fluid_pp(2)%G' : G_g_n, |
218 | 218 | #============================================================================== |
219 | 219 | })) |
|
0 commit comments