Skip to content

Commit fdfe245

Browse files
committed
remove documentation of nonexistent features
1 parent 970a821 commit fdfe245

File tree

36 files changed

+22
-115
lines changed

36 files changed

+22
-115
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,4 @@ examples/*/binary
4040
examples/*/fort.1
4141
examples/*/*.sh
4242
examples/*/*.err
43+
*.mod

docs/documentation/case.md

Lines changed: 4 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,8 @@ Definition of the parameters is described in the following subsections.
7474

7575
| Parameter | Type | Description |
7676
| ---: | :----: | :--- |
77-
| `case_dir` | String | Case script directory |
7877
| `run_time_info` | Logical | Output run-time information |
7978

80-
- `case_dir` specifies the directory where the python input file is located.
81-
8279
- `run_time_info` generates a text file that includes run-time information including the CFL number(s) at each time-step.
8380

8481
### 2. Computational Domain
@@ -90,6 +87,7 @@ Definition of the parameters is described in the following subsections.
9087
| `a_x[y,z]` | Real | Rate at which the grid is stretched in the $x$[y,z]-direction |
9188
| `x[y,z]_a` | Real | Beginning of the stretching in the negative $x$[y,z]-direction |
9289
| `x[y,z]_b` | Real | Beginning of the stretching in the positive $x$[y,z]-direction |
90+
| `loops_x[y,z]` | Integer | Number of times to recursively apply grid stretching |
9391
| `cyl_coord` | Logical | Cylindrical coordinates (2D: Axisymmetric, 3D: Cylindrical) |
9492
| `m` | Integer | Number of grid cells in the $x$-coordinate direction |
9593
| `n` | Integer | Number of grid cells in the $y$-coordinate direction |
@@ -117,7 +115,8 @@ The grid is gradually stretched such that the domain boundaries are pushed away
117115

118116
$$ x_{cb,stretch} = x_{cb} + \frac{x_{cb}}{a_x} \Bigg[ \mathrm{log}\left[\mathrm{cosh} \left( \frac{a_x(x_{cb}-x_a)}{L} \right) \right] + \mathrm{log}\left[\mathrm{cosh} \left( \frac{a_x(x_{cb}-x_b)}{L} \right) \right] -2 \mathrm{log}\left[\mathrm{cosh} \left( \frac{a_x(x_b-x_a)}{2L} \right) \right] \Bigg] $$
119117

120-
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.
118+
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
119+
the grid stretching funciton is applied and has a default value of one.
121120

122121
- `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.
123122

@@ -202,24 +201,15 @@ Details of implementation of viscosity in MFC can be found in [Coralic (2015)](r
202201
| `adv_alphan` | Logical | Equations for all $N$ volume fractions (instead of $N-1$) |
203202
| `mpp_lim` | Logical | Mixture physical parameters limits |
204203
| `mixture_err` | Logical | Mixture properties correction |
205-
| `time_stepper` | Integer | Runge--Kutta order [1--5] |
206-
| `weno_vars` | Integer | WENO reconstruction on [1] Conservative; [2] Primitive variables |
204+
| `time_stepper` | Integer | Runge--Kutta order [1--3] |
207205
| `weno_order` | Integer | WENO order [1,3,5] |
208206
| `weno_eps` | Real | WENO perturbation (avoid division by zero) |
209-
| `char_decomp` | Logical | Characteristic decomposition |
210207
| `mapped_weno` | Logical | WENO with mapping of nonlinear weights |
211208
| `null_weights` | Logical | Null WENO weights at boundaries |
212209
| `mp_weno` | Logical | Monotonicity preserving WENO |
213210
| `riemann_solver` | Integer | Riemann solver algorithm: [1] HLL*; [2] HLLC; [3] Exact* |
214211
| `avg_state` | Integer | Averaged state evaluation method: [1] Roe averagen*; [2] Arithmetic mean |
215212
| `wave_speeds` | Integer | Wave-speed estimation: [1] Direct (Batten et al. 1997); [2] Pressure-velocity* (Toro 1999) |
216-
| `commute_err`* | Logical | Commutative error correction via cell-interior quadrature |
217-
| `split_err`* | Logical | Dimensional splitting error correction via cell-boundary |
218-
| `reg_eps` * | Real | Interface thickness parameter for regularization terms |
219-
| `flux_lim` * | Integer | Choice of flux limiter: [1] Minmod; [2] MC; [3] Ospre; [4] Superbee; [5] Sweby; [6] van Albada; [7] van Leer. |
220-
| `tvd_rhs_flux` * | Logical | Apply TVD flux limiter to intercell fluxes outside Riemann solver |
221-
| `tvd_riemann_flux` * | Logical | Apply TVD flux limiter to cell edges inside Riemann solver |
222-
| `tvd_wave_speeds` * | Logical | TVD wave-speeds for flux computation inside Riemann solver |
223213

224214
- \* Options that work only with `model_eqns` $=2$.
225215
- † Options that work only with `cyl_coord` $=$ `False`.
@@ -251,16 +241,10 @@ where $\alpha_i$ is the void fraction of $i$-th component. When a single-compone
251241
- `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.
252242
Note that `time_stepper` $=$ 3 specifies the total variation diminishing (TVD), third order RK scheme ([Gottlieb and Shu, 1998](references.md#Gottlieb98)).
253243

254-
- `weno_vars` specifies the choice of state variables that are reconstructed using a WENO scheme by an integer of 1 or 2.
255-
256-
- `weno_vars` $=$ 1 and 2 correspond to conservative variables and primitive variables, respectively.
257-
258244
- `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.
259245

260246
- `weno_eps` specifies the lower bound of the WENO nonlinear weights. Practically, `weno_eps` $<10^{-6}$ is used.
261247

262-
- `char_decomp` activates projection of the state variables onto characteristic fields prior to WENO reconstruction.
263-
264248
- `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)).
265249

266250
- `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$).
@@ -274,19 +258,6 @@ Note that `time_stepper` $=$ 3 specifies the total variation diminishing (TVD),
274258
- `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.
275259
`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.
276260

277-
- `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)).
278-
279-
- `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)).
280-
281-
- `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).
282-
283-
- `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).
284-
285-
- `tvd_rhs_flux` activates a specified flux limiter to inte-rcell fluxes outside Riemann solver.
286-
287-
- `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.
288-
289-
- `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`.
290261

291262
### 6. Formatted Output
292263

@@ -297,7 +268,6 @@ Note that `time_stepper` $=$ 3 specifies the total variation diminishing (TVD),
297268
| `parallel_io` | Logical | Parallel I/O |
298269
| `cons_vars_wrt` | Logical | Write conservative variables \|
299270
| `prim_vars_wrt` | Logical | Write primitive variables |
300-
| `fourier_decomp` | Logical | Apply a spatial Fourier decomposition to the output variables |
301271
| `alpha_rho_wrt(i)` | Logical | Add the partial density of the fluid $i$ to the database \|
302272
| `rho_wrt` | Logical | Add the mixture density to the database |
303273
| `mom_wrt(i)` | Logical | Add the $i$-direction momentum to the database |
@@ -317,8 +287,6 @@ Note that `time_stepper` $=$ 3 specifies the total variation diminishing (TVD),
317287
| `probe_wrt` | Logical | Write the flow chosen probes data files for each time step |
318288
| `num_probes` | Integer | Number of probes |
319289
| `probe(i)%[x,y,z]` | Real | Coordinates of probe $i$ |
320-
| `com_wrt(i)` | Logical | Add the center of mass of fluid $i$ to the database |
321-
| `cb_wrt(i)` | Logical | Add coherent body data of fluid $i$ to the database |
322290

323291
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.
324292

@@ -340,10 +308,6 @@ Parallel I/O enables the use of different number of processors in each of the pr
340308

341309
- `probe_wrt` activates output of state variables at coordinates specified by `probe(i)%[x;y,z]`.
342310

343-
- `com_wrt(i)` activates output of the center of mass of $i$-th fluid component into the database.
344-
345-
- `cb_wrt(i)` activates output of the coherent body mass of $i$-th fluid component in the domain into the database.
346-
347311

348312
### 7. Acoustic Source
349313

@@ -486,20 +450,6 @@ corresponds to the input value in `input.py` labeled `patch_icpp(j)%geometry` w
486450
$j$ is the patch index. Each patch requires a different set of parameters, which are
487451
also listed in this table.
488452

489-
### Flux limiters
490-
491-
| # | Description |
492-
| ---: | :---- |
493-
| 1 | Minmod |
494-
| 2 | MC |
495-
| 3 | Ospre |
496-
| 4 | Superbee |
497-
| 5 | Sweby |
498-
| 6 | van Albada |
499-
| 7 | van Leer |
500-
501-
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).
502-
503453
### Monopole supports
504454

505455
| # | Description |

examples/0D_qbmm/case.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@
8383
'mpp_lim' : 'F',
8484
'mixture_err' : 'F',
8585
'time_stepper' : 1,
86-
'weno_vars' : 2,
8786
'weno_order' : 3,
8887
'weno_eps' : 1.E-16,
8988
'mapped_weno' : 'T',

examples/1D_bubblescreen/case.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@
9999
'mpp_lim' : 'F',
100100
'mixture_err' : 'F',
101101
'time_stepper' : 3,
102-
'weno_vars' : 2,
103102
'weno_order' : 5,
104103
'weno_eps' : 1.E-16,
105104
'mapped_weno' : 'T',

examples/1D_exp_bubscreen/case.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@
112112
'mpp_lim' : 'F',
113113
'mixture_err' : 'F',
114114
'time_stepper' : 3,
115-
'weno_vars' : 2,
116115
'weno_order' : 5,
117116
'weno_eps' : 1.E-16,
118117
'mapped_weno' : 'T',

examples/1D_hypo_2materials/case.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@
3737
'adv_alphan' : 'T',
3838
'mpp_lim' : 'F',
3939
'mixture_err' : 'F',
40-
'time_stepper' : 3,
41-
'weno_vars' : 2,
40+
'time_stepper' : 3,
4241
'weno_order' : 3,
4342
'weno_eps' : 1.E-16,
4443
'mapped_weno' : 'F',

examples/1D_impact/case.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@
3737
'adv_alphan' : 'T',
3838
'mpp_lim' : 'F',
3939
'mixture_err' : 'F',
40-
'time_stepper' : 3,
41-
'weno_vars' : 2,
40+
'time_stepper' : 3,
4241
'weno_order' : 3,
4342
'weno_eps' : 1.E-16,
4443
'mapped_weno' : 'F',

examples/1D_kapilashocktube/case.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
'mpp_lim' : 'F',
2828
'mixture_err' : 'F',
2929
'time_stepper' : 3,
30-
'weno_vars' : 2,
3130
'weno_order' : 5,
3231
'weno_eps' : 1.E-16,
3332
'mapped_weno' : 'T',

examples/1D_poly_bubscreen/case.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@
104104
'mpp_lim' : 'F',
105105
'mixture_err' : 'F',
106106
'time_stepper' : 1,
107-
'weno_vars' : 2,
108107
'weno_order' : 1,
109108
'weno_eps' : 1.E-16,
110109
'mapped_weno' : 'F',

examples/1D_qbmm/case.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
'mpp_lim' : 'F',
107107
'mixture_err' : 'F',
108108
'time_stepper' : 3,
109-
'weno_vars' : 2,
110109
'weno_order' : 5,
111110
'weno_eps' : 1.E-16,
112111
'mapped_weno' : 'T',

0 commit comments

Comments
 (0)