/home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/icns/source_terms/ForestForcing.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/icns/source_terms/ForestForcing.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
ForestForcing.H
Go to the documentation of this file.
1#ifndef FORESTFORCING_H
2#define FORESTFORCING_H
3
6#include "amr-wind/CFDSim.H"
7
8namespace amr_wind::pde::icns {
9
16class ForestForcing : public MomentumSource::Register<ForestForcing>
17{
18public:
19 static std::string identifier() { return "ForestForcing"; }
20
21 explicit ForestForcing(const CFDSim& sim);
22
23 ~ForestForcing() override;
24
25 void operator()(
26 const int lev,
27 const amrex::MFIter& mfi,
28 const amrex::Box& bx,
29 const FieldState fstate,
30 const amrex::Array4<amrex::Real>& src_term) const override;
31
32private:
33 const CFDSim& m_sim;
35};
36
37} // namespace amr_wind::pde::icns
38
39#endif
Definition CFDSim.H:51
Definition Field.H:116
Definition ForestForcing.H:17
ForestForcing(const CFDSim &sim)
Definition ForestForcing.cpp:10
static std::string identifier()
Definition ForestForcing.H:19
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 ForestForcing.cpp:16
const CFDSim & m_sim
Definition ForestForcing.H:33
const Field & m_velocity
Definition ForestForcing.H:34
FieldState
Definition FieldDescTypes.H:14
Definition ABLForcing.cpp:11