35 #ifndef incompressibleMomentumTransportModel_H 36 #define incompressibleMomentumTransportModel_H 82 const alphaField&
alpha,
89 (alpha, rho, U, alphaRhoPhi, phi, viscosity)
104 const viscosity& viscosity
115 const viscosity& viscosity
127 const alphaField&
alpha()
const 133 const rhoField&
rho()
const 159 namespace incompressible
163 template<
class IncompressibleMomentumTransportModel>
const rhoField & rho() const
Return the density field.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual tmp< fvVectorMatrix > divDevTau(volVectorField &U) const
Return the source term for the momentum equation.
incompressibleMomentumTransportModel(const word &type, const geometricOneField &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.
virtual ~incompressibleMomentumTransportModel()
Destructor.
static autoPtr< incompressibleMomentumTransportModel > New(const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
Return a reference to the selected turbulence model.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
A class for handling words, derived from string.
virtual tmp< volSymmTensorField > devSigma() const
Return the effective stress tensor.
momentumTransportModel(const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
Construct from components.
declareRunTimeNewSelectionTable(autoPtr, incompressibleMomentumTransportModel, 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))
Runtime type information.
geometricOneField alphaField
const alphaField & alpha() const
Access function to phase fraction.
Abstract base class for all fluid physical properties.
Abstract base class for turbulence models (RAS, LES and laminar).
const volVectorField & U() const
Access function to velocity field.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
geometricOneField rhoField
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
virtual tmp< volSymmTensorField > devTau() const
Return the effective stress tensor.
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.
Base class for single-phase incompressible turbulence models.
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.