OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
olb::momenta::HeatFluxBoundaryDensity< direction, orientation > Struct Template Reference

For fixed heat flux, the density is computed from flux, velocity and populations, similar to fixed velocity boundaries. More...

#include <elements.h>

+ Collaboration diagram for olb::momenta::HeatFluxBoundaryDensity< direction, orientation >:

Public Member Functions

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
 

Static Public Member Functions

static std::string getName ()
 

Detailed Description

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.

Member Function Documentation

◆ compute()

template<int direction, int orientation>
template<typename TYPE , typename CELL , typename RHO , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::HeatFluxBoundaryDensity< direction, orientation >::compute ( CELL & cell,
RHO & rho )
inline

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 }

◆ define()

template<int direction, int orientation>
template<typename TYPE , typename CELL , typename RHO >
void olb::momenta::HeatFluxBoundaryDensity< direction, orientation >::define ( CELL & cell,
const RHO & rho )
inline

Definition at line 255 of file elements.h.

255{};

◆ getName()

template<int direction, int orientation>
static std::string olb::momenta::HeatFluxBoundaryDensity< direction, orientation >::getName ( )
inlinestatic

Definition at line 263 of file elements.h.

263 {
264 return "HeatFluxBoundaryDensity";
265 }

◆ initialize()

template<int direction, int orientation>
template<typename TYPE , typename CELL >
void olb::momenta::HeatFluxBoundaryDensity< direction, orientation >::initialize ( CELL & cell)
inline

Definition at line 258 of file elements.h.

258{};

◆ inverseShift()

template<int direction, int orientation>
template<typename TYPE , typename CELL , typename RHO >
void olb::momenta::HeatFluxBoundaryDensity< direction, orientation >::inverseShift ( CELL & cell,
RHO & rho )
inline

Definition at line 261 of file elements.h.

261{};

The documentation for this struct was generated from the following file: