For fixed heat flux, the density is computed from flux, velocity and populations, similar to fixed velocity boundaries.
More...
|
| template<typename TYPE , typename CELL , typename RHO , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t> |
| void | compute (CELL &cell, RHO &rho) any_platform |
| |
| template<typename TYPE , typename CELL , typename RHO > |
| void | define (CELL &cell, const RHO &rho) any_platform |
| |
| template<typename TYPE , typename CELL > |
| void | initialize (CELL &cell) any_platform |
| |
| template<typename TYPE , typename CELL , typename RHO > |
| void | inverseShift (CELL &cell, RHO &rho) any_platform |
| |
template<int direction, int orientation>
struct olb::momenta::HeatFluxBoundaryDensity< direction, orientation >
For fixed heat flux, the density is computed from flux, velocity and populations, similar to fixed velocity boundaries.
Definition at line 298 of file elements.h.
template<int direction, int orientation>
template<typename TYPE , typename CELL , typename RHO , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
Definition at line 300 of file elements.h.
301 {
302 const auto uNS = cell.template getField<descriptors::VELOCITY>();
303
304 V conduction[DESCRIPTOR::d];
305 TYPE().computeU(cell, conduction);
307 }
V heatFluxBMRho(CELL &cell, const U &u, FLUX &flux) any_platform
References olb::momenta::heatFluxBMRho().