Functions | Variables
pEqn.H File Reference
Include dependency graph for pEqn.H:

Go to the source code of this file.


surfaceScalarField alphaf1 ("alphaf1", fvc::interpolate(alpha1))
surfaceScalarField alphaf2 ("alphaf2", scalar(1)-alphaf1)
volScalarField rAU1 (IOobject::groupName("rAU",, 1.0/(U1Eqn.A()+max(phase1.residualAlpha()-alpha1, scalar(0))*rho1/runTime.deltaT()))
volScalarField rAU2 (IOobject::groupName("rAU",, 1.0/(U2Eqn.A()+max(phase2.residualAlpha()-alpha2, scalar(0))*rho2/runTime.deltaT()))
surfaceScalarField alpharAUf1 (fvc::interpolate(max(alpha1, phase1.residualAlpha())*rAU1))
surfaceScalarField alpharAUf2 (fvc::interpolate(max(alpha2, phase2.residualAlpha())*rAU2))
surfaceScalarField Df1 (fvc::interpolate(rAU1 *(D+phase1.turbulence().pPrime())))
surfaceScalarField Df2 (fvc::interpolate(rAU2 *(D+phase2.turbulence().pPrime())))
 if (implicitPhasePressure)
volVectorField F (fluid.F())
surfaceScalarField snGradAlpha1 (fvc::snGrad(alpha1)*mesh.magSf())
 while (pimple.correct())
 if (thermo1.dpdt()||thermo2.dpdt())


tmp< surfaceScalarField > phiF1 = Df1*snGradAlpha1 + fvc::flux(rAU1*F)
tmp< surfaceScalarField > phiF2 = - Df2*snGradAlpha1 - fvc::flux(rAU2*F)
 K1 = 0.5*magSqr(U1)
 K2 = 0.5*magSqr(U2)

Function Documentation

surfaceScalarField alphaf1 ( "alphaf1"  ,
surfaceScalarField alphaf2 ( "alphaf2"  ,
scalar(1)-  alphaf1 
volScalarField rAU1 ( IOobject::groupName("rAU",  ,
1.0/  U1Eqn.A()+max(phase1.residualAlpha()-alpha1, scalar(0))*rho1/runTime.deltaT() 
volScalarField rAU2 ( IOobject::groupName("rAU",  ,
1.0/  U2Eqn.A()+max(phase2.residualAlpha()-alpha2, scalar(0))*rho2/runTime.deltaT() 
surfaceScalarField alpharAUf1 ( fvc::interpolate(max(alpha1, phase1.residualAlpha())*rAU1 )
surfaceScalarField alpharAUf2 ( fvc::interpolate(max(alpha2, phase2.residualAlpha())*rAU2 )
surfaceScalarField Df1 ( fvc::interpolate(rAU1 *(D+phase1.turbulence().pPrime()))  )
surfaceScalarField Df2 ( fvc::interpolate(rAU2 *(D+phase2.turbulence().pPrime()))  )
if ( implicitPhasePressure  )

Definition at line 61 of file pEqn.H.

References alpha1, Df1(), Df2(), F(), fluid, Foam::fvc::flux(), mesh, rAU1(), rAU2(), Foam::fvc::snGrad(), and snGradAlpha1().

Here is the call graph for this function:

volVectorField F ( fluid.  F())
surfaceScalarField snGradAlpha1 ( fvc::snGrad(alpha1)*mesh.magSf()  )
while ( pimple.  correct())
if ( thermo1.  dpdt)||thermo2.dpdt()

Definition at line 415 of file pEqn.H.

References Foam::fvc::ddt(), dpdt, and p.

Here is the call graph for this function:

Variable Documentation

phiF1 = Df1*snGradAlpha1 + fvc::flux(rAU1*F)

Definition at line 35 of file pEqn.H.

phiF2 = - Df2*snGradAlpha1 - fvc::flux(rAU2*F)

Definition at line 36 of file pEqn.H.

K1 = 0.5*magSqr(U1)

Definition at line 411 of file pEqn.H.

K2 = 0.5*magSqr(U2)

Definition at line 412 of file pEqn.H.