36 #ifndef phaseCompressibleMomentumTransportModel_H
37 #define phaseCompressibleMomentumTransportModel_H
147 namespace phaseCompressible
151 template<
class PhaseCompressibleMomentumTransportModel>
Generic GeometricField class.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Base class for single-phase compressible turbulence models.
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.
const rhoField & rho() const
Return the density field.
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...
const volVectorField & U() const
Access function to velocity field.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
Templated abstract base class for multiphase compressible turbulence models.
declareRunTimeNewSelectionTable(autoPtr, phaseCompressibleMomentumTransportModel, 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))
const alphaField & alpha_
virtual ~phaseCompressibleMomentumTransportModel()
Destructor.
static autoPtr< phaseCompressibleMomentumTransportModel > New(const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
Return a reference to the selected turbulence model.
virtual tmp< fvVectorMatrix > divDevTau(volVectorField &U) const =0
Return the source term for the momentum equation.
const alphaField & alpha() const
Access function to phase fraction.
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
virtual tmp< surfaceScalarField > pPrimef() const
Return the face-phase-pressure'.
phaseCompressibleMomentumTransportModel(const word &type, const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
Construct.
virtual tmp< volSymmTensorField > devTau() const =0
Return the effective stress tensor including the laminar stress.
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))
phaseCompressibleMomentumTransportModel momentumTransportModel
autoPtr< PhaseCompressibleMomentumTransportModel > New(const volScalarField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.