All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pEqn.H File Reference
Include dependency graph for pEqn.H:

Go to the source code of this file.

Functions

surfaceScalarField alphaf1 ("alphaf1", fvc::interpolate(alpha1))
 
surfaceScalarField alphaf2 ("alphaf2", scalar(1) - alphaf1)
 
volScalarField rAU1 (IOobject::groupName("rAU", phase1.name()), 1.0/(U1Eqn.A()+max(phase1.residualAlpha() - alpha1, scalar(0)) *rho1/runTime.deltaT()))
 
volScalarField rAU2 (IOobject::groupName("rAU", phase2.name()), 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())
 

Variables

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

◆ alphaf1()

surfaceScalarField alphaf1 ( "alphaf1"  ,
fvc::interpolate(alpha1  
)

◆ alphaf2()

surfaceScalarField alphaf2 ( "alphaf2"  ,
scalar(1) -  alphaf1 
)

◆ rAU1()

volScalarField rAU1 ( IOobject::groupName("rAU", phase1.name())  ,
1.0/  U1Eqn.A()+max(phase1.residualAlpha() - alpha1, scalar(0)) *rho1/runTime.deltaT() 
)

◆ rAU2()

volScalarField rAU2 ( IOobject::groupName("rAU", phase2.name())  ,
1.0/  U2Eqn.A()+max(phase2.residualAlpha() - alpha2, scalar(0)) *rho2/runTime.deltaT() 
)

◆ alpharAUf1()

surfaceScalarField alpharAUf1 ( fvc::interpolate(max(alpha1, phase1.residualAlpha()) *rAU1 )

◆ alpharAUf2()

surfaceScalarField alpharAUf2 ( fvc::interpolate(max(alpha2, phase2.residualAlpha()) *rAU2 )

◆ Df1()

surfaceScalarField Df1 ( fvc::interpolate(rAU1 *(D+phase1.turbulence().pPrime()))  )

Referenced by if().

Here is the caller graph for this function:

◆ Df2()

surfaceScalarField Df2 ( fvc::interpolate(rAU2 *(D+phase2.turbulence().pPrime()))  )

Referenced by if().

Here is the caller graph for this function:

◆ if() [1/2]

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:

◆ F()

◆ snGradAlpha1()

surfaceScalarField snGradAlpha1 ( fvc::snGrad(alpha1) *mesh.magSf()  )

Referenced by if().

Here is the caller graph for this function:

◆ while()

◆ if() [2/2]

if ( thermo1.  dpdt)||thermo2.dpdt()

Definition at line 412 of file pEqn.H.

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

Here is the call graph for this function:

Variable Documentation

◆ phiF1

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

Definition at line 35 of file pEqn.H.

◆ phiF2

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

Definition at line 36 of file pEqn.H.

◆ K1

K1 = 0.5*magSqr(U1)

Definition at line 408 of file pEqn.H.

◆ K2

K2 = 0.5*magSqr(U2)

Definition at line 409 of file pEqn.H.