ABLWallFunction Class Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
amr_wind::ABLWallFunction Class Reference
#include <ABLWallFunction.H>
Collaboration diagram for amr_wind::ABLWallFunction:
Public Member Functions | |
ABLWallFunction (const CFDSim &sim) | |
~ABLWallFunction ()=default | |
MOData & | mo () |
const MOData & | mo () const |
amrex::Real | utau () const |
void | init_log_law_height () |
Initialize the log-law height based on user inputs. | |
void | update_umean (const VelPlaneAveragingFine &vpa, const FieldPlaneAveragingFine &tpa) |
Update the mean velocity at a given timestep. | |
void | update_tflux (const amrex::Real tflux) |
Private Attributes | |
const CFDSim & | m_sim |
const amrex::AmrCore & | m_mesh |
MOData | m_mo |
Monin-Obukhov instance. | |
int | m_direction {2} |
Direction normal to wall. | |
bool | m_use_fch {true} |
Use first cell height? | |
amrex::Vector< amrex::Real > | m_gravity {0.0, 0.0, -9.81} |
bool | m_tempflux {true} |
amrex::Real | m_surf_temp_rate {0.0} |
amrex::Real | m_surf_temp_rate_tstart {0.0} |
amrex::Real | m_surf_temp_init {300.0} |
bool | m_inflow_outflow {false} |
amrex::Real | m_wf_vmag {0.0} |
amrex::Array< amrex::Real, 2 > | m_wf_vel {0.0, 0.0} |
amrex::Real | m_wf_theta {300.0} |
Detailed Description
Wall-function computations for LES simulations of ABL
This class performs the necessary computations at the beginning of predictor/corrector steps. The actual BC population in ghost cells is performed by ABLVelWallFunc BC interface class.
Constructor & Destructor Documentation
◆ ABLWallFunction()
|
explicit |
◆ ~ABLWallFunction()
|
default |
Member Function Documentation
◆ init_log_law_height()
void amr_wind::ABLWallFunction::init_log_law_height | ( | ) |
Initialize the log-law height based on user inputs.
◆ mo() [1/2]
|
inline |
◆ mo() [2/2]
|
inline |
◆ update_tflux()
void amr_wind::ABLWallFunction::update_tflux | ( | const amrex::Real | tflux | ) |
◆ update_umean()
void amr_wind::ABLWallFunction::update_umean | ( | const VelPlaneAveragingFine & | vpa, |
const FieldPlaneAveragingFine & | tpa ) |
Update the mean velocity at a given timestep.
◆ utau()
|
inline |
Return the plane-averaged computed friction velocity at any given instance
Member Data Documentation
◆ m_direction
|
private |
Direction normal to wall.
◆ m_gravity
|
private |
◆ m_inflow_outflow
|
private |
◆ m_mesh
|
private |
◆ m_mo
|
private |
Monin-Obukhov instance.
◆ m_sim
|
private |
◆ m_surf_temp_init
|
private |
◆ m_surf_temp_rate
|
private |
◆ m_surf_temp_rate_tstart
|
private |
◆ m_tempflux
|
private |
◆ m_use_fch
|
private |
Use first cell height?
◆ m_wf_theta
|
private |
◆ m_wf_vel
|
private |
◆ m_wf_vmag
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/ABLWallFunction.H
- /home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/ABLWallFunction.cpp
Generated by 1.12.0