/home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/tke/source_terms/KransAxell.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/tke/source_terms/KransAxell.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
KransAxell.H
Go to the documentation of this file.
1#ifndef KRANSAXELL_H
2#define KRANSAXELL_H
3
6
7namespace amr_wind::pde::tke {
8
15class KransAxell : public TKESource::Register<KransAxell>
16{
17public:
18 static std::string identifier() { return "KransAxell"; }
19
20 explicit KransAxell(const CFDSim& /*sim*/);
21
22 ~KransAxell() override;
23
24 void operator()(
25 const int lev,
26 const amrex::MFIter& mfi,
27 const amrex::Box& bx,
28 const FieldState fstate,
29 const amrex::Array4<amrex::Real>& src_term) const override;
30
31private:
37 amrex::Real m_Cmu{0.556};
38 amrex::Real m_heat_flux{0.0};
39 amrex::Real m_z0{0.1};
40 amrex::Real m_kappa{0.41};
41 amrex::Real m_sponge_start{600};
42 amrex::Real m_ref_tke{1e-10};
43 amrex::Vector<amrex::Real> m_gravity{0.0, 0.0, -9.81};
45 const CFDSim& m_sim;
46 const amrex::AmrCore& m_mesh;
48
51
53 std::unique_ptr<ScratchField> m_ref_theta;
54};
55
56} // namespace amr_wind::pde::tke
57
58#endif /* KRANSAXELL_H */
Definition CFDSim.H:51
Definition Field.H:116
Definition SimTime.H:30
Definition KransAxell.H:16
const Field & m_velocity
Definition KransAxell.H:47
const SimTime & m_time
Definition KransAxell.H:44
Field & m_turb_lscale
Definition KransAxell.H:32
const amrex::AmrCore & m_mesh
Definition KransAxell.H:46
amrex::Real m_sponge_start
Definition KransAxell.H:41
amrex::Real m_heat_flux
Definition KransAxell.H:38
const CFDSim & m_sim
Definition KransAxell.H:45
const transport::TransportModel & m_transport
Transport model.
Definition KransAxell.H:50
Field & m_buoy_prod
Definition KransAxell.H:34
amrex::Vector< amrex::Real > m_gravity
Definition KransAxell.H:43
static std::string identifier()
Definition KransAxell.H:18
KransAxell(const CFDSim &)
Definition KransAxell.cpp:9
std::unique_ptr< ScratchField > m_ref_theta
Reference temperature.
Definition KransAxell.H:53
amrex::Real m_Cmu
Definition KransAxell.H:37
void operator()(const int lev, const amrex::MFIter &mfi, const amrex::Box &bx, const FieldState fstate, const amrex::Array4< amrex::Real > &src_term) const override
Definition KransAxell.cpp:38
Field & m_tke
Definition KransAxell.H:36
amrex::Real m_kappa
Definition KransAxell.H:40
Field & m_dissip
Definition KransAxell.H:35
amrex::Real m_ref_tke
Definition KransAxell.H:42
Field & m_shear_prod
Definition KransAxell.H:33
amrex::Real m_z0
Definition KransAxell.H:39
Definition TransportModel.H:30
FieldState
Definition FieldDescTypes.H:14
Definition SDRSrc.cpp:7