pEqn.H File Reference
Include dependency graph for pEqn.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 if (pressureImplicitPorosity)
 
tUEqn clear ()
 
surfaceScalarField phiHbyA ("phiHbyA", fvc::interpolate(rho) *fvc::flux(HbyA))
 
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 
 while (simple.correctNonOrthogonal())
 
p relax ()
 
U correctBoundaryConditions ()
 
fvConstraints constrain (U)
 
fvConstraints constrain (p)
 
 if (closedVolume)
 

Variables

tmp< volVectorField > tHbyA
 
 else
 
volVectorField & HbyA = tHbyA.ref()
 
bool closedVolume = false
 
 rho = thermo.rho()
 

Function Documentation

◆ if() [1/2]

Definition at line 5 of file pEqn.H.

References Foam::constrainHbyA(), p, tHbyA, trTU, U, and UEqn.

Here is the call graph for this function:

◆ clear()

tUEqn clear ( )

Referenced by DictionaryBase< IDLListType, T >::clear(), ILList< LListBase, T >::clear(), LList< LListBase, T >::clear(), LPtrList< LListBase, T >::clear(), ZoneList< ZoneType, ZonesType, MeshType >::clear(), wordRe::clear(), UnsortedMeshedSurface< Face >::clear(), HashTable< T, Key, Hash >::clearStorage(), ListHashTable< T, Key, Hash >::clearStorage(), PackedList< nBits >::clearStorage(), tmpNrc< Foam::viscosityModel >::empty(), fieldExpression::execute(), fieldsExpression::execute(), patch::expire(), triSurfaceMesh::expire(), dictionary::operator=(), HashTable< T, Key, Hash >::operator=(), ILList< LListBase, T >::operator=(), PackedBoolList::operator=(), ListHashTable< T, Key, Hash >::operator=(), LList< LListBase, T >::operator=(), LPtrList< LListBase, T >::operator=(), MeshedSurface< Face >::operator=(), keyType::operator=(), token::operator=(), UILList< LListBase, T >::operator=(), UnsortedMeshedSurface< Face >::operator=(), tmp< T >::operator=(), tmpNrc< T >::operator=(), tmp< Foam::fvPatchField >::ptr(), fvSchemes::read(), edgeMeshFormat::read(), extendedFeatureEdgeMeshFormat::read(), NASedgeFormat::read(), OBJedgeFormat::read(), STARCDedgeFormat::read(), extendedEdgeMeshFormat::read(), AC3DsurfaceFormat< Face >::read(), GTSsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), OBJsurfaceFormat< Face >::read(), OFFsurfaceFormat< Face >::read(), OFSsurfaceFormat< Face >::read(), STARCDsurfaceFormat< Face >::read(), STLsurfaceFormat< Face >::read(), TRIsurfaceFormat< Face >::read(), VTKsurfaceFormat< Face >::read(), MeshedSurface< Face >::read(), UnsortedMeshedSurface< Face >::read(), boundaryRegion::readDict(), cellTable::readDict(), GeometricBoundaryField< Type, PatchField, GeoMesh >::readField(), GeometricFieldSources< Type, GeoMesh >::readField(), fvBoundaryMesh::readUpdate(), dynamicCode::reset(), GeometricFieldSources< Type, GeoMesh >::reset(), HashList< Type, Key, Hash >::resizeAndClear(), regExp::set(), token::setBad(), CompactListList< T >::setSize(), List< T >::setSize(), UPtrList< T >::setSize(), SHA1::SHA1(), SHA1Digest::SHA1Digest(), PtrList< T >::shuffle(), PackedBoolList::subsetIndices(), HashTable< T, Key, Hash >::transfer(), ILList< LListBase, T >::transfer(), List< T >::transfer(), ListHashTable< T, Key, Hash >::transfer(), LList< LListBase, T >::transfer(), LPtrList< LListBase, T >::transfer(), Matrix< Form, Type >::transfer(), PtrList< T >::transfer(), MeshedSurface< Face >::transfer(), autoPtr< T >::~autoPtr(), HashPtrTable< T, Key, Hash >::~HashPtrTable(), HashTable< T, Key, Hash >::~HashTable(), ILList< LListBase, T >::~ILList(), LList< LListBase, T >::~LList(), LPtrList< LListBase, T >::~LPtrList(), objectRegistry::~objectRegistry(), regExp::~regExp(), and token::~token().

Here is the caller graph for this function:

◆ phiHbyA()

◆ makeRelative()

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

◆ while()

while ( simple.  correctNonOrthogonal())

Definition at line 28 of file pEqn.H.

References Foam::fvc::div(), fvModels(), Foam::fvc::laplacian(), p, phiHbyA(), pressureImplicitPorosity(), rho, simple(), fvModels::sourceProxy(), trAU, and trTU.

Here is the call graph for this function:

◆ relax()

p relax ( )

References Foam::fvc::grad(), HbyA, p, trTU, and U.

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  )

Definition at line 90 of file pEqn.H.

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

Here is the call graph for this function:

Variable Documentation

◆ tHbyA

tmp<volVectorField> tHbyA
Initial value:
{
const volScalarField& psi = thermo.psi()
const volScalarField & psi
VolField< scalar > volScalarField
Definition: volFieldsFwd.H:64
fluidMulticomponentThermo & thermo
Definition: createFields.H:31

Definition at line 4 of file pEqn.H.

Referenced by Foam::constrainHbyA(), and if().

◆ else

else
Initial value:
{
tmp< volScalarField > trAU
Definition: UEqn.H:19
fvVectorMatrix & UEqn
Definition: UEqn.H:11
U
Definition: pEqn.H:72
tmp< volVectorField > tHbyA
Definition: pEqn.H:1
void constrainHbyA(volVectorField &HbyA, const volVectorField &U, const volScalarField &p)
Definition: constrainHbyA.C:34
volScalarField & p

Definition at line 9 of file pEqn.H.

◆ HbyA

◆ closedVolume

closedVolume = false

Definition at line 17 of file pEqn.H.

◆ rho

rho = thermo.rho()

Definition at line 97 of file pEqn.H.