/home/runner/work/amr-wind/amr-wind/amr-wind/physics/RayleighTaylorFieldInit.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/physics/RayleighTaylorFieldInit.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
RayleighTaylorFieldInit.H
Go to the documentation of this file.
1#ifndef RayleighTaylorFIELDINIT_H
2#define RayleighTaylorFIELDINIT_H
3
4#include "AMReX_Array.H"
5#include "AMReX_Array4.H"
6#include "AMReX_Box.H"
7#include "AMReX_Geometry.H"
8#include "AMReX_REAL.H"
9#include "AMReX_Vector.H"
10#include "AMReX_Gpu.H"
11
12using namespace amrex::literals;
13
14namespace amr_wind {
15
19{
20 static_assert(
21 AMREX_SPACEDIM == 3, "RayleighTaylor requires 3 dimensional mesh");
22
23public:
25
26 void operator()(
27 const amrex::Box& vbx,
28 const amrex::Geometry& geom,
29 const amrex::Array4<amrex::Real>& density) const;
30
31private:
33 amrex::Real m_rho_lo{0.5_rt};
35 amrex::Real m_rho_hi{2.0_rt};
36};
37
38} // namespace amr_wind
39
40#endif /* RayleighTaylorFIELDINIT_H */
amrex::Real m_rho_lo
density value for lower layer
Definition RayleighTaylorFieldInit.H:33
amrex::Real m_rho_hi
density value for upper layer
Definition RayleighTaylorFieldInit.H:35
RayleighTaylorFieldInit()
Definition RayleighTaylorFieldInit.cpp:12
void operator()(const amrex::Box &vbx, const amrex::Geometry &geom, const amrex::Array4< amrex::Real > &density) const
Definition RayleighTaylorFieldInit.cpp:19
This test case is intended as an evaluation of the momentum advection scheme.
Definition BCInterface.cpp:10