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