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

Detailed Description

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

Evaluator of the stress tensor gradient field, given a velocity field.

#include <StressTensorGradientFieldEvaluator.h>

Public Types

using TensorField_T = GhostLayerField< Matrix3< real_t >, 1 >
 
using VectorField_T = GhostLayerField< Vector3< real_t >, 1 >
 
using Stencil_T = typename LatticeModel_T::Stencil
 

Public Member Functions

 StressTensorGradientFieldEvaluator (const BlockDataID &stressTensorGradientFieldID, const ConstBlockDataID &velocityGradientFieldID, const ConstBlockDataID &boundaryHandlingID, const real_t &dynamicFluidViscosity)
 
void operator() (IBlock *const block)
 
void resetViscosity (real_t newDynamicFluidViscosity)
 

Private Member Functions

Vector3< real_tgetStressTensorGradient (const Cell &cell, const TensorField_T *velocityGradientField, const BoundaryHandling_T *boundaryHandling)
 

Private Attributes

const BlockDataID stressTensorGradientFieldID_
 
const ConstBlockDataID velocityGradientFieldID_
 
const ConstBlockDataID boundaryHandlingID_
 
real_t dynamicFluidViscosity_
 

Member Typedef Documentation

◆ Stencil_T

template<typename LatticeModel_T , typename BoundaryHandling_T >
using walberla::pe_coupling::discrete_particle_methods::StressTensorGradientFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::Stencil_T = typename LatticeModel_T::Stencil

◆ TensorField_T

◆ VectorField_T

Constructor & Destructor Documentation

◆ StressTensorGradientFieldEvaluator()

template<typename LatticeModel_T , typename BoundaryHandling_T >
walberla::pe_coupling::discrete_particle_methods::StressTensorGradientFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::StressTensorGradientFieldEvaluator ( const BlockDataID stressTensorGradientFieldID,
const ConstBlockDataID velocityGradientFieldID,
const ConstBlockDataID boundaryHandlingID,
const real_t dynamicFluidViscosity 
)
inline

Member Function Documentation

◆ getStressTensorGradient()

template<typename LatticeModel_T , typename BoundaryHandling_T >
Vector3<real_t> walberla::pe_coupling::discrete_particle_methods::StressTensorGradientFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::getStressTensorGradient ( const Cell cell,
const TensorField_T velocityGradientField,
const BoundaryHandling_T boundaryHandling 
)
inlineprivate

◆ operator()()

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

◆ resetViscosity()

template<typename LatticeModel_T , typename BoundaryHandling_T >
void walberla::pe_coupling::discrete_particle_methods::StressTensorGradientFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::resetViscosity ( real_t  newDynamicFluidViscosity)
inline

Member Data Documentation

◆ boundaryHandlingID_

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

◆ dynamicFluidViscosity_

template<typename LatticeModel_T , typename BoundaryHandling_T >
real_t walberla::pe_coupling::discrete_particle_methods::StressTensorGradientFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::dynamicFluidViscosity_
private

◆ stressTensorGradientFieldID_

template<typename LatticeModel_T , typename BoundaryHandling_T >
const BlockDataID walberla::pe_coupling::discrete_particle_methods::StressTensorGradientFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::stressTensorGradientFieldID_
private

◆ velocityGradientFieldID_

template<typename LatticeModel_T , typename BoundaryHandling_T >
const ConstBlockDataID walberla::pe_coupling::discrete_particle_methods::StressTensorGradientFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::velocityGradientFieldID_
private

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