Skip to content

Commit 35ec4c3

Browse files
authored
Update case.md
1 parent c8ad8c0 commit 35ec4c3

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

docs/documentation/case.md

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,8 @@ Details of implementation of viscosity in MFC can be found in [Coralic (2015)](r
371371
| `n_start` | Integer | Save file from which to start simulation |
372372
| `t_save` | Real | Time duration between data output |
373373
| `t_stop` | Real | Simulation stop time |
374-
| `surface_tension` | Logical | Activate surface tension. Requires `surface_tension = T` |
375-
| `viscous` | Logical | Activate viscosity Requires `viscous = T` |
374+
| `surface_tension` | Logical | Activate surface tension |
375+
| `viscous` | Logical | Activate viscosity |
376376

377377
- \* Options that work only with `model_eqns = 2`.
378378
- † Options that work only with ``cyl_coord = 'F'``.
@@ -447,37 +447,37 @@ If this option is false, velocity gradient is computed using finite difference s
447447
- `weno_avg` it activates the arithmetic average of the left and right, WENO-reconstructed, cell-boundary values.
448448
This option requires `weno_Re_flux` to be true because cell boundary values are only utilized when employing the scalar divergence method in the computation of velocity gradients.
449449

450-
- `surface_tension` activates surface tension when set to `'T'`. Requires `sigma` to be set.
450+
- `surface_tension` activates surface tension when set to ``'T'``. Requires `sigma` to be set.
451451

452-
- `viscous` activates viscosity when set to `'T'`. Requires `Re(1)` and `Re(2)` to be set.
452+
- `viscous` activates viscosity when set to ``'T'``. Requires `Re(1)` and `Re(2)` to be set.
453453

454454
#### Constant Time-Stepping
455455

456-
- `dt` specifies the constant time step size that is used in simulation.
457-
The value of `dt` needs to be sufficiently small such that the Courant-Friedrichs-Lewy (CFL) condition is satisfied.
456+
- `dt` specifies the constant time step size used in the simulation.
457+
The value of `dt` needs to be sufficiently small to satisfy the Courant-Friedrichs-Lewy (CFL) condition.
458458

459-
- `t_step_start` and `t_step_end` define the time steps at which simulation starts and ends, respectively.
459+
- `t_step_start` and `t_step_end` define the time steps at which the simulation starts and ends.
460460

461461
`t_step_save` is the time step interval for data output during simulation.
462462
To newly start the simulation, set `t_step_start = 0`.
463-
To restart simulation from $k$-th time step, set `t_step_start = k`, see [Restarting Cases](running.md#restarting-cases).
463+
To restart the simulation from $k$-th time step, set `t_step_start = k`; see [Restarting Cases](running.md#restarting-cases).
464464

465465
##### Adaptive Time-Stepping
466466

467467
- `cfl_adap_dt` enables adaptive time stepping with a constant CFL when true
468468

469-
- `cfl_const_dt` enables constant dt time-stepping where dt results in a specified CFL for the initial condition
469+
- `cfl_const_dt` enables constant `dt` time-stepping where `dt` results in a specified CFL for the initial condition
470470

471471
- `cfl_target` specifies the target CFL value
472472

473473
- `n_start` specifies the save file to start at
474474

475-
- `t_save` specifies the time interval between data output during simulation
475+
- `t_save` specifies the time interval between data output during the simulation
476476

477477
- `t_stop` specifies at what time the simulation should stop
478478

479479
To newly start the simulation, set `n_start = 0`.
480-
To restart simulation from $k$-th time step, see [Restarting Cases](running.md#restarting-cases).
480+
To restart the simulation from $k$-th time step, see [Restarting Cases](running.md#restarting-cases).
481481

482482
### 7. Formatted Output
483483

@@ -518,23 +518,23 @@ The table lists formatted database output parameters. The parameters define vari
518518

519519
- `parallel_io` activates parallel input/output (I/O) of data files. It is highly recommended to activate this option in a parallel environment.
520520
With parallel I/O, MFC inputs and outputs a single file throughout pre-process, simulation, and post-process, regardless of the number of processors used.
521-
Parallel I/O enables the use of different number of processors in each of the processes (i.e., simulation data generated using 1000 processors can be post-processed using a single processor).
521+
Parallel I/O enables the use of different numbers of processors in each process (e.g., simulation data generated using 1000 processors can be post-processed using a single processor).
522522

523523
- `file_per_process` deactivates shared file MPI-IO and activates file per process MPI-IO.
524524
The default behavior is to use a shared file.
525-
File per process is useful when running on 10's of thousands of ranks.
525+
File per process is useful when running on >10K ranks.
526526
If `file_per_process` is true, then pre_process, simulation, and post_process must be run with the same number of ranks.
527527

528-
- `cons_vars_wrt` and `prim_vars_wrt` activate output of conservative and primitive state variables into the database, respectively.
528+
- `cons_vars_wrt` and `prim_vars_wrt` activate the output of conservative and primitive state variables into the database.
529529

530-
- `[variable's name]_wrt` activates output of the each specified variable into the database.
530+
- `[variable's name]_wrt` activates the output of each specified variable into the database.
531531

532532
- `schlieren_alpha(i)` specifies the intensity of the numerical Schlieren of $i$-th component.
533533

534-
- `fd_order` specifies the order of the finite difference scheme that is used to compute the vorticity from the velocity field and the numerical schlieren from the density field by an integer of 1, 2, and 4.
535-
`fd_order = 1`, `2`, and `4` correspond to the first, second, and fourth-order finite difference schemes, respectively.
534+
- `fd_order` specifies the order of the finite difference scheme used to compute the vorticity from the velocity field and the numerical schlieren from the density field using an integer of 1, 2, and 4.
535+
`fd_order = 1`, `2`, and `4` correspond to the first, second, and fourth-order finite difference schemes.
536536

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

539539

540540
### 8. Acoustic Source {#acoustic-source}
@@ -597,15 +597,15 @@ Details of the transducer acoustic source model can be found in [Maeda and Colon
597597

598598
- `%%foc_length` specifies the focal length of the transducer for transducer waves. It is the distance from the transducer to the focal point.
599599

600-
- `%%aperture` specifies the aperture of the transducer. It is the diameter of the projection of the transducer arc onto the y-axis (2D) or spherical cap onto the y-z plane (3D). To simulate a transducer enclosing half of the circle/sphere, set the aperture to double the focal length. For transducer array, it is the total aperture of the array.
600+
- `%%aperture` specifies the aperture of the transducer. It is the diameter of the projection of the transducer arc onto the y-axis (2D) or spherical cap onto the y-z plane (3D). Set the aperture to double the focal length to simulate a transducer enclosing half of the circle/sphere. For the transducer array, it is the total aperture of the array.
601601

602602
- `%%num_elements` specifies the number of transducer elements in a transducer array.
603603

604-
- `%%element_on` specifies the element number of the transducer array that is on. The element number starts from 1. If all elements are on, set `%%element_on` to 0.
604+
- `%%element_on` specifies the element number of the transducer array that is on. The element number starts from 1, if all elements are on, set `%%element_on` to 0.
605605

606-
- `%%element_spacing_angle` specifies the spacing angle between adjacent transducer in radians. The total aperture (`%%aperture`) is set, so each transducer element is smaller if `%%element_spacing_angle` is larger.
606+
- `%%element_spacing_angle` specifies the spacing angle between adjacent transducers in radians. The total aperture (`%%aperture`) is set, so each transducer element is smaller if `%%element_spacing_angle` is larger.
607607

608-
- `%%element_polygon_ratio` specifies the ratio of the polygon side length to the aperture diameter of each transducer element in a circular 3D transducer array. The polygon side length is calculated by using the total aperture (`%%aperture`) as the circumcicle diameter, and `%%num_elements` as the number of sides of the polygon. The ratio is used specify the aperture size of each transducer element in the array, as a ratio of the total aperture.
608+
- `%%element_polygon_ratio` specifies the ratio of the polygon side length to the aperture diameter of each transducer element in a circular 3D transducer array. The polygon side length is calculated by using the total aperture (`%%aperture`) as the circumcircle diameter and `%%num_elements` as the number of sides of the polygon. The ratio is used to specify the aperture size of each transducer element in the array as a ratio of the total aperture.
609609

610610
- `%%rotate_angle` specifies the rotation angle of the 3D circular transducer array along the x-axis (principal axis). It is optional and defaults to 0.
611611

@@ -633,16 +633,16 @@ Details of the transducer acoustic source model can be found in [Maeda and Colon
633633
| `mu_v`| Real | Viscosity |
634634
| `k_v`| Real | Thermal conductivity |
635635
| `qbmm` | Logical | Quadrature by method of moments|
636-
| `dist_type` | Integer | Joint probability density function for bubble radius and velocity (only when qbmm is true)|
637-
| `sigR` | Real | Standard deviation for probability density function of bubble radius (only when qbmm is true) |
638-
| `sigV` | Real | Standard deviation for probability density function of bubble velocity (only when qbmm is true) |
639-
| `rhoRV` | Real | Correlation coefficient for joint probability density function of bubble radius and velocity (only when qbmm is true) |
636+
| `dist_type` | Integer | Joint probability density function for bubble radius and velocity (only for ``qbmm = 'T'``)|
637+
| `sigR` | Real | Standard deviation for the probability density function of bubble radius (only for ``qbmm = 'T'``) |
638+
| `sigV` | Real | Standard deviation for the probability density function of bubble velocity (only for ``qbmm = 'T'``) |
639+
| `rhoRV` | Real | Correlation coefficient for the joint probability density function of bubble radius and velocity (only for ``qbmm = 'T'``) |
640640

641-
These options work only for gas-liquid two component flows.
641+
These options work only for gas-liquid two-component flows.
642642
Component indexes are required to be 1 for liquid and 2 for gas.
643643

644-
- \* These parameters should be pretended with patch index $1$ that is filled with liquid: `fluid_pp(1)%`.
645-
- † These parameters should be pretended with patch indexes that are respectively filled with liquid and gas: `fluid_pp(1)%` and `fluid_pp(2)%`.
644+
- \* These parameters should be prepended with patch index $1$ that is filled with liquid: `fluid_pp(1)%`.
645+
- † These parameters should be prepended with patch indexes filled with liquid and gas: `fluid_pp(1)%` and `fluid_pp(2)%`.
646646

647647
This table lists the ensemble-averaged bubble model parameters.
648648

@@ -652,9 +652,9 @@ This table lists the ensemble-averaged bubble model parameters.
652652
`bubble_model = 1`, `2`, and `3` correspond to the Gilmore, Keller-Miksis, and Rayleigh-Plesset models.
653653

654654
- `polytropic` activates polytropic gas compression in the bubble.
655-
When `polytropic` is set `False`, the gas compression is modeled as non-polytropic due to heat and mass transfer across the bubble wall with constant heat and mass transfer coefficients based on ([Preston et al., 2007](references.md#Preston07)).
655+
When ``polytropic = 'F'``, the gas compression is modeled as non-polytropic due to heat and mass transfer across the bubble wall with constant heat and mass transfer coefficients based on ([Preston et al., 2007](references.md#Preston07)).
656656

657-
- `polydisperse` activates polydispersity in the bubble model by means of a probability density function (PDF) of the equiliibrium bubble radius.
657+
- `polydisperse` activates polydispersity in the bubble model through a probability density function (PDF) of the equilibrium bubble radius.
658658

659659
- `thermal` specifies a model for heat transfer across the bubble interface by an integer from 1 through 3.
660660
`thermal = 1`, `2`, and `3` correspond to no heat transfer (adiabatic gas compression), isothermal heat transfer, and heat transfer with a constant heat transfer coefficient based on [Preston et al., 2007](references.md#Preston07), respectively.
@@ -679,17 +679,17 @@ Implementation of the parameters into the model follow [Ando (2010)](references.
679679

680680
- `dist_type` specifies the initial joint PDF of initial bubble radius and bubble velocity required in qbmm. `dist_type = 1` and `2` correspond to binormal and lognormal-normal distributions respectively.
681681

682-
- `sigR` specifies the standard deviation of the PDF of bubble radius required in qbmm.
682+
- `sigR` specifies the standard deviation of the PDF of bubble radius required in the QBMM feature.
683683

684-
- `sigV` specifies the standard deviation of the PDF of bubble velocity required in qbmm.
684+
- `sigV` specifies the standard deviation of the PDF of bubble velocity required in the QBMM feature.
685685

686-
- `rhoRV` specifies the correlation coefficient of the joint PDF of bubble radius and bubble velocity required in qbmm.
686+
- `rhoRV` specifies the correlation coefficient of the joint PDF of bubble radius and bubble velocity required in the QBMM feature.
687687

688688
### 10. Velocity Field Setup
689689

690690
| Parameter | Type | Description |
691691
| ---: | :----: | :--- |
692-
| `perturb_flow` | Logical | Perturb the initlial velocity field by random noise |
692+
| `perturb_flow` | Logical | Perturb the initial velocity field by random noise |
693693
| `perturb_flow_fluid` | Integer | Fluid density whose flow is to be perturbed |
694694
| `perturb_flow_mag` | Real | Set the magnitude of flow perturbations |
695695
| `perturb_sph` | Logical | Perturb the initial partial density by random noise |
@@ -704,15 +704,15 @@ The parameters are optionally used to define initial velocity profiles and pertu
704704

705705
- `perturb_flow` activates the perturbation of initial velocity by random noise.
706706

707-
- `perturb_flow_fluid` specifies the fluid component whose flow is to be perturbed.
707+
- `perturb_flow_fluid` specifies the fluid component whose flow will be perturbed.
708708

709709
- `perturb_flow` activates the perturbation of initial velocity by random noise.
710710

711711
- `perturb_sph` activates the perturbation of initial partial density by random noise.
712712

713713
- `perturb_sph_fluid` specifies the fluid component whose partial density is to be perturbed.
714714

715-
- `mixlayer_vel_profile` activates setting of the mean streamwise velocity to hyperbolic tangent profile. This option works only for 2D and 3D cases.
715+
- `mixlayer_vel_profile` activates setting the mean streamwise velocity to a hyperbolic tangent profile. This option works only for 2D and 3D cases.
716716

717717
- `mixlayer_vel_coef` is a parameter for the hyperbolic tangent profile of a mixing layer when `mixlayer_vel_profile = 'T'`. The mean streamwise velocity profile is given as:
718718

@@ -734,7 +734,7 @@ $$ u = patch\_icpp(1)\%vel(1) * tanh(y\_cc * mixlayer\_vel\_profile) $$
734734

735735
- `relax_model` Specifies the phase change model to be used: [5] enables pT-equilibrium, while [6] activates pTg-equilibrium (if criteria are met).
736736

737-
- `palpha_eps` Specifies the tolerance used for the Newton Solvers used in the pT-equilibrium model.
737+
- `palpha_eps` Specifies the tolerance for the Newton Solvers used in the pT-equilibrium model.
738738

739739
- `ptgalpha_eps` Specifies the tolerance used for the Newton Solvers used in the pTg-equilibrium model.
740740

@@ -846,7 +846,7 @@ Each patch requires a different set of parameters, which are also listed in this
846846
| 10 | Annular Transducer Array | 2D-Axisym | #9 requirements |
847847
| 11 | Circular Transducer Array | 3D | #7 requirements, `%%element_polygon_ratio`, and `%%rotate_angle` |
848848

849-
Details of the required parameters for each acoustic support type are listed in [Acoustic Source](#acoustic-source).
849+
The required parameters for each acoustic support type are listed in [Acoustic Source](#acoustic-source).
850850
The acoustic support number (`#`) corresponds to the acoustic support type `Acoustic(i)%%support`, where $i$ is the acoustic source index.
851851
For each `%%parameter`, prepend the parameter with `acoustic(i)%`.
852852

@@ -855,7 +855,7 @@ Additional requirements for all acoustic support types:
855855

856856
- `num_source` must be set to the total number of acoustic sources.
857857

858-
- `%%support` must be set to the acoustic support number listed in the table.
858+
- `%%support` must be set to the acoustic support number in the table.
859859

860860
- `%%dipole` is only supported for planar sources.
861861

0 commit comments

Comments
 (0)