/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
5
6namespace amr_wind::pde::tke {
7
14class KransAxell : public TKESource::Register<KransAxell>
15{
16public:
17 static std::string identifier() { return "KransAxell"; }
18
19 explicit KransAxell(const CFDSim& /*sim*/);
20
21 ~KransAxell() override;
22
23 void operator()(
24 const int lev,
25 const amrex::MFIter& mfi,
26 const amrex::Box& bx,
27 const FieldState fstate,
28 const amrex::Array4<amrex::Real>& src_term) const override;
29
30private:
36 amrex::Real m_Cmu{0.556};
37 amrex::Real m_heat_flux{0.0};
38 amrex::Real m_ref_temp{300.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};
49
50} // namespace amr_wind::pde::tke
51
52#endif /* KRANSAXELL_H */
Definition CFDSim.H:47
Definition Field.H:116
Definition SimTime.H:30
Definition KransAxell.H:15
const Field & m_velocity
Definition KransAxell.H:47
const SimTime & m_time
Definition KransAxell.H:44
Field & m_turb_lscale
Definition KransAxell.H:31
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:37
const CFDSim & m_sim
Definition KransAxell.H:45
amrex::Real m_ref_temp
Definition KransAxell.H:38
Field & m_buoy_prod
Definition KransAxell.H:33
amrex::Vector< amrex::Real > m_gravity
Definition KransAxell.H:43
static std::string identifier()
Definition KransAxell.H:17
KransAxell(const CFDSim &)
Definition KransAxell.cpp:9
amrex::Real m_Cmu
Definition KransAxell.H:36
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:37
Field & m_tke
Definition KransAxell.H:35
amrex::Real m_kappa
Definition KransAxell.H:40
Field & m_dissip
Definition KransAxell.H:34
amrex::Real m_ref_tke
Definition KransAxell.H:42
Field & m_shear_prod
Definition KransAxell.H:32
amrex::Real m_z0
Definition KransAxell.H:39
FieldState
Definition FieldDescTypes.H:14
Definition SDRSrc.cpp:7