36 #ifndef phaseCompressibleMomentumTransportModel_H 37 #define phaseCompressibleMomentumTransportModel_H 71 TypeName(
"phaseCompressibleMomentumTransportModel");
82 const alphaField&
alpha,
89 (alpha, rho, U, alphaRhoPhi, phi, viscosity)
99 const alphaField& alpha,
104 const viscosity& viscosity
113 const alphaField& alpha,
118 const viscosity& viscosity
130 const alphaField&
alpha()
const 151 namespace phaseCompressible
155 template<
class PhaseCompressibleMomentumTransportModel>
Templated abstract base class for multiphase compressible turbulence models.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~phaseCompressibleMomentumTransportModel()
Destructor.
const alphaField & alpha() const
Access function to phase fraction.
Generic GeometricField class.
virtual tmp< volSymmTensorField > devTau() const =0
Return the effective stress tensor including the laminar stress.
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))
virtual tmp< surfaceScalarField > pPrimef() const
Return the face-phase-pressure'.
const alphaField & alpha_
A class for handling words, derived from string.
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.
momentumTransportModel(const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
Construct from components.
phaseCompressibleMomentumTransportModel(const word &type, const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
Construct.
volScalarField alphaField
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.
const rhoField & rho() const
Return the density field.
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< 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< volScalarField > pPrime() const
Return the phase-pressure'.
Base class for single-phase compressible turbulence models.
virtual tmp< fvVectorMatrix > divDevTau(volVectorField &U) const =0
Return the source term for the momentum equation.
TypeName("phaseCompressibleMomentumTransportModel")
Runtime type information.