36 #ifndef phaseIncompressibleMomentumTransportModel_H 37 #define phaseIncompressibleMomentumTransportModel_H 71 TypeName(
"phaseIncompressibleMomentumTransportModel");
82 const alphaField&
alpha,
89 (alpha, rho, U, alphaRhoPhi, phi, viscosity)
99 const alphaField& alpha,
104 const viscosity& viscosity
113 const alphaField& alpha,
117 const viscosity& viscosity
129 const alphaField&
alpha()
const 156 namespace phaseIncompressible
160 template<
class PhaseIncompressibleMomentumTransportModel>
TypeName("phaseIncompressibleMomentumTransportModel")
Runtime type information.
const alphaField & alpha_
const rhoField & rho() const
Return the density field.
A list of keyword definitions, which are a keyword followed by any number of values (e...
declareRunTimeNewSelectionTable(autoPtr, phaseIncompressibleMomentumTransportModel, dictionary,(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity),(alpha, rho, U, alphaRhoPhi, phi, viscosity))
virtual tmp< volSymmTensorField > devSigma() const
Return the effective stress tensor.
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
volScalarField alphaField
Generic GeometricField class.
Templated abstract base class for multiphase incompressible turbulence models.
const alphaField & alpha() const
Access function to phase fraction.
geometricOneField rhoField
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
A class for handling words, derived from string.
phaseIncompressibleMomentumTransportModel(const word &type, const alphaField &alpha, const geometricOneField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
Construct.
virtual tmp< fvVectorMatrix > divDevSigma(volVectorField &U) const
Return the source term for the momentum equation.
momentumTransportModel(const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
Construct from components.
Abstract base class for all fluid physical properties.
const volVectorField & U() const
Access function to velocity field.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
virtual ~phaseIncompressibleMomentumTransportModel()
Destructor.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
static autoPtr< phaseIncompressibleMomentumTransportModel > New(const alphaField &alpha, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
Return a reference to the selected turbulence model.
Base class for single-phase incompressible turbulence models.
virtual tmp< volSymmTensorField > devTau() const
Return the effective stress tensor.
virtual tmp< surfaceScalarField > pPrimef() const
Return the face-phase-pressure'.
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.
virtual tmp< fvVectorMatrix > divDevTau(volVectorField &U) const
Return the source term for the momentum equation.