alphaEqnSubCycle.H File Reference
Include dependency graph for alphaEqnSubCycle.H:

Go to the source code of this file.

Functions

surfaceScalarField phir (fvc::flux(UdmModel.Udm()))
 
 if (nAlphaSubCycles > 1)
 

Variables

 else
 
 rho = mixture.rho()
 

Function Documentation

◆ phir()

surfaceScalarField phir ( fvc::flux(UdmModel.Udm())  )

Referenced by for(), twoPhaseSystem::solve(), multiphaseSystem::solveAlphas(), MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::solveYi(), and while().

Here is the caller graph for this function:

◆ if()

if ( nAlphaSubCycles  ,
 
)

Definition at line 16 of file alphaEqnSubCycle.H.

References alpha1, alphaPhi(), mesh, nAlphaSubCycles(), phi, and runTime.

Here is the call graph for this function:

Variable Documentation

◆ else

else
Initial value:
{
# 45 "/home/chef2/andy/OpenFOAM/release/v2206/OpenFOAM-v2206/applications/solvers/multiphase/driftFluxFoam/alphaEqnSubCycle.H" 2
}
{
fvScalarMatrix alpha1Eqn
(
fvm::ddt(alpha1) - fvc::ddt(alpha1)
- fvm::laplacian(turbulence->nut(), alpha1)
);
alpha1Eqn.solve(mesh.solver("alpha1Diffusion"));
alphaPhi += alpha1Eqn.flux();
alpha2 = 1.0 - alpha1;
Info<< "Phase-1 volume fraction = "
<< alpha1.weightedAverage(mesh.Vsc()).value()
<< " Min(" << alpha1.name() << ") = " << min(alpha1).value()
<< " Max(" << alpha1.name() << ") = " << max(alpha1).value()
<< endl;
}
Y[inertIndex] max(0.0)
rhoPhi
Definition: rhoEqn.H:10
surfaceScalarField & phi
const volScalarField & alpha1
volScalarField & rho2
const volScalarField & alpha2
volScalarField & rho1
dynamicFvMesh & mesh
compressible::turbulenceModel & turbulence
surfaceScalarField alphaPhi(phi.name()+alpha1.name(), fvc::flux(phi, alpha1, alphaScheme))

Definition at line 43 of file alphaEqnSubCycle.H.

◆ rho

rho = mixture.rho()

Definition at line 70 of file alphaEqnSubCycle.H.