Evaluates the (local) effective viscosity.
The effective viscosity (using the provided correlation) is evaluated for each cell and stored, as the respective omega value, in a field, that can be given to a suitable LBM sweep.
#include <EffectiveViscosityFieldEvaluator.h>
Public Types | |
using | ScalarField_T = GhostLayerField< real_t, 1 > |
Public Member Functions | |
EffectiveViscosityFieldEvaluator (const BlockDataID &omegaFieldID, const ConstBlockDataID &solidVolumeFractionFieldID, const real_t &fluidViscosity, const std::function< real_t(real_t, real_t)> &effectiveViscosityFunc) | |
void | operator() (IBlock *const block) |
void | resetFluidViscosity (real_t newFluidViscosity) |
Private Attributes | |
const BlockDataID | omegaFieldID_ |
const ConstBlockDataID | solidVolumeFractionFieldID_ |
real_t | fluidViscosity_ |
std::function< real_t(real_t, real_t)> | effectiveViscosityFunc_ |
using walberla::pe_coupling::discrete_particle_methods::EffectiveViscosityFieldEvaluator::ScalarField_T = GhostLayerField<real_t, 1> |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |