MOData Struct Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
#include <MOData.H>
Public Types | |
enum class | ThetaCalcType { HEAT_FLUX = 0 , SURFACE_TEMPERATURE } |
Public Member Functions | |
amrex::Real | phi_m () const |
amrex::Real | phi_m (amrex::Real z) const |
amrex::Real | phi_h () const |
amrex::Real | phi_h (amrex::Real z) const |
amrex::Real | calc_psi_m (amrex::Real zeta) const |
amrex::Real | calc_psi_h (amrex::Real zeta) const |
void | update_fluxes (int max_iters=25) |
Public Attributes | |
amrex::Real | zref {0.0} |
Reference height (m) | |
amrex::Real | z0 {0.1} |
Roughness height (m) | |
amrex::Real | utau |
Friction velocity (m/s) | |
amrex::Real | kappa {0.41} |
von Karman constant | |
amrex::Real | gravity {9.81} |
Acceleration due to gravity (m/s^2) | |
amrex::Real | obukhov_len {1.0e16} |
Non-dimensional Obukhov length. | |
amrex::RealArray | vel_mean |
Mean velocity (at zref) | |
amrex::Real | vmag_mean |
Mean wind speed (at zref) | |
amrex::Real | Su_mean |
Mean wind speed times x-velocity (at zref) | |
amrex::Real | Sv_mean |
Mean wind speed times y-velocity (at zref) | |
amrex::Real | theta_mean |
Mean potential temperature. | |
amrex::Real | surf_temp_flux {0.0} |
Heat flux. | |
amrex::Real | surf_temp |
Instantaneous surface temperature. | |
amrex::Real | ref_temp |
Reference temperature. | |
amrex::Real | gamma_m {5.0} |
amrex::Real | gamma_h {5.0} |
amrex::Real | beta_m {16.0} |
amrex::Real | beta_h {16.0} |
ThetaCalcType | alg_type {ThetaCalcType::HEAT_FLUX} |
Detailed Description
Monin-Obukhov surface layer profile
van der Laan, P., Kelly, M. C., & Sørensen, N. N. (2017). A new k-epsilon model consistent with Monin-Obukhov similarity theory. Wind Energy, 20(3), 479–489. https://doi.org/10.1002/we.2017
Consistent with Dyer (1974) formulation from page 57, Chapter 2, Modeling the vertical ABL structure in Modelling of Atmospheric Flow Fields, Demetri P Lalas and Corrado F Ratto, January 1996, https://doi.org/10.1142/2975.
Member Enumeration Documentation
◆ ThetaCalcType
|
strong |
Member Function Documentation
◆ calc_psi_h()
amrex::Real amr_wind::MOData::calc_psi_h | ( | amrex::Real | zeta | ) | const |
◆ calc_psi_m()
amrex::Real amr_wind::MOData::calc_psi_m | ( | amrex::Real | zeta | ) | const |
◆ phi_h() [1/2]
|
inline |
◆ phi_h() [2/2]
|
inline |
◆ phi_m() [1/2]
|
inline |
◆ phi_m() [2/2]
|
inline |
◆ update_fluxes()
void amr_wind::MOData::update_fluxes | ( | int | max_iters = 25 | ) |
Member Data Documentation
◆ alg_type
ThetaCalcType amr_wind::MOData::alg_type {ThetaCalcType::HEAT_FLUX} |
◆ beta_h
amrex::Real amr_wind::MOData::beta_h {16.0} |
◆ beta_m
amrex::Real amr_wind::MOData::beta_m {16.0} |
◆ gamma_h
amrex::Real amr_wind::MOData::gamma_h {5.0} |
◆ gamma_m
amrex::Real amr_wind::MOData::gamma_m {5.0} |
◆ gravity
amrex::Real amr_wind::MOData::gravity {9.81} |
Acceleration due to gravity (m/s^2)
◆ kappa
amrex::Real amr_wind::MOData::kappa {0.41} |
von Karman constant
◆ obukhov_len
amrex::Real amr_wind::MOData::obukhov_len {1.0e16} |
Non-dimensional Obukhov length.
◆ ref_temp
amrex::Real amr_wind::MOData::ref_temp |
Reference temperature.
◆ Su_mean
amrex::Real amr_wind::MOData::Su_mean |
Mean wind speed times x-velocity (at zref)
◆ surf_temp
amrex::Real amr_wind::MOData::surf_temp |
Instantaneous surface temperature.
◆ surf_temp_flux
amrex::Real amr_wind::MOData::surf_temp_flux {0.0} |
Heat flux.
◆ Sv_mean
amrex::Real amr_wind::MOData::Sv_mean |
Mean wind speed times y-velocity (at zref)
◆ theta_mean
amrex::Real amr_wind::MOData::theta_mean |
Mean potential temperature.
◆ utau
amrex::Real amr_wind::MOData::utau |
Friction velocity (m/s)
◆ vel_mean
amrex::RealArray amr_wind::MOData::vel_mean |
Mean velocity (at zref)
◆ vmag_mean
amrex::Real amr_wind::MOData::vmag_mean |
Mean wind speed (at zref)
◆ z0
amrex::Real amr_wind::MOData::z0 {0.1} |
Roughness height (m)
◆ zref
amrex::Real amr_wind::MOData::zref {0.0} |
Reference height (m)
The documentation for this struct was generated from the following files:
- /home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/MOData.H
- /home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/MOData.cpp
Generated by 1.12.0