Block-Structured AMR Software Framework
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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
5#if 0
6---------------------------------------------------------------------
7 CONVERSIONS FROM PHYSICAL TO MATHEMATICAL BCs
8 Note that it is up to application codes to enforce conversions
9
10
11PHYS BC | Velocity | Temperature | Scalars |
12----------------------------------------------------------------------
13INTERIOR | | | |
14 or | INT_DIR | INT_DIR | INT_DIR |
15PERIODIC | | | |
16----------------------------------------------------------------------
17 | | | |
18INFLOW | EXT_DIR | EXT_DIR | EXT_DIR |
19 | | | |
20----------------------------------------------------------------------
21 | | | |
22OUTFLOW | FOEXTRAP | FOEXTRAP | FOEXTRAP |
23 | | | |
24----------------------------------------------------------------------
25NO SLIP WALL | | | |
26 with | EXT_DIR | REFLECT_EVEN | FOEXTRAP |
27ADIABATIC TEMP | U = V = 0 | dT/dn = 0 | |
28----------------------------------------------------------------------
29NO SLIP WALL | | | |
30 with | EXT_DIR | EXT_DIR | FOEXTRAP |
31FIXED TEMP | U = V = 0 | | |
32----------------------------------------------------------------------
33SLIP WALL | | | |
34 with | Un=0 EXT_DIR | REFLECT_EVEN | HOEXTRAP |
35ADIABATIC TEMP | Ut HOEXTRAP | dT/dn = 0 | |
36----------------------------------------------------------------------
37SLIP WALL | | | |
38 with | Un=0 EXT_DIR | EXT_DIR | HOEXTRAP |
39FIXED TEMP | Ut HOEXTRAP | | |
40----------------------------------------------------------------------
41 | | | |
42SYMMETRY | Un REFLECT_ODD | REFLECT_EVEN | REFLECT_EVEN |
43 | Ut REFLECT_EVEN| | |
44----------------------------------------------------------------------
45
46
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
55
56#endif
57
58#ifdef __cplusplus
59namespace amrex {
60
61namespace PhysBCType {
62enum physicalBndryTypes : int {interior=0,inflow,outflow,symmetry,
63 slipwall,noslipwall,inflowoutflow};
64}
65
66namespace BCType {
67enum mathematicalBndryTypes : int {
68 bogus = -666,
69 reflect_odd = -1,
70 int_dir = 0,
71 reflect_even = 1,
72 foextrap = 2,
73 ext_dir = 3,
74 hoextrap = 4,
75 hoextrapcc = 5,
76 ext_dir_cc = 6,
77 direction_dependent = 7,
78 user_1 = 1001,
79 user_2 = 1002,
80 user_3 = 1003
81};
82}
83
84}
85#endif
86
87#endif
const int interior
Definition AMReX_Extrapolater.H:17
AMREX_GPU_HOST_DEVICE Long at(T const &, Long offset) noexcept
Definition AMReX_GpuRange.H:30
Definition AMReX_Amr.cpp:49