Evaluator of the total derivative of the fluid velocity.
This evaluates Du/Dt = du/dt + u * grad(u). The gradient of the velocity, grad(u), has to be provided by a field, e.g. evaluated with VelocityGradientFieldEvaluator.h. The time derivative, du/dt, is approximated by a simple backward difference: du/dt = (u_new - u_old ) / deltaT. This requires two velocity field.
#include <VelocityTotalTimeDerivativeFieldEvaluator.h>
Public Types | |
using | VelocityField_T = GhostLayerField< Vector3< real_t >, 1 > |
using | TensorField_T = GhostLayerField< Matrix3< real_t >, 1 > |
Public Member Functions | |
VelocityTotalTimeDerivativeFieldEvaluator (const BlockDataID &totalTimeDerivativeVelocityFieldID, const ConstBlockDataID ¤tVelocityFieldID, const ConstBlockDataID &formerVelocityFieldID, const ConstBlockDataID &velocityGradientFieldID, const real_t &deltaT=real_t(1)) | |
void | operator() (IBlock *const block) |
void | resetDeltaT (const real_t &deltaT) |
Private Attributes | |
const BlockDataID | totalTimeDerivativeVelocityFieldID_ |
const ConstBlockDataID | currentVelocityFieldID_ |
const ConstBlockDataID | formerVelocityFieldID_ |
const ConstBlockDataID | velocityGradientFieldID_ |
real_t | deltaTinv_ |
using walberla::pe_coupling::discrete_particle_methods::VelocityTotalTimeDerivativeFieldEvaluator::TensorField_T = GhostLayerField<Matrix3<real_t>, 1> |
using walberla::pe_coupling::discrete_particle_methods::VelocityTotalTimeDerivativeFieldEvaluator::VelocityField_T = GhostLayerField<Vector3<real_t>, 1> |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |