Loading...
Searching...
No Matches
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)  )

References rAU.

◆ HbyA()

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

References p_rgh, rAU, U, and UEqn.

◆ phiHbyA()

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

References HbyA, phi, rAU, rho, and U.

◆ phig()

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

References ghf, mesh, mixture, rAUf(), and rho.

Here is the call graph for this function:

◆ constrainPressure()

constrainPressure ( p_rgh ,
U ,
phiHbyA ,
rAUf  )

References p_rgh, phiHbyA, rAUf(), and U.

Here is the call graph for this function:

◆ p_rghEqnComps()

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

References mixture.

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 mixture, p_rgh, p_rghEqnComps(), phasei, phi, rho, and trho.

Here is the call graph for this function:

◆ p_rgh_0()

volScalarField p_rgh_0 ( p_rgh )

References p_rgh.

◆ while()

while ( pimple. correctNonOrthogonal())

Definition at line 49 of file pEqn.H.

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

Here is the call graph for this function:

◆ correctRho()

mixture correctRho ( p_rgh - p_rgh_0)

References mixture, p_rgh, and p_rgh_0().

Here is the call graph for this function:

◆ correctBoundaryConditions()

p_rgh correctBoundaryConditions ( )

References p_rgh.

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(), alpharAUfs(), phaseSystem::calcPhi(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud< dsmcParcel > > >::carrierId(), CompositionModel< CloudType >::componentNames(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud< dsmcParcel > > >::componentNames(), MassTransferPhaseSystem< BasePhaseSystem >::correctMassSources(), CompositionModel< CloudType >::Cp(), MomentumTransferPhaseSystem< BasePhaseSystem >::ddtCorrByAs(), energyTransport::energyTransport(), phaseSystem::fillFields(), phaseSystem::fillFields(), for(), for(), forAll(), forAllConstIters(), phaseSystem::generatePairsAndSubModels(), ghSnGradRho(), CompositionModel< CloudType >::H(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud< dsmcParcel > > >::H(), CompositionModel< CloudType >::Hc(), MassTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), OneResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), CompositionModel< CloudType >::Hs(), if(), CompositionModel< CloudType >::L(), Foam::MULES::limitSum(), Foam::MULES::limitSum(), Foam::MULES::limitSum(), Foam::MULES::limitSum(), CompositionModel< CloudType >::localToCarrierId(), PhaseTransferPhaseSystem< BasePhaseSystem >::massTransfer(), MomentumTransferPhaseSystem< BasePhaseSystem >::momentumTransferf(), multiphaseSystem::multiphaseSystem(), multiphaseSystem::multiphaseSystem(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud< dsmcParcel > > >::nPhase(), MomentumTransferPhaseSystem< BasePhaseSystem >::partialElimination(), MomentumTransferPhaseSystem< BasePhaseSystem >::partialEliminationf(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud< dsmcParcel > > >::phaseProps(), phaseSystem::phaseSystem(), MomentumTransferPhaseSystem< BasePhaseSystem >::phiFfs(), MomentumTransferPhaseSystem< BasePhaseSystem >::phiFs(), rAUf(), electricPotential::read(), multiphaseSystem::read(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud< dsmcParcel > > >::rho(), phaseSystem::rho(), setSnGrad< fixedFluxPressureFvPatchScalarField >(), multiphaseSystem::solve(), multiphaseSystem::solveAlphas(), ReactingMultiphaseCloud< CloudType >::transferToCarrier(), phaseSystem::U(), fixedMultiPhaseHeatFluxFvPatchScalarField::updateCoeffs(), while(), while(), CompositionModel< CloudType >::X(), and CompositionModel< CloudType >::Y0().

◆ p

p = max(p_rgh + mixture.rho()*gh, pMin)

Definition at line 107 of file pEqn.H.

◆ rho

rho = mixture.rho()

Definition at line 111 of file pEqn.H.

Referenced by while(), and while().

◆ p_rgh

p_rgh = p - rho*gh

Definition at line 114 of file pEqn.H.

◆ K

K = 0.5*magSqr(U)

Definition at line 117 of file pEqn.H.