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
11 PHYS BC | Velocity | Temperature | Scalars |
12 ----------------------------------------------------------------------
14 or | INT_DIR | INT_DIR | INT_DIR |
16 ----------------------------------------------------------------------
18 INFLOW | EXT_DIR | EXT_DIR | EXT_DIR |
20 ----------------------------------------------------------------------
22 OUTFLOW | FOEXTRAP | FOEXTRAP | FOEXTRAP |
24 ----------------------------------------------------------------------
26 with | EXT_DIR | REFLECT_EVEN | FOEXTRAP |
27 ADIABATIC TEMP | U = V = 0 | dT/dn = 0 | |
28 ----------------------------------------------------------------------
30 with | EXT_DIR | EXT_DIR | FOEXTRAP |
31 FIXED TEMP | U = V = 0 | | |
32 ----------------------------------------------------------------------
34 with | Un=0 EXT_DIR | REFLECT_EVEN | HOEXTRAP |
35 ADIABATIC TEMP | Ut HOEXTRAP | dT/dn = 0 | |
36 ----------------------------------------------------------------------
38 with | Un=0 EXT_DIR | EXT_DIR | HOEXTRAP |
39 FIXED TEMP | Ut HOEXTRAP | | |
40 ----------------------------------------------------------------------
42 SYMMETRY | Un REFLECT_ODD | REFLECT_EVEN | REFLECT_EVEN |
43 | Ut REFLECT_EVEN| | |
44 ----------------------------------------------------------------------
47 INT_DIR : data taken from other grids or interpolated
48 EXT_DIR : data specified on EDGE (FACE)
49 EXT_DIR_CC : data specified
at cell center
50 HOEXTRAP : higher order extrapolation to EDGE of bndry
51 HOEXTRAPCC : linear extrapolation to CELL of bndry
52 FOEXTRAP : first order extrapolation from last cell in
interior
53 REFLECT_EVEN :
F(-n) =
F(n)
true reflection from
interior cells
54 REFLECT_ODD :
F(-n) = -
F(n)
true reflection from
interior cells
61 namespace PhysBCType {
62 enum physicalBndryTypes :
int {
interior=0,inflow,outflow,symmetry,
63 slipwall,noslipwall,inflowoutflow};
67 enum 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