Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
AMReX_BC_TYPES.H
Go to the documentation of this file.
1#ifndef AMREX_BC_TYPES_H_
2#define AMREX_BC_TYPES_H_
3#include <AMReX_Config.H>
4
10#if 0
11---------------------------------------------------------------------
12 CONVERSIONS FROM PHYSICAL TO MATHEMATICAL BCs
13 Note that it is up to application codes to enforce conversions
14
15
16PHYS BC | Velocity | Temperature | Scalars |
17----------------------------------------------------------------------
18INTERIOR | | | |
19 or | INT_DIR | INT_DIR | INT_DIR |
20PERIODIC | | | |
21----------------------------------------------------------------------
22 | | | |
23INFLOW | EXT_DIR | EXT_DIR | EXT_DIR |
24 | | | |
25----------------------------------------------------------------------
26 | | | |
27OUTFLOW | FOEXTRAP | FOEXTRAP | FOEXTRAP |
28 | | | |
29----------------------------------------------------------------------
30NO SLIP WALL | | | |
31 with | EXT_DIR | REFLECT_EVEN | FOEXTRAP |
32ADIABATIC TEMP | U = V = 0 | dT/dn = 0 | |
33----------------------------------------------------------------------
34NO SLIP WALL | | | |
35 with | EXT_DIR | EXT_DIR | FOEXTRAP |
36FIXED TEMP | U = V = 0 | | |
37----------------------------------------------------------------------
38SLIP WALL | | | |
39 with | Un=0 EXT_DIR | REFLECT_EVEN | HOEXTRAP |
40ADIABATIC TEMP | Ut HOEXTRAP | dT/dn = 0 | |
41----------------------------------------------------------------------
42SLIP WALL | | | |
43 with | Un=0 EXT_DIR | EXT_DIR | HOEXTRAP |
44FIXED TEMP | Ut HOEXTRAP | | |
45----------------------------------------------------------------------
46 | | | |
47SYMMETRY | Un REFLECT_ODD | REFLECT_EVEN | REFLECT_EVEN |
48 | Ut REFLECT_EVEN| | |
49----------------------------------------------------------------------
50
51
52INT_DIR : data taken from other grids or interpolated
53EXT_DIR : data specified on EDGE (FACE)
54EXT_DIR_CC : data specified at cell center
55HOEXTRAP : higher order extrapolation to EDGE of bndry
56HOEXTRAPCC : linear extrapolation to CELL of bndry
57FOEXTRAP : first order extrapolation from last cell in interior
58REFLECT_EVEN : F(-n) = F(n) true reflection from interior cells
59REFLECT_ODD : F(-n) = -F(n) true reflection from interior cells
60
61#endif
62
63#ifdef __cplusplus
64namespace amrex {
65
71namespace PhysBCType {
74}
75
85namespace BCType {
101}
102
103}
104#endif
105
106#endif
mathematicalBndryTypes
Definition AMReX_BC_TYPES.H:86
@ user_3
Definition AMReX_BC_TYPES.H:99
@ direction_dependent
Definition AMReX_BC_TYPES.H:96
@ foextrap
Definition AMReX_BC_TYPES.H:91
@ hoextrapcc
Definition AMReX_BC_TYPES.H:94
@ user_2
Definition AMReX_BC_TYPES.H:98
@ ext_dir
Definition AMReX_BC_TYPES.H:92
@ user_1
Definition AMReX_BC_TYPES.H:97
@ int_dir
Definition AMReX_BC_TYPES.H:89
@ bogus
Definition AMReX_BC_TYPES.H:87
@ reflect_even
Definition AMReX_BC_TYPES.H:90
@ reflect_odd
Definition AMReX_BC_TYPES.H:88
@ hoextrap
Definition AMReX_BC_TYPES.H:93
@ ext_dir_cc
Definition AMReX_BC_TYPES.H:95
const int interior
Definition AMReX_Extrapolater.H:22
physicalBndryTypes
Definition AMReX_BC_TYPES.H:72
@ interior
Definition AMReX_BC_TYPES.H:72
@ symmetry
Definition AMReX_BC_TYPES.H:72
@ slipwall
Definition AMReX_BC_TYPES.H:73
@ outflow
Definition AMReX_BC_TYPES.H:72
@ noslipwall
Definition AMReX_BC_TYPES.H:73
@ inflow
Definition AMReX_BC_TYPES.H:72
@ inflowoutflow
Definition AMReX_BC_TYPES.H:73
Definition AMReX_Amr.cpp:50