/home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/temperature/source_terms/HurricaneTempForcing.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/temperature/source_terms/HurricaneTempForcing.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
HurricaneTempForcing.H
Go to the documentation of this file.
1#ifndef HURRICANE_TEMP_FORCING_H
2#define HURRICANE_TEMP_FORCING_H
3
7
9
11 : public TemperatureSource::Register<HurricaneTempForcing>
12{
13
14public:
15 static std::string identifier() { return "HurricaneTempForcing"; }
16
17 explicit HurricaneTempForcing(const CFDSim& /*sim*/);
18
20
21 void operator()(
22 const int lev,
23 const amrex::MFIter& /*mfi*/,
24 const amrex::Box& bx,
25 const FieldState /*fstate*/,
26 const amrex::Array4<amrex::Real>& src_term) const override;
27
28 void mean_velocity_init(const VelPlaneAveraging& /*vavg*/);
29
30 void mean_velocity_update(const VelPlaneAveraging& /*vavg*/);
31
32private:
34 const amrex::AmrCore& m_mesh;
35
36 amrex::Gpu::DeviceVector<amrex::Real> m_vel_ht;
37 amrex::Gpu::DeviceVector<amrex::Real> m_vel_vals;
38
40 int m_axis{2};
41
43 amrex::Real m_dTdR{0.001};
44
46 amrex::Real m_dTzh{18000.};
47};
48
49} // namespace amr_wind::pde::temperature
50
51#endif
Definition CFDSim.H:47
Definition FieldPlaneAveraging.H:140
Definition HurricaneTempForcing.H:12
amrex::Gpu::DeviceVector< amrex::Real > m_vel_vals
Definition HurricaneTempForcing.H:37
void operator()(const int lev, const amrex::MFIter &, const amrex::Box &bx, const FieldState, const amrex::Array4< amrex::Real > &src_term) const override
Definition HurricaneTempForcing.cpp:33
amrex::Gpu::DeviceVector< amrex::Real > m_vel_ht
Definition HurricaneTempForcing.H:36
void mean_velocity_init(const VelPlaneAveraging &)
Definition HurricaneTempForcing.cpp:71
const amrex::AmrCore & m_mesh
Mesh.
Definition HurricaneTempForcing.H:34
void mean_velocity_update(const VelPlaneAveraging &)
Definition HurricaneTempForcing.cpp:93
int m_axis
Axis over which averages are computed.
Definition HurricaneTempForcing.H:40
amrex::Real m_dTdR
Temperature radial decay.
Definition HurricaneTempForcing.H:43
HurricaneTempForcing(const CFDSim &)
Definition HurricaneTempForcing.cpp:14
static std::string identifier()
Definition HurricaneTempForcing.H:15
amrex::Real m_dTzh
Zero Temperature height.
Definition HurricaneTempForcing.H:46
FieldState
Definition FieldDescTypes.H:14
Definition ABLMesoForcingTemp.cpp:14