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

Go to the source code of this file.

Functions

rho relax ()
 
const volScalarField rAU ("rAU", 1.0/UEqn.A())
 
const surfaceScalarField rhorAUf ("rhorAUf", fvc::interpolate(rho *rAU))
 
tmp< volScalarField > rAtU (simple.consistent() ? volScalarField::New("rAtU", 1.0/(1.0/rAU - UEqn.H1())) :tmp< volScalarField >(nullptr))
 
tmp< surfaceScalarField > rhorAtUf (simple.consistent() ? surfaceScalarField::New("rhoRAtUf", fvc::interpolate(rho *rAtU())) :tmp< surfaceScalarField >(nullptr))
 
volVectorField HbyA (constrainHbyA(rAU *UEqn.H(), U, p))
 
tUEqn clear ()
 
surfaceScalarField phiHbyA ("phiHbyA", fvc::interpolate(rho) *fvc::flux(HbyA))
 
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 
 constrainPressure (p, rho, U, phiHbyA, rhorAAtUf, MRF)
 
 if (simple.transonic())
 
 while (simple.correctNonOrthogonal())
 
U correctBoundaryConditions ()
 
fvConstraints constrain (U)
 
fvConstraints constrain (p)
 
 if (closedVolume &&!thermo.incompressible())
 

Variables

 rho = thermo.rho()
 
const volScalarField & rAAtU = simple.consistent() ? rAtU() : rAU
 
const surfaceScalarField & rhorAAtUf
 
bool closedVolume = false
 
 else
 
 U = HbyA - rAAtU*fvc::grad(p)
 

Function Documentation

◆ relax()

rho relax ( )

◆ rAU()

const volScalarField rAU ( "rAU"  ,
1.0/UEqn.  A() 
)

◆ rhorAUf()

const surfaceScalarField rhorAUf ( "rhorAUf"  ,
fvc::interpolate(rho *rAU  
)

◆ rAtU()

tmp<volScalarField> rAtU ( simple.  consistent) ? volScalarField::New("rAtU", 1.0/(1.0/rAU - UEqn.H1())) :tmp< volScalarField >(nullptr)

◆ rhorAtUf()

tmp<surfaceScalarField> rhorAtUf ( simple.  consistent) ? surfaceScalarField::New("rhoRAtUf", fvc::interpolate(rho *rAtU())) :tmp< surfaceScalarField >(nullptr)

◆ HbyA()

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

◆ clear()

tUEqn clear ( )

Referenced by ILList< LListBase, T >::clear(), HashPtrTable< HashPtrTable< volScalarField >, phaseInterfaceKey, phaseInterfaceKey::hash >::clear(), DictionaryBase< DLPtrList< T >, T >::clear(), LPtrList< LListBase, T >::clear(), MeshZones< cellZone, polyMesh >::clear(), wordRe::clear(), LList< Foam::chemPointISAT *>::clear(), DynamicList< Foam::triFace >::clearStorage(), DynamicField< Foam::Vector >::clearStorage(), HashTable< Foam::phase *>::clearStorage(), DSMCCloud< ParcelType >::DSMCCloud(), fieldExpression::execute(), fieldsExpression::execute(), patch::expire(), triSurfaceMesh::expire(), dictionary::isNull(), moleculeCloud::moleculeCloud(), HashPtrTable< HashPtrTable< volScalarField >, phaseInterfaceKey, phaseInterfaceKey::hash >::operator=(), tmpNrc< Foam::fluidThermo >::operator=(), UILList< LListBase, T >::operator=(), tmp< Foam::surfaceInterpolationScheme< GType > >::operator=(), LPtrList< LListBase, T >::operator=(), keyType::operator=(), LList< Foam::chemPointISAT *>::operator=(), Matrix< RectangularMatrix< Type >, Type >::operator=(), HashTable< Foam::phase *>::operator=(), MeshedSurface< Foam::face >::operator=(), extendedEdgeMeshFormat::read(), NASedgeFormat::read(), extendedFeatureEdgeMeshFormat::read(), OBJsurfaceFormat< Face >::read(), GTSsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), OFFsurfaceFormat< Face >::read(), AC3DsurfaceFormat< Face >::read(), VTKsurfaceFormat< Face >::read(), TRIsurfaceFormat< Face >::read(), STARCDsurfaceFormat< Face >::read(), edgeMeshFormat::read(), OFSsurfaceFormat< Face >::read(), STLsurfaceFormat< Face >::read(), MeshedSurface< Foam::face >::read(), GeometricBoundaryField< vector, pointPatchField, pointMesh >::readField(), UPtrList< Foam::diameterModels::sizeGroup >::setSize(), PtrList< transferModel >::setSize(), List< Field< scalar > >::setSize(), PtrList< transferModel >::shuffle(), PtrList< transferModel >::transfer(), LPtrList< LListBase, T >::transfer(), LList< Foam::chemPointISAT *>::transfer(), List< Field< scalar > >::transfer(), Matrix< RectangularMatrix< Type >, Type >::transfer(), HashTable< Foam::phase *>::transfer(), MeshedSurface< Foam::face >::transfer(), autoPtr< diffusiveMassTransferModel >::~autoPtr(), HashPtrTable< HashPtrTable< volScalarField >, phaseInterfaceKey, phaseInterfaceKey::hash >::~HashPtrTable(), HashTable< Foam::phase *>::~HashTable(), LList< Foam::chemPointISAT *>::~LList(), LPtrList< LListBase, T >::~LPtrList(), objectRegistry::~objectRegistry(), tmp< Foam::surfaceInterpolationScheme< GType > >::~tmp(), and tmpNrc< Foam::fluidThermo >::~tmpNrc().

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA"  ,
fvc::interpolate(rho) *fvc::flux(HbyA  
)

