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
Definition: alphaEqn.H:116
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
void explicitSolve(const RdeltaTType &rDeltaT, const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiPsi, const SpType &Sp, const SuType &Su)
rho2
Definition: pEqn.H:125
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
volScalarField & alpha1
Definition: createFields.H:15
messageStream Info
surfaceScalarField alphaPhi(phi.name()+alpha1.name(), fvc::flux(phi, alpha1, alphaScheme))
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > flux(const surfaceScalarField &phi, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Definition: fvcFlux.C:45
surfaceScalarField & phi
dynamicFvMesh & mesh
rho1
Definition: pEqn.H:124
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField