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

Detailed Description

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

Evaluator for the fluid-phase velocity, given a (GNS) PDf field.

Evaluator for the fluid-phase velocity when using GNS-LBM (in contrast to the volume-averaged velocity that is obtained by calculating the first order moment of the PDFs).

See: Z. Guo, T. S. Zhao - "Lattice Boltzmann model for incompressible flows through porous media", Phys. Rev. E 66 (2002)036304. doi:10.1103/PhysRevE.66.036304.

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 <GNSVelocityFieldEvaluator.h>

Public Types

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

Public Member Functions

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

Private Attributes

const BlockDataID velocityFieldID_
 
const ConstBlockDataID pdfFieldID_
 
const ConstBlockDataID solidVolumeFractionFieldID_
 
const ConstBlockDataID boundaryHandlingID_
 

Member Typedef Documentation

◆ PdfField_T

◆ ScalarField_T

◆ VelocityField_T

Constructor & Destructor Documentation

◆ GNSVelocityFieldEvaluator()

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

Member Function Documentation

◆ operator()()

template<typename LatticeModel_T , typename BoundaryHandling_T >
void walberla::pe_coupling::discrete_particle_methods::GNSVelocityFieldEvaluator< 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::GNSVelocityFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::boundaryHandlingID_
private

◆ pdfFieldID_

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

◆ solidVolumeFractionFieldID_

template<typename LatticeModel_T , typename BoundaryHandling_T >
const ConstBlockDataID walberla::pe_coupling::discrete_particle_methods::GNSVelocityFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::solidVolumeFractionFieldID_
private

◆ velocityFieldID_

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

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