Loading...
Searching...
No Matches
alphaEqnSubCycle.H
Go to the documentation of this file.
1#include "alphaControls.H"
2
4{
5 dimensionedScalar totalDeltaT = runTime.deltaT();
6 surfaceScalarField rhoPhiSum
7 (
8 mesh.newIOobject("rhoPhiSum"),
9 mesh,
10 dimensionedScalar(rhoPhi.dimensions(), Zero)
11 );
12
13 for
14 (
15 subCycle<volScalarField> alphaSubCycle(alpha1, nAlphaSubCycles);
16 !(++alphaSubCycle).end();
17 )
18 {
19 #include "alphaEqn.H"
20 rhoPhiSum += (runTime.deltaT()/totalDeltaT)*rhoPhi;
21 }
22
23 rhoPhi = rhoPhiSum;
24}
25else
26{
27 #include "alphaEqn.H"
28}
29
rhoPhi
Definition rhoEqn.H:10
const volScalarField & alpha1
volScalarField & rho2
const volScalarField & alpha2
volScalarField & rho1
dynamicFvMesh & mesh
engineTime & runTime
label nAlphaSubCycles(alphaControls.get< label >("nAlphaSubCycles"))