#include <ChannelFlow.H>
◆ ChannelFlow()
amr_wind::channel_flow::ChannelFlow::ChannelFlow |
( |
CFDSim & | sim | ) |
|
|
explicit |
◆ ~ChannelFlow()
amr_wind::channel_flow::ChannelFlow::~ChannelFlow |
( |
| ) |
|
|
overridedefault |
◆ compute_analytical_smagorinsky_error()
amrex::Real amr_wind::channel_flow::ChannelFlow::compute_analytical_smagorinsky_error |
( |
| ) |
|
◆ compute_error()
template<typename IndexSelector >
amrex::Real amr_wind::channel_flow::ChannelFlow::compute_error |
( |
const IndexSelector & | idxOp | ) |
|
◆ identifier()
static std::string amr_wind::channel_flow::ChannelFlow::identifier |
( |
| ) |
|
|
inlinestatic |
◆ initialize_fields() [1/2]
void amr_wind::channel_flow::ChannelFlow::initialize_fields |
( |
int | level, |
|
|
const amrex::Geometry & | geom ) |
|
override |
Initialize the velocity, density, tke and sdr fields at the beginning of the simulation.
◆ initialize_fields() [2/2]
template<typename IndexSelector >
void amr_wind::channel_flow::ChannelFlow::initialize_fields |
( |
int | level, |
|
|
const amrex::Geometry & | geom, |
|
|
const IndexSelector & | idxOp, |
|
|
const int | n_idx ) |
Use Reichardt function to initialize velocity profile.
◆ output_error()
void amr_wind::channel_flow::ChannelFlow::output_error |
( |
| ) |
|
◆ post_advance_work()
void amr_wind::channel_flow::ChannelFlow::post_advance_work |
( |
| ) |
|
|
override |
◆ post_init_actions()
void amr_wind::channel_flow::ChannelFlow::post_init_actions |
( |
| ) |
|
|
override |
◆ post_regrid_actions()
void amr_wind::channel_flow::ChannelFlow::post_regrid_actions |
( |
| ) |
|
|
inlineoverride |
◆ pre_advance_work()
void amr_wind::channel_flow::ChannelFlow::pre_advance_work |
( |
| ) |
|
|
inlineoverride |
◆ m_analytical_smagorinsky_test
bool amr_wind::channel_flow::ChannelFlow::m_analytical_smagorinsky_test {false} |
|
private |
flag for analytical smagorinsky test
◆ m_C0
amrex::Real amr_wind::channel_flow::ChannelFlow::m_C0 {0.0} |
|
private |
Analytical Smagorinsky first coefficient.
◆ m_C1
amrex::Real amr_wind::channel_flow::ChannelFlow::m_C1 {0.0} |
|
private |
Analytical Smagorinsky second coefficient.
◆ m_dpdx
amrex::Real amr_wind::channel_flow::ChannelFlow::m_dpdx {0.0} |
|
private |
Body forcing (x direction)
◆ m_half
bool amr_wind::channel_flow::ChannelFlow::m_half {false} |
|
private |
◆ m_kappa
amrex::Real amr_wind::channel_flow::ChannelFlow::m_kappa {0.41} |
|
private |
◆ m_laminar
bool amr_wind::channel_flow::ChannelFlow::m_laminar {false} |
|
private |
◆ m_mean_vel
amrex::Real amr_wind::channel_flow::ChannelFlow::m_mean_vel |
|
private |
◆ m_mean_vel_dir
int amr_wind::channel_flow::ChannelFlow::m_mean_vel_dir {0} |
|
private |
direction of mean velocity
◆ m_mesh
const amrex::AmrCore& amr_wind::channel_flow::ChannelFlow::m_mesh |
|
private |
◆ m_mesh_mapping
bool amr_wind::channel_flow::ChannelFlow::m_mesh_mapping {false} |
|
private |
◆ m_mu
amrex::Real amr_wind::channel_flow::ChannelFlow::m_mu {1.0} |
|
private |
◆ m_norm_dir
int amr_wind::channel_flow::ChannelFlow::m_norm_dir {1} |
|
private |
Wall normal direction - Default y direction.
◆ m_output_fname
std::string amr_wind::channel_flow::ChannelFlow::m_output_fname {"channel_flow.log"} |
|
private |
◆ m_perturb_fac
amrex::Real amr_wind::channel_flow::ChannelFlow::m_perturb_fac {0.1} |
|
private |
perturbation factor (fraction of utau)
◆ m_perturb_vel
bool amr_wind::channel_flow::ChannelFlow::m_perturb_vel {false} |
|
private |
flag for perturbations of the initial condition
◆ m_perturb_y_period
amrex::Real amr_wind::channel_flow::ChannelFlow::m_perturb_y_period {1.0} |
|
private |
perturbation period (y-direction)
◆ m_perturb_z_period
amrex::Real amr_wind::channel_flow::ChannelFlow::m_perturb_z_period {1.0} |
|
private |
perturbation period (z-direction)
◆ m_re_tau
amrex::Real amr_wind::channel_flow::ChannelFlow::m_re_tau {1000.0} |
|
private |
◆ m_repo
FieldRepo& amr_wind::channel_flow::ChannelFlow::m_repo |
|
private |
◆ m_rho
amrex::Real amr_wind::channel_flow::ChannelFlow::m_rho {1.0} |
|
private |
◆ m_sdr0
amrex::Real amr_wind::channel_flow::ChannelFlow::m_sdr0 {1000.0} |
|
private |
◆ m_sim
CFDSim& amr_wind::channel_flow::ChannelFlow::m_sim |
|
private |
CFD simulation controller instance.
◆ m_time
◆ m_tke0
amrex::Real amr_wind::channel_flow::ChannelFlow::m_tke0 {0.0} |
|
private |
◆ m_turbulence_model
std::string amr_wind::channel_flow::ChannelFlow::m_turbulence_model |
|
private |
◆ m_utau
amrex::Real amr_wind::channel_flow::ChannelFlow::m_utau {0.01} |
|
private |
◆ m_w
const int amr_wind::channel_flow::ChannelFlow::m_w {18} |
|
private |
◆ m_wall_func
WallFunction amr_wind::channel_flow::ChannelFlow::m_wall_func |
|
private |
◆ m_ytau
amrex::Real amr_wind::channel_flow::ChannelFlow::m_ytau {0.001} |
|
private |
The documentation for this class was generated from the following files: