#include <ABLStats.H>
◆ ABLStats()
◆ ~ABLStats()
amr_wind::ABLStats::~ABLStats |
( |
| ) |
|
|
overridedefault |
◆ abl_mode()
◆ calc_averages()
void amr_wind::ABLStats::calc_averages |
( |
| ) |
|
|
protected |
Calculate plane average profiles.
◆ calc_sfs_stress_avgs()
Calculate sfs stress averages.
◆ calc_tke_diffusion()
void amr_wind::ABLStats::calc_tke_diffusion |
( |
ScratchField & | diffusion, |
|
|
const Field & | buoy_prod, |
|
|
const Field & | shear_prod, |
|
|
const Field & | dissipation, |
|
|
const amrex::Real | dt ) |
Calculate tke diffusion term by eliminating other terms.
Calculate sfs stress averages.
◆ compute_zi()
void amr_wind::ABLStats::compute_zi |
( |
| ) |
|
Compute height of capping inversion.
◆ identifier()
static std::string amr_wind::ABLStats::identifier |
( |
| ) |
|
|
inlinestatic |
◆ initialize()
void amr_wind::ABLStats::initialize |
( |
| ) |
|
|
protected |
Read user inputs and create the necessary files.
◆ post_advance_work()
void amr_wind::ABLStats::post_advance_work |
( |
| ) |
|
|
override |
Process fields given timestep and output to disk.
◆ post_init_actions()
void amr_wind::ABLStats::post_init_actions |
( |
| ) |
|
|
override |
◆ pre_advance_work()
void amr_wind::ABLStats::pre_advance_work |
( |
| ) |
|
|
inlineoverride |
Perform actions before a new timestep.
◆ prepare_ascii_file()
void amr_wind::ABLStats::prepare_ascii_file |
( |
| ) |
|
|
protectedvirtual |
◆ prepare_netcdf_file()
void amr_wind::ABLStats::prepare_netcdf_file |
( |
| ) |
|
|
protectedvirtual |
◆ process_output()
void amr_wind::ABLStats::process_output |
( |
| ) |
|
|
protectedvirtual |
Output data based on user-defined format.
◆ register_forcing_term()
◆ register_meso_mom_forcing()
◆ register_meso_temp_forcing()
◆ theta_profile()
Return instance that handles temperature statistics.
◆ theta_profile_fine()
Return instance that handles temperature statistics.
◆ vel_profile()
Return vel plane averaging instance.
◆ vel_profile_coarse()
Return vel plane averaging instance.
◆ write_ascii()
void amr_wind::ABLStats::write_ascii |
( |
| ) |
|
|
protectedvirtual |
Output sampled data in ASCII format
Note that this should be used for debugging only and not in production runs as it can have significant impacts on code performance.
◆ write_netcdf()
void amr_wind::ABLStats::write_netcdf |
( |
| ) |
|
|
protected |
Write sampled data into a NetCDF file.
◆ m_abl_forcing
Reference to ABL forcing term if present.
◆ m_abl_meso_mom_forcing
◆ m_abl_meso_temp_forcing
◆ m_abl_wall_func
◆ m_ascii_file_name
std::string amr_wind::ABLStats::m_ascii_file_name |
|
private |
◆ m_dn
amrex::Real amr_wind::ABLStats::m_dn {0.0} |
|
private |
Cell spacing at the coarsest level.
◆ m_do_energy_budget
bool amr_wind::ABLStats::m_do_energy_budget {false} |
|
private |
◆ m_gravity
amrex::Real amr_wind::ABLStats::m_gravity {9.81} |
|
private |
Acceleration due to gravity magnitude.
◆ m_kappa
amrex::Real amr_wind::ABLStats::m_kappa {0.41} |
|
private |
◆ m_mueff
Field& amr_wind::ABLStats::m_mueff |
|
private |
◆ m_ncells_h1
size_t amr_wind::ABLStats::m_ncells_h1 {0} |
|
private |
Number of cells in the horizontal direction.
◆ m_ncells_h2
size_t amr_wind::ABLStats::m_ncells_h2 {0} |
|
private |
◆ m_ncfile_name
std::string amr_wind::ABLStats::m_ncfile_name |
|
private |
◆ m_normal_dir
int amr_wind::ABLStats::m_normal_dir {2} |
|
private |
Wall-normal direction axis.
◆ m_out_fmt
std::string amr_wind::ABLStats::m_out_fmt {"netcdf"} |
|
private |
Format of the data output (ascii, netcdf, etc.)
◆ m_out_freq
int amr_wind::ABLStats::m_out_freq {100} |
|
private |
Frequency of data sampling and output.
◆ m_pa_mueff
◆ m_pa_temp
◆ m_pa_temp_fine
◆ m_pa_tt
◆ m_pa_tu
◆ m_pa_uu
◆ m_pa_uuu
◆ m_pa_vel
◆ m_pa_vel_fine
◆ m_ref_theta
amrex::Real amr_wind::ABLStats::m_ref_theta {300.0} |
|
private |
Reference surface temperature.
◆ m_sim
CFDSim& amr_wind::ABLStats::m_sim |
|
private |
◆ m_temperature
Field& amr_wind::ABLStats::m_temperature |
|
private |
◆ m_zi
amrex::Real amr_wind::ABLStats::m_zi {0.0} |
|
private |
Variable to store capping inversion height.
The documentation for this class was generated from the following files:
- /home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/ABLStats.H
- /home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/ABLStats.cpp