#include <DensityBuoyancy.H>
Buoyancy term from density variations
- See also
- RayleighTaylor
◆ DensityBuoyancy()
amr_wind::pde::icns::DensityBuoyancy::DensityBuoyancy |
( |
const CFDSim & | sim | ) |
|
|
explicit |
Density based buoyancy source term
Reads in the following parameters from incflo
namespace:
gravity
acceleration due to gravity (m/s)
reference density
Optional, default = 1.0
◆ ~DensityBuoyancy()
amr_wind::pde::icns::DensityBuoyancy::~DensityBuoyancy |
( |
| ) |
|
|
overridedefault |
◆ identifier()
static std::string amr_wind::pde::icns::DensityBuoyancy::identifier |
( |
| ) |
|
|
inlinestatic |
◆ operator()()
void amr_wind::pde::icns::DensityBuoyancy::operator() |
( |
const int | lev, |
|
|
const amrex::MFIter & | mfi, |
|
|
const amrex::Box & | bx, |
|
|
const FieldState | fstate, |
|
|
const amrex::Array4< amrex::Real > & | vel_forces ) const |
|
override |
Add the Boussinesq source term to the forcing array
- Parameters
-
lev | AMR level |
mfi | multiFab index |
bx | Box to operate on |
fstate | field state |
vel_forces | Forcing source term, activated when density varies from rho_0 |
◆ m_density
Field& amr_wind::pde::icns::DensityBuoyancy::m_density |
|
private |
◆ m_gravity
amrex::Vector<amrex::Real> amr_wind::pde::icns::DensityBuoyancy::m_gravity {0.0, 0.0, -9.81} |
|
private |
◆ m_rho_0
amrex::Real amr_wind::pde::icns::DensityBuoyancy::m_rho_0 {1.0} |
|
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/DensityBuoyancy.H
- /home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/icns/source_terms/DensityBuoyancy.cpp