◆ makeRelative()

MRF makeRelative ( fvc::interpolate(rho ,
phiHbyA   
)

◆ constrainPressure()

constrainPressure ( p  ,
rho  ,
U  ,
phiHbyA  ,
rhorAAtUf  ,
MRF   
)

◆ if() [1/2]

if ( simple.  transonic())

Definition at line 41 of file pEqn.H.

References Foam::fvc::div(), fvModels, Foam::fvc::grad(), HbyA, Foam::fvc::interpolate(), Foam::fvc::laplacian(), mesh, p, phi, phiHbyA, pressureReference, psi, rAU, rho, rhorAUf(), simple(), and Foam::fvc::snGrad().

Here is the call graph for this function:

◆ while()

while ( simple.  correctNonOrthogonal())

Definition at line 95 of file pEqn.H.

References Foam::fvc::div(), fvModels, Foam::fvc::laplacian(), p, phi, phiHbyA, pressureReference, psi, rho, and simple().

Here is the call graph for this function:

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ constrain() [1/2]

fvConstraints constrain ( U  )

◆ constrain() [2/2]

fvConstraints constrain ( p  )

◆ if() [2/2]

if ( closedVolume &&!thermo.  incompressible())

Definition at line 133 of file pEqn.H.

References Foam::fvc::domainIntegrate(), initialMass, p, psi, rho, and thermo.

Here is the call graph for this function:

Variable Documentation

◆ rho

rho = thermo.rho()

Definition at line 1 of file pEqn.H.

◆ rAAtU

const volScalarField& rAAtU = simple.consistent() ? rAtU() : rAU

Definition at line 20 of file pEqn.H.

◆ rhorAAtUf

const surfaceScalarField& rhorAAtUf
Initial value:
=
simple.consistent() ? rhorAtUf() : rhorAUf
surfaceScalarField rhorAUf("rhorAUf", fvc::interpolate(rho *rAU))
tmp< surfaceScalarField > rhorAtUf(pimple.consistent() ? surfaceScalarField::New("rhoRAtUf", fvc::interpolate(rho *rAtU())) :tmp< surfaceScalarField >(nullptr))
simpleControl simple(mesh)

Definition at line 21 of file pEqn.H.

◆ closedVolume

bool closedVolume = false

Definition at line 36 of file pEqn.H.

◆ else

else
Initial value:
{
U
Definition: pEqn.H:72
p
Definition: pEqn.H:125
phiHbyA
Definition: pEqn.H:30
bool closedVolume
Definition: pEqn.H:36
adjustPhi(phiHbyA, Urel, p)

Definition at line 86 of file pEqn.H.

◆ U

U = HbyA - rAAtU*fvc::grad(p)

Definition at line 125 of file pEqn.H.