You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where `x_cb` and `x_[cb,stretch]` are the coordinates of a cell boundary at the original and stretched domains, respectively. `L` is the domain length along the `x` axis: `L`=`x_domain%end`-`x_domain%beg`. Crudely speaking, `x_a` and `x_b` define the coordinates at which the grid begins to get stretched in the negative and positive directions along the $x$ axis, respectively. $a_x$ defines the smoothness of the stretching. Stretching along the $y$ and $z$ axes follows the same logistics. Optimal choice of the parameters for grid stretching is case-dependent and left to the user.
119
+
where `x_cb` and `x_[cb,stretch]` are the coordinates of a cell boundary at the original and stretched domains, respectively. `L` is the domain length along the `x` axis: `L`=`x_domain%end`-`x_domain%beg`. Crudely speaking, `x_a` and `x_b` define the coordinates at which the grid begins to get stretched in the negative and positive directions along the $x$ axis, respectively. $a_x$ defines the smoothness of the stretching. Stretching along the $y$ and $z$ axes follows the same logistics. Optimal choice of the parameters for grid stretching is case-dependent and left to the user. `loops_x[y,z]` defines the number of times
120
+
the grid stretching funciton is applied and has a default value of one.
122
121
123
122
-`cyl_coord` activates cylindrical coordinates. The domain is defined in $x$-$y$-$z$ cylindrical coordinates, instead of Cartesian coordinates. Domain discritization is accordingly conducted along the axes of cylindrical coordinates. Wnen $p=0$, the domain is defined on $x$-$y$ axi-symmetric coordinates. In both Coordinates, mesh stretching can be defined along the $x$- and $y$-axes. MPI topology is automatically optimized to maximize the parallel efficiency for given choice of coordinate systems.
124
123
@@ -203,24 +202,15 @@ Details of implementation of viscosity in MFC can be found in [Coralic (2015)](r
203
202
|`adv_alphan`| Logical | Equations for all $N$ volume fractions (instead of $N-1$) |
-\* Options that work only with `model_eqns` $=2$.
226
216
- † Options that work only with `cyl_coord` $=$ `False`.
@@ -252,16 +242,10 @@ where $\alpha_i$ is the void fraction of $i$-th component. When a single-compone
252
242
-`time_stepper` specifies the order of the Runge-Kutta (RK) time integration scheme that is used for temporal integration in simulation, from the 1st to 5th order by corresponding integer.
253
243
Note that `time_stepper` $=$ 3 specifies the total variation diminishing (TVD), third order RK scheme ([Gottlieb and Shu, 1998](references.md#Gottlieb98)).
254
244
255
-
-`weno_vars` specifies the choice of state variables that are reconstructed using a WENO scheme by an integer of 1 or 2.
256
-
257
-
-`weno_vars` $=$ 1 and 2 correspond to conservative variables and primitive variables, respectively.
258
-
259
245
-`weno_order` specifies the order of WENO scheme that is used for spatial reconstruction of variables by an integer of 1, 3, and 5, that correspond to the 1st, 3rd, and 5th order, respectively.
260
246
261
247
-`weno_eps` specifies the lower bound of the WENO nonlinear weights. Practically, `weno_eps` $<10^{-6}$ is used.
262
248
263
-
-`char_decomp` activates projection of the state variables onto characteristic fields prior to WENO reconstruction.
264
-
265
249
-`mapped_weno` activates mapping of the nonlinear WENO weights to the more accurate nonlinear weights in order to reinstate the optimal order of accuracy of the reconstruction in the proximity of critical points ([Henrick et al., 2005](references.md#Henrick05)).
266
250
267
251
-`null_weights` activates nullification of the nonlinear WENO weights at the buffer regions outside the domain boundaries when the Riemann extrapolation boundary condition is specified (`bc_[x,y,z]\%beg[end]}` $=-4$).
@@ -275,19 +259,6 @@ Note that `time_stepper` $=$ 3 specifies the total variation diminishing (TVD),
275
259
-`wave_speeds` specifies the choice of the method to compute the left, right, and middle wave speeds in the Riemann solver by an integer of 1 and 2.
276
260
`wave_speeds` $=$ 1 and 2 correspond to the direct method ([Batten et al., 1997](references.md#Batten97)), and indirect method that approximates the pressures and velocity ([Toro, 2013](references.md#Toro13)), respectively.
277
261
278
-
-`commute_err` activates WENO reconstruction of the cell-averaged variables at the cell-interior Gaussian quadrature points, following the two-point, fourth order Gaussian quadrature rule ([Titarev and Toro, 2004](references.md#Titarev04)).
279
-
280
-
-`split_err` activates numerical approximation of the left or right cell-boundary integral-average of the given variables by getting the arithmetic mean of their WENO-reconstructed values at the cell-boundary Gaussian quadrature points, following the two-point, fourth order Gaussian quadrature rule ([Titarev and Toro, 2004](references.md#Titarev04)). When `commute_err` and `split_err` are set `True` and the 5th-order WENO is used, the global order of accuracy of the spatial integration of the governing equations becomes fourth order ([Coralic and Colonius, 2014](references.md#Coralic14)).
281
-
282
-
-`reg_eps` specifies the magnitude of interface regularization for two-component flows that prevents diffusion of the phase interface ([Tiwari et al., 2013](references.md#Tiwari13)). The default value of `reg_eps` is unity. When `reg_eps` is undefined, interface regularization is not used. Details of implementation and assessment are addressed in [Meng (2016)](references.md#Meng16); [Schmidmayer et al. (2019)](references.md#Schmidmayer19).
283
-
284
-
-`flux_lim` specifies the choice of flux limiter that is used in simulation by an integer from 1 through 7 as listed in table [Flux Limiters](#flux-limiters). When `flux_lim` is undefined, flux limiter is not applied. Details of the limiters and their implementations in MFC can be found in [Meng (2016)](references.md#Meng16).
285
-
286
-
-`tvd_rhs_flux` activates a specified flux limiter to inte-rcell fluxes outside Riemann solver.
287
-
288
-
-`tvd_riemann_flux` activate a specified flux limiter to cell edges inside the Riemann solver. `tvd_rhs_flux` and `tvd_riemann_flux` are mutually exclusive.
289
-
290
-
-`tvd_wave_speeds` activates the use of the TVD wave speeds for flux computation inside the Riemann solver when `tvd_riemann_flux` is set `True`.
291
262
292
263
### 6. Formatted Output
293
264
@@ -298,8 +269,7 @@ Note that `time_stepper` $=$ 3 specifies the total variation diminishing (TVD),
|`fourier_decomp`| Logical | Apply a spatial Fourier decomposition to the output variables |
302
-
|`alpha_rho_wrt(i)`| Logical | Add the partial density of the fluid $i$ to the database |
272
+
|`alpha_rho_wrt(i)`| Logical | Add the partial density of the fluid $i$ to the database \|
303
273
|`rho_wrt`| Logical | Add the mixture density to the database |
304
274
|`mom_wrt(i)`| Logical | Add the $i$-direction momentum to the database |
305
275
|`vel_wrt(i)`| Logical | Add the $i$-direction velocity to the database |
@@ -319,8 +289,6 @@ Note that `time_stepper` $=$ 3 specifies the total variation diminishing (TVD),
319
289
|`probe_wrt`| Logical | Write the flow chosen probes data files for each time step |
320
290
|`num_probes`| Integer | Number of probes |
321
291
|`probe(i)%[x,y,z]`| Real | Coordinates of probe $i$ |
322
-
|`com_wrt(i)`| Logical | Add the center of mass of fluid $i$ to the database |
323
-
|`cb_wrt(i)`| Logical | Add coherent body data of fluid $i$ to the database |
324
292
325
293
The table lists formatted database output parameters. The parameters define variables that are outputted from simulation and file types and formats of data as well as options for post-processing.
326
294
@@ -342,10 +310,6 @@ Parallel I/O enables the use of different number of processors in each of the pr
342
310
343
311
-`probe_wrt` activates output of state variables at coordinates specified by `probe(i)%[x;y,z]`.
344
312
345
-
-`com_wrt(i)` activates output of the center of mass of $i$-th fluid component into the database.
346
-
347
-
-`cb_wrt(i)` activates output of the coherent body mass of $i$-th fluid component in the domain into the database.
348
-
349
313
350
314
### 7. Acoustic Source
351
315
@@ -468,7 +432,7 @@ The table lists velocity field parameters. The parameters are optionally used to
@@ -511,20 +475,6 @@ corresponds to the input value in `input.py` labeled `patch_icpp(j)%geometry` w
511
475
$j$ is the patch index. Each patch requires a different set of parameters, which are
512
476
also listed in this table.
513
477
514
-
### Flux limiters
515
-
516
-
| # | Description |
517
-
| ---: | :---- |
518
-
| 1 | Minmod |
519
-
| 2 | MC |
520
-
| 3 | Ospre |
521
-
| 4 | Superbee |
522
-
| 5 | Sweby |
523
-
| 6 | van Albada |
524
-
| 7 | van Leer |
525
-
526
-
The flux limiters supported by the MFC are listed in table [Flux Limiters](#flux-limiters). Each limiter can be specified by specifying the value of `flux_lim`. Details of their implementations can be found in [Meng (2016)](references.md#Meng16).
0 commit comments