alphaEqn.H
Go to the documentation of this file.
1{
2 word alphaScheme("div(phi,alpha)");
3
4 surfaceScalarField alphaPhi
5 (
6 phi.name() + alpha1.name(),
7 fvc::flux
8 (
9 phi,
10 alpha1,
11 alphaScheme
12 )
13 );
14
15 MULES::explicitSolve
16 (
17 geometricOneField(),
18 alpha1,
19 phi,
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}
Y[inertIndex] max(0.0)
surfaceScalarField & phi
const volScalarField & alpha1
volScalarField & rho2
volScalarField & rho1
rhoPhi
Definition: alphaEqn.H:6
dynamicFvMesh & mesh
surfaceScalarField alphaPhi(phi.name()+alpha1.name(), fvc::flux(phi, alpha1, alphaScheme))