#include <ScalarAdvection.H>
Scalar Advection physics
- See also
- ScalarAdvectionFieldInit
◆ ScalarAdvection()
amr_wind::ScalarAdvection::ScalarAdvection |
( |
CFDSim & | sim | ) |
|
|
explicit |
◆ ~ScalarAdvection()
amr_wind::ScalarAdvection::~ScalarAdvection |
( |
| ) |
|
|
overridedefault |
◆ compute_error()
template<typename Shape >
amrex::Vector< amrex::Real > amr_wind::ScalarAdvection::compute_error |
( |
const Shape & | scalar_function | ) |
|
◆ identifier()
static std::string amr_wind::ScalarAdvection::identifier |
( |
| ) |
|
|
inlinestatic |
◆ initialize_fields()
void amr_wind::ScalarAdvection::initialize_fields |
( |
int | level, |
|
|
const amrex::Geometry & | geom ) |
|
override |
Initialize the fields for ScalarAdvection simulations.
Initialize the velocity and passive scalar fields at the beginning of the simulation.
◆ initialize_scalar()
template<typename Shape >
void amr_wind::ScalarAdvection::initialize_scalar |
( |
const Shape & | scalar_function | ) |
|
◆ post_advance_work()
void amr_wind::ScalarAdvection::post_advance_work |
( |
| ) |
|
|
override |
◆ post_init_actions()
void amr_wind::ScalarAdvection::post_init_actions |
( |
| ) |
|
|
override |
◆ post_regrid_actions()
void amr_wind::ScalarAdvection::post_regrid_actions |
( |
| ) |
|
|
inlineoverride |
◆ pre_advance_work()
void amr_wind::ScalarAdvection::pre_advance_work |
( |
| ) |
|
|
inlineoverride |
◆ m_amplitude
amrex::Real amr_wind::ScalarAdvection::m_amplitude {1.0} |
|
private |
Initial wave/pulse amplitude.
◆ m_density
Field& amr_wind::ScalarAdvection::m_density |
|
private |
◆ m_output_fname
std::string amr_wind::ScalarAdvection::m_output_fname = "error.log" |
|
private |
◆ m_repo
const FieldRepo& amr_wind::ScalarAdvection::m_repo |
|
private |
◆ m_rho
amrex::Real amr_wind::ScalarAdvection::m_rho {1.0} |
|
private |
◆ m_scalar
Field* amr_wind::ScalarAdvection::m_scalar {nullptr} |
|
private |
◆ m_shape
std::string amr_wind::ScalarAdvection::m_shape {"gaussian"} |
|
private |
Initial wave/pulse shape.
◆ m_time
const SimTime& amr_wind::ScalarAdvection::m_time |
|
private |
◆ m_u
amrex::Real amr_wind::ScalarAdvection::m_u {1.0} |
|
private |
Flow velocity in x-direction.
◆ m_v
amrex::Real amr_wind::ScalarAdvection::m_v {0.0} |
|
private |
◆ m_velocity
Field& amr_wind::ScalarAdvection::m_velocity |
|
private |
◆ m_w
const int amr_wind::ScalarAdvection::m_w = 20 |
|
private |
◆ m_x0
amrex::Real amr_wind::ScalarAdvection::m_x0 {0.1} |
|
private |
Initial wave/pulse packet location.
◆ m_x_wavenumber
amrex::Real amr_wind::ScalarAdvection::m_x_wavenumber {16 * utils::pi()} |
|
private |
◆ m_x_width
amrex::Real amr_wind::ScalarAdvection::m_x_width {0.01} |
|
private |
◆ m_y0
amrex::Real amr_wind::ScalarAdvection::m_y0 {0.1} |
|
private |
◆ m_y_wavenumber
amrex::Real amr_wind::ScalarAdvection::m_y_wavenumber {16 * utils::pi()} |
|
private |
◆ m_y_width
amrex::Real amr_wind::ScalarAdvection::m_y_width {0.01} |
|
private |
The documentation for this class was generated from the following files: