38 #ifndef incompressibleTwoPhaseMixture_H 39 #define incompressibleTwoPhaseMixture_H 86 TypeName(
"incompressibleTwoPhaseMixture");
157 tmp<surfaceScalarField>
nuf()
const;
autoPtr< viscosityModel > nuModel1_
const dimensionedScalar & rho2() const
Return const-access to phase2 density.
tmp< surfaceScalarField > nuf() const
Return the face-interpolated kinematic laminar viscosity.
A two-phase incompressible transportModel.
virtual tmp< volScalarField > nu() const
Return the kinematic laminar viscosity.
incompressibleTwoPhaseMixture(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
An abstract base class for incompressible viscosityModels.
tmp< surfaceScalarField > muf() const
Return the face-interpolated dynamic laminar viscosity.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
const volVectorField & U() const
Return const-access to the mixture velocity.
tmp< volScalarField > mu() const
Return the dynamic laminar viscosity.
virtual ~incompressibleTwoPhaseMixture()=default
Destructor.
const volVectorField & U_
virtual void correct()
Correct the laminar viscosity.
const viscosityModel & nuModel1() const
Return const-access to phase1 viscosityModel.
const viscosityModel & nuModel2() const
Return const-access to phase2 viscosityModel.
TypeName("incompressibleTwoPhaseMixture")
Base-class for all transport models used by the incompressible turbulence models. ...
A two-phase mixture model.
autoPtr< viscosityModel > nuModel2_
virtual bool read()
Read base transportProperties dictionary.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
void calcNu()
Calculate and return the laminar viscosity.
A class for managing temporary objects.
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.
const dimensionedScalar & rho1() const
Return const-access to phase1 density.
const surfaceScalarField & phi_