#include <GeostrophicForcing.H>
Apply source term equivalent to drive the flow to match given geostrophic wind
◆ GeostrophicForcing()
amr_wind::pde::icns::GeostrophicForcing::GeostrophicForcing |
( |
const CFDSim & | sim | ) |
|
|
explicit |
Geostrophic forcing term for ABL
Parameters are read from the GeostrophicWind
and CorolisForcing
namespace in the input file. The following parameters are available:
rotational_time_period
Time period for planetary rotation (default: 86400 seconds) in the CoriolisForcing namespace
geostrophic_wind
Geostrophic wind above capping inversion in the GeostrophicForcing namespace
◆ ~GeostrophicForcing()
amr_wind::pde::icns::GeostrophicForcing::~GeostrophicForcing |
( |
| ) |
|
|
overridedefault |
◆ identifier()
static std::string amr_wind::pde::icns::GeostrophicForcing::identifier |
( |
| ) |
|
|
inlinestatic |
◆ operator()()
void amr_wind::pde::icns::GeostrophicForcing::operator() |
( |
const int | lev, |
|
|
const amrex::MFIter & | mfi, |
|
|
const amrex::Box & | bx, |
|
|
const FieldState | fstate, |
|
|
const amrex::Array4< amrex::Real > & | src_term ) const |
|
override |
◆ m_coriolis_factor
amrex::Real amr_wind::pde::icns::GeostrophicForcing::m_coriolis_factor |
|
private |
◆ m_direction_table
amrex::Vector<amrex::Real> amr_wind::pde::icns::GeostrophicForcing::m_direction_table |
|
private |
Velocity forcing direction table.
◆ m_forcing_mphase0
amrex::Real amr_wind::pde::icns::GeostrophicForcing::m_forcing_mphase0 |
|
private |
Height from water interface where force is off.
◆ m_forcing_mphase1
amrex::Real amr_wind::pde::icns::GeostrophicForcing::m_forcing_mphase1 |
|
private |
Height from water interface over which force is ramped.
◆ m_g_forcing
amrex::Vector<amrex::Real> amr_wind::pde::icns::GeostrophicForcing::m_g_forcing {0.0, 0.0, 0.0} |
|
private |
Forcing source term (pressure gradient)
◆ m_is_horizontal
bool amr_wind::pde::icns::GeostrophicForcing::m_is_horizontal {false} |
|
private |
◆ m_mesh
const amrex::AmrCore& amr_wind::pde::icns::GeostrophicForcing::m_mesh |
|
private |
◆ m_n_band
int amr_wind::pde::icns::GeostrophicForcing::m_n_band {2} |
|
private |
Number of cells in band to prevent forcing near liquid.
◆ m_speed_table
amrex::Vector<amrex::Real> amr_wind::pde::icns::GeostrophicForcing::m_speed_table |
|
private |
Velocity forcing speed table.
◆ m_target_vel
amrex::Vector<amrex::Real> amr_wind::pde::icns::GeostrophicForcing::m_target_vel {0.0, 0.0, 0.0} |
|
private |
◆ m_time
const SimTime& amr_wind::pde::icns::GeostrophicForcing::m_time |
|
private |
◆ m_time_table
amrex::Vector<amrex::Real> amr_wind::pde::icns::GeostrophicForcing::m_time_table |
|
private |
Velocity forcing time table.
◆ m_use_phase_ramp
bool amr_wind::pde::icns::GeostrophicForcing::m_use_phase_ramp {false} |
|
private |
Activated when water is present in domain.
◆ m_vel_timetable
std::string amr_wind::pde::icns::GeostrophicForcing::m_vel_timetable |
|
private |
File name for target velocity time table.
◆ m_vof
const Field* amr_wind::pde::icns::GeostrophicForcing::m_vof |
|
private |
VOF field, to avoid forcing on liquid above force-off height.
◆ m_water_level
amrex::Real amr_wind::pde::icns::GeostrophicForcing::m_water_level |
|
private |
Local storage of interface location.
The documentation for this class was generated from the following files: