pEqn.H File Reference

Go to the source code of this file.

Functions

surfaceScalarField rAUf ("rAUf", fvc::interpolate(rAU))
 
volVectorField HbyA (constrainHbyA(rAU *UEqn.H(), U, p_rgh))
 
surfaceScalarField phiHbyA ("phiHbyA", fvc::flux(HbyA)+fvc::interpolate(rho *rAU) *fvc::ddtCorr(U, phi))
 
surfaceScalarField phig ((mixture.surfaceTensionForce() - ghf *fvc::snGrad(rho)) *rAUf *mesh.magSf())
 
 constrainPressure (p_rgh, U, phiHbyA, rAUf)
 
PtrList< fvScalarMatrix > p_rghEqnComps (mixture.phases().size())
 
 forAllConstIters (mixture.phases(), phase)
 
volScalarField p_rgh_0 (p_rgh)
 
 while (pimple.correctNonOrthogonal())
 
mixture correctRho (p_rgh - p_rgh_0)
 
p_rgh correctBoundaryConditions ()
 

Variables

 phiHbyA = phig
 
label phasei = 0
 
 p = max(p_rgh + mixture.rho()*gh, pMin)
 
 rho = mixture.rho()
 
 p_rgh = p - rho*gh
 
 K = 0.5*magSqr(U)
 

Function Documentation

◆ rAUf()

surfaceScalarField rAUf ( "rAUf"  ,
fvc::interpolate(rAU  
)

◆ HbyA()

volVectorField HbyA ( constrainHbyA(rAU *UEqn.H(), U, p_rgh )

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA"  ,
fvc::flux(HbyA)+fvc::interpolate(rho *rAU) *fvc::ddtCorr(U, phi  
)

◆ phig()

surfaceScalarField phig ( (mixture.surfaceTensionForce() - ghf *fvc::snGrad(rho)) *rAUf *mesh.magSf()  )

◆ constrainPressure()

constrainPressure ( p_rgh  ,
U  ,
phiHbyA  ,
rAUf   
)

◆ p_rghEqnComps()

PtrList< fvScalarMatrix > p_rghEqnComps ( mixture.  phases).size()

Referenced by forAllConstIters(), and while().

Here is the caller graph for this function:

◆ forAllConstIters()

forAllConstIters ( mixture.  phases(),
phase   
)

Definition at line 28 of file pEqn.H.

References p_rgh, p_rghEqnComps(), phasei, phi, and rho.

Here is the call graph for this function:

◆ p_rgh_0()

volScalarField p_rgh_0 ( p_rgh  )

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 48 of file pEqn.H.

References forAllConstIters, HbyA, max(), mesh, mixture, p_rgh, p_rghEqnComps(), phasei, phi, phig(), phiHbyA, pimple, rAU, rAUf(), rho, solve(), and U.

Here is the call graph for this function:

◆ correctRho()

mixture correctRho ( p_rgh p_rgh_0)

◆ correctBoundaryConditions()

p_rgh correctBoundaryConditions ( )

Variable Documentation

◆ phiHbyA

phiHbyA = phig

Definition at line 20 of file pEqn.H.

◆ phasei

label phasei = 0

Definition at line 27 of file pEqn.H.

Referenced by multiphaseInterSystem::addInterfacePorosity(), phaseSystem::calcPhi(), CompositionModel< CloudType >::componentNames(), MassTransferPhaseSystem< BasePhaseSystem >::correctMassSources(), CompositionModel< CloudType >::Cp(), MomentumTransferPhaseSystem< BasePhaseSystem >::ddtCorrByAs(), electrostaticDepositionFvPatchScalarField::electrostaticDepositionFvPatchScalarField(), energyTransport::energyTransport(), phaseSystem::fillFields(), for(), forAll(), forAllConstIters(), phaseSystem::generatePairsAndSubModels(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud > >::H(), CompositionModel< CloudType >::H(), CompositionModel< CloudType >::Hc(), OneResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), MassTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), CompositionModel< CloudType >::Hs(), if(), CompositionModel< CloudType >::L(), Foam::MULES::limitSum(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud > >::localToCarrierId(), CompositionModel< CloudType >::localToCarrierId(), PhaseTransferPhaseSystem< BasePhaseSystem >::massTransfer(), MomentumTransferPhaseSystem< BasePhaseSystem >::momentumTransferf(), multiphaseSystem::multiphaseSystem(), MomentumTransferPhaseSystem< BasePhaseSystem >::partialElimination(), MomentumTransferPhaseSystem< BasePhaseSystem >::partialEliminationf(), phaseSystem::phaseSystem(), MomentumTransferPhaseSystem< BasePhaseSystem >::phiFfs(), MomentumTransferPhaseSystem< BasePhaseSystem >::phiFs(), multiphaseSystem::read(), electricPotential::read(), phaseSystem::rho(), setSnGrad< fixedFluxPressureFvPatchScalarField >(), multiphaseSystem::solve(), multiphaseSystem::solveAlphas(), phaseSystem::U(), fixedMultiPhaseHeatFluxFvPatchScalarField::updateCoeffs(), while(), and CompositionModel< CloudType >::X().

◆ p

Definition at line 106 of file pEqn.H.

◆ rho

rho = mixture.rho()

Definition at line 110 of file pEqn.H.

◆ p_rgh

p_rgh = p - rho*gh

Definition at line 113 of file pEqn.H.

◆ K

K = 0.5*magSqr(U)

Definition at line 116 of file pEqn.H.