ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_Fitch.H
Go to the documentation of this file.
1 #ifndef ERF_FITCH_H
2 #define ERF_FITCH_H
3 
4 #include <AMReX_Geometry.H>
5 #include <AMReX_MultiFab.H>
6 
7 #include "ERF_NullWindFarm.H"
8 
9 class Fitch : public NullWindFarm {
10 
11 public:
12 
13  Fitch() {}
14 
15  virtual ~Fitch() = default;
16 
17  void advance (const amrex::Geometry& geom,
18  const amrex::Real& dt_advance,
19  amrex::MultiFab& cons_in,
20  amrex::MultiFab& mf_vars_fitch,
21  amrex::MultiFab& U_old,
22  amrex::MultiFab& V_old,
23  amrex::MultiFab& W_old,
24  const amrex::MultiFab& mf_Nturb,
25  const amrex::MultiFab& mf_SMark,
26  const amrex::Real& time) override;
27 
28  void source_terms_cellcentered (const amrex::Geometry& geom,
29  const amrex::MultiFab& cons_in,
30  amrex::MultiFab& mf_vars_ewp,
31  const amrex::MultiFab& U_old,
32  const amrex::MultiFab& V_old,
33  const amrex::MultiFab& W_old,
34  const amrex::MultiFab& mf_Nturb);
35 
36  void update (const amrex::Real& dt_advance,
37  amrex::MultiFab& cons_in,
38  amrex::MultiFab& U_old, amrex::MultiFab& V_old,
39  const amrex::MultiFab& mf_vars_fitch);
40 
41 protected:
42  amrex::Vector<amrex::Real> xloc, yloc;
44  amrex::Vector<amrex::Real> wind_speed, thrust_coeff, power;
45 };
46 
47 #endif
48 
Definition: ERF_Fitch.H:9
void update(const amrex::Real &dt_advance, amrex::MultiFab &cons_in, amrex::MultiFab &U_old, amrex::MultiFab &V_old, const amrex::MultiFab &mf_vars_fitch)
Definition: ERF_AdvanceFitch.cpp:68
amrex::Vector< amrex::Real > yloc
Definition: ERF_Fitch.H:42
Fitch()
Definition: ERF_Fitch.H:13
amrex::Vector< amrex::Real > xloc
Definition: ERF_Fitch.H:42
amrex::Vector< amrex::Real > thrust_coeff
Definition: ERF_Fitch.H:44
amrex::Vector< amrex::Real > power
Definition: ERF_Fitch.H:44
void advance(const amrex::Geometry &geom, const amrex::Real &dt_advance, amrex::MultiFab &cons_in, amrex::MultiFab &mf_vars_fitch, amrex::MultiFab &U_old, amrex::MultiFab &V_old, amrex::MultiFab &W_old, const amrex::MultiFab &mf_Nturb, const amrex::MultiFab &mf_SMark, const amrex::Real &time) override
Definition: ERF_AdvanceFitch.cpp:48
void source_terms_cellcentered(const amrex::Geometry &geom, const amrex::MultiFab &cons_in, amrex::MultiFab &mf_vars_ewp, const amrex::MultiFab &U_old, const amrex::MultiFab &V_old, const amrex::MultiFab &W_old, const amrex::MultiFab &mf_Nturb)
Definition: ERF_AdvanceFitch.cpp:102
amrex::Real rotor_rad
Definition: ERF_Fitch.H:43
amrex::Real thrust_coeff_standing
Definition: ERF_Fitch.H:43
amrex::Real hub_height
Definition: ERF_Fitch.H:43
amrex::Vector< amrex::Real > wind_speed
Definition: ERF_Fitch.H:44
virtual ~Fitch()=default
amrex::Real nominal_power
Definition: ERF_Fitch.H:43
Definition: ERF_NullWindFarm.H:9