-
Notifications
You must be signed in to change notification settings - Fork 59
Runtime Parameters: Interpolation
Hsi-Yu Schive edited this page Jul 18, 2022
·
14 revisions
This page describes the supported interpolation schemes for (i) grid refinement and (ii) preparing the ghost zones around any coarse-fine boundaries.
Related options: None
Parameters described on this page: OPT__INT_TIME, OPT__INT_PRIM, OPT__FLU_INT_SCHEME, OPT__REF_FLU_INT_SCHEME, OPT__MAG_INT_SCHEME, OPT__REF_MAG_INT_SCHEME, OPT__POT_INT_SCHEME, OPT__RHO_INT_SCHEME, OPT__GRA_INT_SCHEME, OPT__REF_POT_INT_SCHEME, INT_MONO_COEFF, MONO_MAX_ITER, INT_OPP_SIGN_0TH_ORDER
Other related parameters: None
Supported interpolation schemes:
ID | Interpolation Scheme |
---|---|
-1 | Set to default |
1 | 3D MinMod limiter |
2 | 1D MinMod limiter |
3 | vanLeer limiter |
4 | Conservative quadratic |
5 | Non-conservative quadratic |
6 | Conservative quartic |
7 | Non-conservative quartic |
Parameters below are shown in the format: Name
(Valid Values) [Default Value]
-
- Description: Enable temporal interpolation when preparing ghost zones.
- Restriction: Only applicable when adopting the adaptive timestep integration (i.e., OPT__DT_LEVEL=2/3).
-
- Description: Perform interpolation on primitive variables when interpolation on conserved variables fails.
- Restriction:
-
OPT__FLU_INT_SCHEME
(see "Supported interpolation schemes") [-1]- Description: Interpolation scheme for preparing the ghost zones of the fluid solver.
- Restriction:
-
OPT__REF_FLU_INT_SCHEME
(see "Supported interpolation schemes") [-1]- Description: Interpolation scheme for computing the fluid variables on the newly refined patches.
- Restriction:
-
OPT__MAG_INT_SCHEME
(only 2, 3, 4, 6 in "Supported interpolation schemes") [4]- Description: Interpolation scheme for preparing the ghost-zone magnetic field of the fluid solver.
- Restriction: For MHD only.
-
OPT__REF_MAG_INT_SCHEME
(only 2, 3, 4, 6 in "Supported interpolation schemes") [4]- Description: Interpolation scheme for computing the magnetic field on the newly refined patches.
- Restriction: For MHD only.
-
OPT__POT_INT_SCHEME
(only 4 & 5 in "Supported interpolation schemes") [4]- Description: Interpolation scheme for preparing the ghost-zone potential for the Poisson solver.
- Restriction:
-
OPT__RHO_INT_SCHEME
(see "Supported interpolation schemes") [4]- Description: Interpolation scheme for preparing the ghost-zone mass density for the Poisson solver.
- Restriction:
-
OPT__GRA_INT_SCHEME
(see "Supported interpolation schemes") [4]- Description: Interpolation scheme for preparing the ghost-zone potential for computing the gravitational acceleration.
- Restriction:
-
OPT__REF_POT_INT_SCHEME
(see "Supported interpolation schemes") [4]- Description: Interpolation scheme for computing the gravitational potential on the newly refined patches.
- Restriction:
-
- Description: Slope limiter coefficient for ensuring monotonicity in interpolation. The interpolation results become more diffusive (and presumably also more stable) when adopting a smaller value.
- Restriction:
-
- Description: Maximum number of iterations to reduce INT_MONO_COEFF when interpolation fails. It improves code stability.
- Restriction:
-
- Description: Apply 0th-order interpolation if the values to be interpolated change signs in adjacent cells. This helps avoid introducing unphysically large velocity in low-density valleys.
- Restriction:
Getting Started
User Guide
- Installation
- Running the Code
- Adding New Simulations
- Runtime Parameters
- MPI and OpenMP
- GPU
- Physics Modules
- Outputs
- Simulation Logs
- Data Analysis
- In Situ Python Analysis
- Test Problems
- Troubleshooting
Advanced Topics
Developer Guide