alphaEqn.H
Go to the documentation of this file.
1 {
2  word alphaScheme("div(phi,alpha)");
3 
5  (
6  phi.name() + alpha1.name(),
8  (
9  phi,
10  alpha1,
11  alphaScheme
12  )
13  );
14 
16 
18 
19  Info<< "Phase-1 volume fraction = "
20  << alpha1.weightedAverage(mesh.Vsc()).value()
21  << " Min(" << alpha1.name() << ") = " << min(alpha1).value()
22  << " Max(" << alpha1.name() << ") = " << max(alpha1).value()
23  << endl;
24 }
rhoPhi
rhoPhi
Definition: alphaEqn.H:116
Foam::MULES::explicitSolve
void explicitSolve(const RdeltaTType &rDeltaT, const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiPsi, const SpType &Sp, const SuType &Su)
Definition: MULESTemplates.C:38
phi
surfaceScalarField & phi
Definition: setRegionFluidFields.H:8
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
Foam::dimensioned::value
const Type & value() const
Return const reference to value.
Definition: dimensionedType.C:261
alphaPhi
surfaceScalarField alphaPhi(phi.name()+alpha1.name(), fvc::flux(phi, alpha1, alphaScheme))
Foam::Info
messageStream Info
rho2
rho2
Definition: pEqn.H:125
mesh
dynamicFvMesh & mesh
Definition: createDynamicFvMesh.H:18
rho1
rho1
Definition: pEqn.H:124
alpha1
volScalarField & alpha1
Definition: createFields.H:15
Foam::max
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Foam::surfaceScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Definition: surfaceFieldsFwd.H:52
Foam::fvc::flux
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > flux(const surfaceScalarField &phi, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Definition: fvcFlux.C:45
Foam::min
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)