walberla::pe_coupling::discrete_particle_methods::VelocityFieldEvaluator< LatticeModel_T, BoundaryHandling_T > Class Template Reference

Detailed Description

template<typename LatticeModel_T, typename BoundaryHandling_T>
class walberla::pe_coupling::discrete_particle_methods::VelocityFieldEvaluator< LatticeModel_T, BoundaryHandling_T >

Evaluator of the velocity field, given a PDF field.

Calculates the velocity in each domain cell, given a PDF field. Since in LBM, the macroscopic velocity depends on the local fluid forcing, one has to pay attention to the currently set forces in the corresponding force field before evaluating the velocity.

#include <VelocityFieldEvaluator.h>

Public Types

using PdfField_T = lbm::PdfField< LatticeModel_T >
 
using VelocityField_T = GhostLayerField< Vector3< real_t >, 1 >
 

Public Member Functions

 VelocityFieldEvaluator (const BlockDataID &velocityFieldID, const ConstBlockDataID &pdfFieldID, const ConstBlockDataID &boundaryHandlingID)
 
void operator() (IBlock *const block)
 

Private Attributes

const BlockDataID velocityFieldID_
 
const ConstBlockDataID pdfFieldID_
 
const ConstBlockDataID boundaryHandlingID_
 

Member Typedef Documentation

◆ PdfField_T

◆ VelocityField_T

Constructor & Destructor Documentation

◆ VelocityFieldEvaluator()

template<typename LatticeModel_T , typename BoundaryHandling_T >
walberla::pe_coupling::discrete_particle_methods::VelocityFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::VelocityFieldEvaluator ( const BlockDataID velocityFieldID,
const ConstBlockDataID pdfFieldID,
const ConstBlockDataID boundaryHandlingID 
)
inline

Member Function Documentation

◆ operator()()

template<typename LatticeModel_T , typename BoundaryHandling_T >
void walberla::pe_coupling::discrete_particle_methods::VelocityFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::operator() ( IBlock *const  block)
inline

Member Data Documentation

◆ boundaryHandlingID_

template<typename LatticeModel_T , typename BoundaryHandling_T >
const ConstBlockDataID walberla::pe_coupling::discrete_particle_methods::VelocityFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::boundaryHandlingID_
private

◆ pdfFieldID_

template<typename LatticeModel_T , typename BoundaryHandling_T >
const ConstBlockDataID walberla::pe_coupling::discrete_particle_methods::VelocityFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::pdfFieldID_
private

◆ velocityFieldID_

template<typename LatticeModel_T , typename BoundaryHandling_T >
const BlockDataID walberla::pe_coupling::discrete_particle_methods::VelocityFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::velocityFieldID_
private

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