34 #ifndef relativeVelocityModel_H 35 #define relativeVelocityModel_H
declareRunTimeSelectionTable(autoPtr, relativeVelocityModel, dictionary,(const dictionary &dict, const incompressibleTwoPhaseInteractingMixture &mixture, const uniformDimensionedVectorField &g),(dict, mixture, g))
Declare runtime constructor selection table.
A two-phase incompressible transportModel for interacting phases requiring the direct evaluation of t...
A list of keyword definitions, which are a keyword followed by any number of values (e...
static autoPtr< relativeVelocityModel > New(const dictionary &dict, const incompressibleTwoPhaseInteractingMixture &mixture, const uniformDimensionedVectorField &g)
TypeName("relativeVelocityModel")
Runtime type information.
const incompressibleTwoPhaseInteractingMixture & mixture_
Mixture properties.
volVectorField Udm_
Dispersed diffusion velocity.
virtual void correct()=0
Update the diffusion velocity.
tmp< volVectorField > acceleration() const
Return the dispersed phase acceleration.
virtual ~relativeVelocityModel()
Destructor.
const incompressibleTwoPhaseInteractingMixture & mixture() const
Mixture properties.
tmp< volSymmTensorField > tauDm() const
Return the stress tensor due to the phase transport.
const uniformDimensionedVectorField & g_
Acceleration due to gravity.
relativeVelocityModel(const dictionary &dict, const incompressibleTwoPhaseInteractingMixture &mixture, const uniformDimensionedVectorField &g)
Construct from components.
void operator=(const relativeVelocityModel &)=delete
Disallow default bitwise assignment.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
const dimensionedVector & g
const volVectorField & Udm() const
Return the diffusion velocity of the dispersed phase.