1 #ifndef ERF_WALL_THERMODYNAMICS_H_
2 #define ERF_WALL_THERMODYNAMICS_H_
4 #include <AMReX_Array.H>
5 #include <AMReX_GpuQualifiers.H>
6 #include <AMReX_REAL.H>
64 static_assert(std::is_trivially_copyable_v<TemperatureBandView>);
69 amrex::Real
C_D = amrex::Real(0.0);
70 amrex::Real
z0_m = amrex::Real(0.0);
79 amrex::Real
z0 = amrex::Real(0.0);
99 AMREX_GPU_HOST_DEVICE constexpr
bool vapor_is_wet () const noexcept
133 using Boundary = amrex::GpuArray<FaceWall, 2 * AMREX_SPACEDIM>;
135 static_assert(std::is_trivially_copyable_v<ThermalBoundary>);
136 static_assert(std::is_standard_layout_v<ThermalBoundary>);
137 static_assert(std::is_trivially_copyable_v<MomentumTransfer>);
138 static_assert(std::is_standard_layout_v<MomentumTransfer>);
139 static_assert(std::is_trivially_copyable_v<ScalarTransfer>);
140 static_assert(std::is_standard_layout_v<ScalarTransfer>);
141 static_assert(std::is_trivially_copyable_v<FaceWall>);
142 static_assert(std::is_standard_layout_v<FaceWall>);
Definition: ERF_WallThermodynamics.H:10
MomentumModel
Definition: ERF_WallThermodynamics.H:26
amrex::GpuArray< TemperatureBandView, 4 > SidewallBandViews
Definition: ERF_WallThermodynamics.H:63
CoefficientProvider
Definition: ERF_WallThermodynamics.H:38
ScalarModel
Definition: ERF_WallThermodynamics.H:32
MoistureMode
Definition: ERF_WallThermodynamics.H:20
ThermalMode
Definition: ERF_WallThermodynamics.H:14
@ FixedPhysicalTemperature
amrex::GpuArray< FaceWall, 2 *AMREX_SPACEDIM > Boundary
Definition: ERF_WallThermodynamics.H:133
Definition: ERF_WallThermodynamics.H:86
constexpr AMREX_GPU_HOST_DEVICE bool heat_is_conductive() const noexcept
Definition: ERF_WallThermodynamics.H:96
amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > wall_velocity
Definition: ERF_WallThermodynamics.H:93
ScalarTransfer vapor
Definition: ERF_WallThermodynamics.H:92
ScalarTransfer heat
Definition: ERF_WallThermodynamics.H:91
constexpr AMREX_GPU_HOST_DEVICE bool has_wall_rate_channel() const noexcept
Definition: ERF_WallThermodynamics.H:129
constexpr AMREX_GPU_HOST_DEVICE bool heat_uses_most() const noexcept
Definition: ERF_WallThermodynamics.H:108
constexpr AMREX_GPU_HOST_DEVICE bool vapor_is_wet() const noexcept
Definition: ERF_WallThermodynamics.H:99
constexpr AMREX_GPU_HOST_DEVICE bool momentum_uses_most() const noexcept
Definition: ERF_WallThermodynamics.H:102
MoistureMode moisture
Definition: ERF_WallThermodynamics.H:88
MomentumTransfer momentum
Definition: ERF_WallThermodynamics.H:90
amrex::Real wetness
Definition: ERF_WallThermodynamics.H:89
constexpr AMREX_GPU_HOST_DEVICE bool vapor_uses_most() const noexcept
Definition: ERF_WallThermodynamics.H:114
ThermalBoundary thermal
Definition: ERF_WallThermodynamics.H:87
constexpr AMREX_GPU_HOST_DEVICE bool vapor_requires_speed() const noexcept
Definition: ERF_WallThermodynamics.H:126
constexpr AMREX_GPU_HOST_DEVICE bool momentum_requires_speed() const noexcept
Definition: ERF_WallThermodynamics.H:120
constexpr AMREX_GPU_HOST_DEVICE bool heat_requires_speed() const noexcept
Definition: ERF_WallThermodynamics.H:123
Definition: ERF_WallThermodynamics.H:66
amrex::Real resolved_row_rate
Definition: ERF_WallThermodynamics.H:72
amrex::Real z0_m
Definition: ERF_WallThermodynamics.H:70
CoefficientProvider provider
Definition: ERF_WallThermodynamics.H:68
amrex::Real C_D
Definition: ERF_WallThermodynamics.H:69
MomentumModel model
Definition: ERF_WallThermodynamics.H:67
amrex::Real molecular_speed
Definition: ERF_WallThermodynamics.H:71
Definition: ERF_WallThermodynamics.H:75
amrex::Real coefficient
Definition: ERF_WallThermodynamics.H:78
CoefficientProvider provider
Definition: ERF_WallThermodynamics.H:77
amrex::Real z0
Definition: ERF_WallThermodynamics.H:79
amrex::Real resolved_speed
Definition: ERF_WallThermodynamics.H:83
amrex::Real molecular_speed
Definition: ERF_WallThermodynamics.H:81
ScalarModel model
Definition: ERF_WallThermodynamics.H:76
Definition: ERF_WallThermodynamics.H:57
const TemperaturePanel * panels
Definition: ERF_WallThermodynamics.H:59
const int * offsets
Definition: ERF_WallThermodynamics.H:58
int k_lo
Definition: ERF_WallThermodynamics.H:60
Definition: ERF_WallThermodynamics.H:52
amrex::Real temperature_K
Definition: ERF_WallThermodynamics.H:53
amrex::Real fraction
Definition: ERF_WallThermodynamics.H:54
Definition: ERF_WallThermodynamics.H:44
amrex::Real temperature_K
Definition: ERF_WallThermodynamics.H:46
ThermalMode mode
Definition: ERF_WallThermodynamics.H:45