ABLModulatedPowerLaw Class Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
amr_wind::ABLModulatedPowerLaw Class Reference
#include <ABLModulatedPowerLaw.H>
Collaboration diagram for amr_wind::ABLModulatedPowerLaw:
Public Member Functions | |
ABLModulatedPowerLaw (CFDSim &) | |
void | post_init_actions () |
Execute initialization actions after mesh has been fully generated. | |
void | pre_advance_work () |
void | post_advance_work () |
void | set_velocity (const int lev, const amrex::Real time, const Field &fld, amrex::MultiFab &mfab, const int dcomp=0, const int orig_comp=0) const |
void | set_temperature (const int lev, const amrex::Real time, const Field &fld, amrex::MultiFab &mfab) const |
bool | is_active () const |
Private Attributes | |
const CFDSim & | m_sim |
const amr_wind::SimTime & | m_time |
const FieldRepo & | m_repo |
const amrex::AmrCore & | m_mesh |
Field & | m_velocity |
Field & | m_temperature |
amrex::Real | m_zoffset {0.0} |
amrex::Real | m_zref {90} |
amrex::Real | m_shear_exp {0.1} |
amrex::Real | m_umax_factor {1.2} |
amrex::Real | m_bulk_velocity {15.0} |
amrex::Real | m_shearlayer_height {600.0} |
amrex::Real | m_shearlayer_smear_thickness {30.0} |
amrex::Real | m_wind_speed {8.0} |
amrex::Real | m_wind_direction {270.0} |
amrex::Vector< amrex::Real > | m_uvec {8.0, 0.0, 0.0} |
amrex::Real | m_start_time {0.0} |
amrex::Real | m_stop_time {std::numeric_limits<amrex::Real>::max()} |
amrex::Real | m_degrees_per_sec {0.02} |
amrex::Gpu::DeviceVector< amrex::Real > | m_thht_d |
amrex::Gpu::DeviceVector< amrex::Real > | m_thvv_d |
amrex::Real | m_delta_t {0.8} |
amrex::Real | m_theta_cutoff_height {250.0} |
amrex::Real | m_theta_gauss_mean {0.0} |
amrex::Real | m_theta_gauss_var {1.0} |
bool | m_activate_mpl {false} |
amrex::Vector< amrex::Real > | m_theta_heights |
amrex::Vector< amrex::Real > | m_theta_values |
Detailed Description
Interface for ABL modulated power law
This class sets velocity and temperature at mass inflow bc's
Constructor & Destructor Documentation
◆ ABLModulatedPowerLaw()
|
explicit |
Member Function Documentation
◆ is_active()
|
inline |
◆ post_advance_work()
void amr_wind::ABLModulatedPowerLaw::post_advance_work | ( | ) |
◆ post_init_actions()
void amr_wind::ABLModulatedPowerLaw::post_init_actions | ( | ) |
Execute initialization actions after mesh has been fully generated.
◆ pre_advance_work()
void amr_wind::ABLModulatedPowerLaw::pre_advance_work | ( | ) |
◆ set_temperature()
void amr_wind::ABLModulatedPowerLaw::set_temperature | ( | const int | lev, |
const amrex::Real | time, | ||
const Field & | fld, | ||
amrex::MultiFab & | mfab ) const |
◆ set_velocity()
void amr_wind::ABLModulatedPowerLaw::set_velocity | ( | const int | lev, |
const amrex::Real | time, | ||
const Field & | fld, | ||
amrex::MultiFab & | mfab, | ||
const int | dcomp = 0, | ||
const int | orig_comp = 0 ) const |
Member Data Documentation
◆ m_activate_mpl
|
private |
◆ m_bulk_velocity
|
private |
◆ m_degrees_per_sec
|
private |
◆ m_delta_t
|
private |
◆ m_mesh
|
private |
◆ m_repo
|
private |
◆ m_shear_exp
|
private |
◆ m_shearlayer_height
|
private |
◆ m_shearlayer_smear_thickness
|
private |
◆ m_sim
|
private |
◆ m_start_time
|
private |
◆ m_stop_time
|
private |
◆ m_temperature
|
private |
◆ m_theta_cutoff_height
|
private |
◆ m_theta_gauss_mean
|
private |
◆ m_theta_gauss_var
|
private |
◆ m_theta_heights
|
private |
Lookup table containing temperature variation w.r.t. height above terrain
◆ m_theta_values
|
private |
◆ m_thht_d
|
private |
◆ m_thvv_d
|
private |
◆ m_time
|
private |
◆ m_umax_factor
|
private |
◆ m_uvec
|
private |
◆ m_velocity
|
private |
◆ m_wind_direction
|
private |
◆ m_wind_speed
|
private |
◆ m_zoffset
|
private |
◆ m_zref
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/ABLModulatedPowerLaw.H
- /home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/ABLModulatedPowerLaw.cpp
Generated by 1.12.0