/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
12namespace amr_wind {
13
17{
18 static_assert(
19 AMREX_SPACEDIM == 3, "RayleighTaylor requires 3 dimensional mesh");
20
21public:
23
24 void operator()(
25 const amrex::Box& vbx,
26 const amrex::Geometry& geom,
27 const amrex::Array4<amrex::Real>& density) const;
28
29private:
31 amrex::Real m_rho_lo{0.5};
33 amrex::Real m_rho_hi{2.0};
34};
35
36} // namespace amr_wind
37
38#endif /* RayleighTaylorFIELDINIT_H */
Definition RayleighTaylorFieldInit.H:17
amrex::Real m_rho_lo
density value for lower layer
Definition RayleighTaylorFieldInit.H:31
amrex::Real m_rho_hi
density value for upper layer
Definition RayleighTaylorFieldInit.H:33
RayleighTaylorFieldInit()
Definition RayleighTaylorFieldInit.cpp:9
void operator()(const amrex::Box &vbx, const amrex::Geometry &geom, const amrex::Array4< amrex::Real > &density) const
Definition RayleighTaylorFieldInit.cpp:16
Definition BCInterface.cpp:7