44 twoPhaseMixture(U.
mesh()),
49 lookupOrDefault<Switch>(
"totalInternalEnergy", true)
95 IOobject::groupName(
"Alpha", phase1Name()),
100 calculatedFvPatchScalarField::typeName
106 IOobject::groupName(
"Alpha", phase2Name()),
111 calculatedFvPatchScalarField::typeName
120 U.mesh().time().timeName(),
124 calculatedFvPatchScalarField::typeName
135 U.mesh().time().timeName(),
139 calculatedFvPatchScalarField::typeName
169 thermo1_->he() = thermo1_->he(p_, T_);
173 thermo2_->he() = thermo2_->he(p_, T_);
183 rho_ = alphaRho1 + alphaRho2;
184 Alpha1_ = alphaRho1/rho_;
185 Alpha2_ = alphaRho2/rho_;
193 return (
alpha1()*thermo1_->mu() +
alpha2()*thermo2_->mu())/rho_;
204 alpha1().boundaryField()[patchi]*thermo1_->mu(patchi)
206 )/rho_.boundaryField()[
patchi];
214 totalInternalEnergy_ =
215 lookupOrDefault<Switch>(
"totalInternalEnergy",
true);
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual tmp< volScalarField > nu() const
Kinematic viscosity of mixture [m^2/s].
volScalarField & alpha1(mixture.alpha1())
static autoPtr< rhoThermo > New(const fvMesh &, const word &phaseName=word::null)
Standard selection based on fvMesh.
bool read()
Read phaseProperties dictionary.
void correct()
Correct the phase or mixture transport models.
GeometricField< vector, fvPatchField, volMesh > volVectorField
virtual void correctThermo()
Correct the thermodynamics of each phase.
virtual void correct()
Update mixture properties.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static word groupName(Name name, const word &group)
compressibleTwoPhaseMixture(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
const dimensionSet dimDensity
virtual ~compressibleTwoPhaseMixture()
Destructor.
virtual bool read()
Read base phaseProperties dictionary.
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual bool read()=0
Read base phaseProperties dictionary.
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField