RayleighDamping Class Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
amr_wind::pde::icns::RayleighDamping Class Reference
#include <RayleighDamping.H>
Inheritance diagram for amr_wind::pde::icns::RayleighDamping:
Collaboration diagram for amr_wind::pde::icns::RayleighDamping:
Public Member Functions | |
RayleighDamping (const CFDSim &) | |
~RayleighDamping () override | |
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 |
Static Public Member Functions | |
static std::string | identifier () |
Private Attributes | |
const amrex::AmrCore & | m_mesh |
const Field & | m_velocity |
amrex::Vector< amrex::Real > | m_ref_vel {15.0, 0.0, 0.0} |
Reference velocity defined as an input. | |
amrex::Real | m_dRD {500.} |
Full length of the damping layer. | |
amrex::Real | m_dFull {300.} |
Damping length. | |
amrex::Real | m_tau {5.0} |
Time scale defined by the user. | |
amrex::Vector< int > | m_fcoord {1, 1, 1} |
Which coordinate directions are forced. | |
Detailed Description
Apply Rayleigh damping as a source terms
The implementation is based on a private communication I (G. Deskos) had with Matt Churchfield
Constructor & Destructor Documentation
◆ RayleighDamping()
|
explicit |
◆ ~RayleighDamping()
|
overridedefault |
Member Function Documentation
◆ identifier()
|
inlinestatic |
◆ operator()()
|
override |
Member Data Documentation
◆ m_dFull
|
private |
Damping length.
◆ m_dRD
|
private |
Full length of the damping layer.
◆ m_fcoord
|
private |
Which coordinate directions are forced.
◆ m_mesh
|
private |
◆ m_ref_vel
|
private |
Reference velocity defined as an input.
◆ m_tau
|
private |
Time scale defined by the user.
◆ m_velocity
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/icns/source_terms/RayleighDamping.H
- /home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/icns/source_terms/RayleighDamping.cpp
Generated by 1.12.0