Skip to content

Runtime Parameters: Interpolation

Hsi-Yu Schive edited this page Feb 9, 2020 · 14 revisions

This page describes the supported interpolation schemes for (i) grid refinement and (ii) preparing the ghost zones around any coarse-fine boundaries.

Compilation Options

Related options: None

Runtime Parameters

Parameters described on this page: OPT__INT_TIME,   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,  

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]

  • OPT__INT_TIME   (0=off, 1=on)   [1]

    • Description: Enable temporal interpolation when preparing ghost zones.
    • Restriction: Only applicable when adopting the adaptive timestep integration (i.e., OPT__DT_LEVEL=2/3).

  • 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")   [5]

    • 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")   [5]

    • Description: Interpolation scheme for preparing the ghost-zone potential for computing the gravitational acceleration.
    • Restriction:

  • OPT__REF_POT_INT_SCHEME   (see "Supported interpolation schemes")   [5]

    • Description: Interpolation scheme for computing the gravitational potential on the newly refined patches.
    • Restriction:

  • INT_MONO_COEFF   (1.0 ≤ input ≤ 4.0)   [2.0]

    • 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:

Remarks


Links

Clone this wiki locally