1#ifndef AMREX_BC_TYPES_H_
2#define AMREX_BC_TYPES_H_
3#include <AMReX_Config.H>
6---------------------------------------------------------------------
7 CONVERSIONS FROM PHYSICAL TO MATHEMATICAL BCs
8 Note that it is up to application codes to enforce conversions
11PHYS BC | Velocity | Temperature | Scalars |
12----------------------------------------------------------------------
14 or | INT_DIR | INT_DIR | INT_DIR |
16----------------------------------------------------------------------
18INFLOW | EXT_DIR | EXT_DIR | EXT_DIR |
20----------------------------------------------------------------------
22OUTFLOW | FOEXTRAP | FOEXTRAP | FOEXTRAP |
24----------------------------------------------------------------------
26 with | EXT_DIR | REFLECT_EVEN | FOEXTRAP |
27ADIABATIC TEMP | U = V = 0 | dT/dn = 0 | |
28----------------------------------------------------------------------
30 with | EXT_DIR | EXT_DIR | FOEXTRAP |
31FIXED TEMP | U = V = 0 | | |
32----------------------------------------------------------------------
34 with | Un=0 EXT_DIR | REFLECT_EVEN | HOEXTRAP |
35ADIABATIC TEMP | Ut HOEXTRAP | dT/dn = 0 | |
36----------------------------------------------------------------------
38 with | Un=0 EXT_DIR | EXT_DIR | HOEXTRAP |
39FIXED TEMP | Ut HOEXTRAP | | |
40----------------------------------------------------------------------
42SYMMETRY | Un REFLECT_ODD | REFLECT_EVEN | REFLECT_EVEN |
43 | Ut REFLECT_EVEN| | |
44----------------------------------------------------------------------
47INT_DIR : data taken from other grids or interpolated
48EXT_DIR : data specified on EDGE (FACE)
49EXT_DIR_CC : data specified
at cell center
50HOEXTRAP : higher order extrapolation to EDGE of bndry
51HOEXTRAPCC : linear extrapolation to CELL of bndry
52FOEXTRAP : first order extrapolation from last cell in
interior
53REFLECT_EVEN :
F(-n) =
F(n)
true reflection from
interior cells
54REFLECT_ODD :
F(-n) = -
F(n)
true reflection from
interior cells
62enum physicalBndryTypes :
int {
interior=0,inflow,outflow,symmetry,
63 slipwall,noslipwall,inflowoutflow};
67enum mathematicalBndryTypes :
int {
77 direction_dependent = 7,
AMREX_GPU_HOST_DEVICE Long at(T const &, Long offset) noexcept
Definition AMReX_GpuRange.H:30
Definition AMReX_Amr.cpp:49