/home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/icns/source_terms/ABLForcing.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
ABLForcing.H
Go to the documentation of this file.
Definition CFDSim.H:47
Definition Field.H:116
Definition SimTime.H:30
AMREX_FORCE_INLINE amrex::Real current_time() const
Definition SimTime.H:102
Definition ABLForcing.H:17
void set_target_velocities(amrex::Real ux, amrex::Real uy)
Definition ABLForcing.H:32
amrex::Real m_forcing_mphase0
Height from water interface where force is off.
Definition ABLForcing.H:126
amrex::Vector< amrex::Real > m_time_table
Velocity forcing time table.
Definition ABLForcing.H:108
amrex::Real m_forcing_mphase1
Height from water interface over which force is ramped.
Definition ABLForcing.H:128
const Field * m_vof
VOF field, to avoid forcing on liquid above force-off height.
Definition ABLForcing.H:134
amrex::RealArray m_mean_vel
Current mean vel.
Definition ABLForcing.H:120
ABLForcing(const CFDSim &sim)
Definition ABLForcing.cpp:13
bool m_use_phase_ramp
Activated when water is present in domain.
Definition ABLForcing.H:87
bool m_write_force_timetable
Bool for writing forcing time table.
Definition ABLForcing.H:99
int m_n_band
Number of cells in band to prevent forcing near liquid.
Definition ABLForcing.H:90
void set_mean_velocities(amrex::Real ux, amrex::Real uy)
Definition ABLForcing.H:38
void operator()(const int lev, const amrex::MFIter &mfi, const amrex::Box &bx, const FieldState fstate, const amrex::Array4< amrex::Real > &src_term) const override
Definition ABLForcing.cpp:87
amrex::Vector< amrex::Real > m_speed_table
Velocity forcing speed table.
Definition ABLForcing.H:111
amrex::Real m_force_outstart
Output start time for force.
Definition ABLForcing.H:105
amrex::Real m_forcing_height
Height at which the velocities are forcing.
Definition ABLForcing.H:123
amrex::RealArray abl_forcing() const
Definition ABLForcing.H:78
amrex::Vector< amrex::Real > m_direction_table
Velocity forcing direction table.
Definition ABLForcing.H:114
~ABLForcing() override
static std::string identifier()
Definition ABLForcing.H:19
int m_force_outfreq
Output frequency for forces.
Definition ABLForcing.H:103
amrex::Real m_water_level
Local storage of interface location.
Definition ABLForcing.H:131
std::string m_vel_timetable
File name for velocity forcing time table.
Definition ABLForcing.H:96
amrex::RealArray m_abl_forcing
ABL forcing terms.
Definition ABLForcing.H:93
std::string m_force_timetable
File name for forcing time table output.
Definition ABLForcing.H:101
amrex::Vector< amrex::Real > m_target_vel
Target velocity.
Definition ABLForcing.H:117
amrex::Real forcing_height() const
Definition ABLForcing.H:80
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE std::iterator_traits< C2 >::value_type linear_angle(const C1 xbegin, const C1 xend, const C2 yinp, const typename std::iterator_traits< C1 >::value_type &xout, const typename std::iterator_traits< C1 >::value_type &upper_bound)
Definition linear_interpolation.H:213
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE std::iterator_traits< C2 >::value_type linear(const C1 xbegin, const C1 xend, const C2 yinp, const typename std::iterator_traits< C1 >::value_type &xout, const int ncomp=1, const int comp=0)
Definition linear_interpolation.H:126
Definition ABLForcing.cpp:11
Generated by 1.12.0