37 #ifndef Foam_multiphaseEuler_dragModel_H 38 #define Foam_multiphaseEuler_dragModel_H 43 #include "phaseModel.H" 48 namespace multiphaseEuler
declareRunTimeSelectionTable(autoPtr, dragModel, dictionary,(const dictionary &interfaceDict, const phaseModel &phase1, const phaseModel &phase2),(interfaceDict, phase1, phase2))
const phaseModel & phase2_
virtual ~dragModel()=default
Destructor.
TypeName("dragModel")
Runtime type information.
const phaseModel & phase1() const
dragModel(const dictionary &dict, const phaseModel &phase1, const phaseModel &phase2)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual tmp< volScalarField > K(const volScalarField &Ur) const =0
The drag function K used in the momentum eq.
const dictionary & interfaceDict_
const phaseModel & phase1_
const dimensionedScalar & residualSlip() const
const phaseModel & phase2() const
static autoPtr< dragModel > New(const dictionary &dict, const phaseModel &phase1, const phaseModel &phase2)
const dimensionedScalar & residualPhaseFraction() const
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
dimensionedScalar residualSlip_
dimensionedScalar residualPhaseFraction_