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,
12  )
13  );
14 
16  (
17  geometricOneField(),
18  alpha1,
19  phi,
20  alphaPhi,
21  oneField(),
22  zeroField()
23  );
24 
26 
27  Info<< "Phase-1 volume fraction = "
28  << alpha1.weightedAverage(mesh.Vsc()).value()
29  << " Min(" << alpha1.name() << ") = " << min(alpha1).value()
30  << " Max(" << alpha1.name() << ") = " << max(alpha1).value()
31  << endl;
32 }
const volScalarField & rho1
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
volScalarField & alpha1(mixture.alpha1())
rhoPhi
Definition: alphaEqn.H:25
dynamicFvMesh & mesh
surfaceScalarField alphaPhi(phi.name()+alpha1.name(), fvc::flux(phi, alpha1, alphaScheme))
phi
Definition: correctPhi.H:3
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
const word alphaScheme(mesh.divScheme(divAlphaName)[1].wordToken())
const volScalarField & rho2
messageStream Info
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
Definition: fvcFlux.C:32
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
void explicitSolve(const RdeltaTType &rDeltaT, const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiPsi, const SpType &Sp, const SuType &Su)