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_ |
using walberla::pe_coupling::discrete_particle_methods::GNSVelocityFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::PdfField_T = lbm::PdfField<LatticeModel_T> |
using walberla::pe_coupling::discrete_particle_methods::GNSVelocityFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::ScalarField_T = GhostLayerField<real_t, 1> |
using walberla::pe_coupling::discrete_particle_methods::GNSVelocityFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::VelocityField_T = GhostLayerField<Vector3<real_t>, 1> |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |