ABL Class Reference
|
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
#include <ABL.H>
Public Member Functions | |
| ABL (CFDSim &sim) | |
| ~ABL () override | |
| const ABLWallFunction & | abl_wall_function () const |
| void | post_init_actions () override |
| void | post_regrid_actions () override |
| void | initialize_fields (int level, const amrex::Geometry &geom) override |
| void | pre_advance_work () override |
| void | post_advance_work () override |
| void | register_forcing_term (pde::icns::ABLForcing *forcing) const |
| void | register_mean_boussinesq_term (pde::icns::ABLMeanBoussinesq *term) const |
| void | register_meso_mom_forcing (pde::icns::ABLMesoForcingMom *forcing) const |
| void | register_meso_temp_forcing (pde::temperature::ABLMesoForcingTemp *forcing) const |
| void | register_hurricane_forcing (pde::icns::HurricaneForcing *forcing) const |
| void | register_hurricane_temp_forcing (pde::temperature::HurricaneTempForcing *forcing) const |
| const ABLStatsBase & | abl_statistics () const |
| Return the ABL statistics calculator. | |
| const ABLMesoscaleInput & | abl_meso_file () const |
| const ABLAnelastic & | anelastic () const |
Static Public Member Functions | |
| static std::string | identifier () |
Detailed Description
Atmospheric Boundary Layer physics
This class implements the necessary code to simulation atmospheric boundary layers with AMR-Wind. It reads the namespace ABL from the input file to determine how the initial conditions are generated. At each timestep it performs plane averages to collect statistics as well as set the necessary data to be used by wall models as well as any ABLForcing terms that might be active.
Constructor & Destructor Documentation
◆ ABL()
|
explicit |
◆ ~ABL()
|
overridedefault |
Member Function Documentation
◆ abl_meso_file()
|
inline |
◆ abl_statistics()
|
inline |
Return the ABL statistics calculator.
◆ abl_wall_function()
|
inline |
◆ anelastic()
|
inline |
◆ identifier()
|
inlinestatic |
◆ initialize_fields()
|
override |
Initialize the velocity and temperature fields at the beginning of the simulation.
- See also
- amr_wind::ABLFieldInit
◆ post_advance_work()
|
override |
Perform tasks at the end of a new timestep
For ABL simulations, this method writes all plane-averaged profiles and integrated statistics to output
◆ post_init_actions()
|
override |
◆ post_regrid_actions()
|
override |
◆ pre_advance_work()
|
override |
Perform tasks at the beginning of a new timestep
For ABL simulations this method invokes the FieldPlaneAveraging class to compute spatial averages at all z-levels on the coarsest mesh (level 0).
The spatially averaged velocity is used to determine the current mean velocity at the forcing height (if driving pressure gradient term is active) and also determines the average friction velocity for use in the ABL wall function computation.
◆ register_forcing_term()
|
inline |
◆ register_hurricane_forcing()
|
inline |
◆ register_hurricane_temp_forcing()
|
inline |
◆ register_mean_boussinesq_term()
|
inline |
◆ register_meso_mom_forcing()
|
inline |
◆ register_meso_temp_forcing()
|
inline |
Member Data Documentation
◆ m_abl_anelastic
|
private |
ABL anelastic instance.
◆ m_abl_forcing
|
mutableprivate |
Reference to ABL forcing term if present.
◆ m_abl_mean_bous
|
mutableprivate |
◆ m_abl_meso_mom_forcing
|
mutableprivate |
◆ m_abl_meso_temp_forcing
|
mutableprivate |
◆ m_abl_wall_func
|
private |
◆ m_density
|
private |
◆ m_field_init
|
private |
ABL field initializer instance.
◆ m_field_init_file
|
private |
File input initializer.
◆ m_file_input
|
private |
File input flag.
◆ m_hurricane_forcing
|
mutableprivate |
◆ m_hurricane_temp_forcing
|
mutableprivate |
◆ m_hybrid_rl
|
private |
Hybrid RANS-LES with Nalu-wind.
◆ m_init_sdr
|
private |
Default value set based on https://turbmodels.larc.nasa.gov/sst.html.
◆ m_meso_file
|
private |
◆ m_mueff
|
private |
◆ m_sdr
|
private |
◆ m_sim
|
private |
◆ m_stats
|
private |
ABL integrated statistics object.
◆ m_temperature
|
private |
◆ m_tke
|
private |
◆ m_velocity
|
private |
The documentation for this class was generated from the following files:
Generated by