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 243 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 245 of file elements.h.
246 {
247 const auto uNS = cell.template getField<descriptors::VELOCITY>();
248
249 V conduction[DESCRIPTOR::d];
250 TYPE().computeU(cell, conduction);
251 rho = heatFluxBMRho<direction,orientation>(cell, uNS.data(), conduction[direction]);
252 }