Skip to main content

uniformTotalPressure

Description

The uniformTotalPressure is a boundary condition that provides provides a time-varying form of the uniform total pressure boundary condition totalPressure.

Usage

The condition requires entries in both the boundary and field files.

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type uniformTotalPressure;
p0 <Function1<scalar>>;

// Optional entries
U <word>;
psi <word>;
rho <word>;
phi <word>;

// Conditional entries

// if 'psi' is not 'none'
gamma <scalar>;

// Inherited entries;
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: uniformTotalPressurewordyes-
p0Total pressure fieldFunction1<scalar>yes-
UName of velocity fieldwordnoU
psiName of compressibility fieldwordnopsi
phiName of flux fieldwordnophi
rhoName of density fieldwordnorho
gammaHeat-capacity ratioscalarconditional1

The inherited entries are elaborated in:

  • fixedValueFvPatchField.H
  • Function1.H

Further information

Tutorial:

Source code:

API:

History: Introduced in version 2.1.0