This boundary condition provides a time-varying form of the uniform total pressure boundary condition Foam::totalPressureFvPatchField. More...
This boundary condition provides a time-varying form of the uniform total pressure boundary condition Foam::totalPressureFvPatchField.
Property | Description | Required | Default value |
---|---|---|---|
U | Velocity field name | no | U |
phi | Flux field name | no | phi |
rho | Density field name | no | rho |
psi | Compressibility field name | no | none |
gamma | (Cp/Cv) | no | 1 |
p0 | Total pressure as a function of time | yes |
Example of the boundary condition specification:
<patchName> { type uniformTotalPressure; p0 uniform 1e5; }
The p0
entry is specified as a Function1 type, able to describe time varying functions.
Definition at line 114 of file uniformTotalPressureFvPatchScalarField.H.
uniformTotalPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 32 of file uniformTotalPressureFvPatchScalarField.C.
Referenced by uniformTotalPressureFvPatchScalarField::clone().
uniformTotalPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 49 of file uniformTotalPressureFvPatchScalarField.C.
References dict, Foam::operator==(), and p.
uniformTotalPressureFvPatchScalarField | ( | const uniformTotalPressureFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 80 of file uniformTotalPressureFvPatchScalarField.C.
References Foam::operator==().
Definition at line 106 of file uniformTotalPressureFvPatchScalarField.C.
uniformTotalPressureFvPatchScalarField | ( | const uniformTotalPressureFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 122 of file uniformTotalPressureFvPatchScalarField.C.
TypeName | ( | "uniformTotalPressure" | ) |
|
inlinevirtual |
Definition at line 179 of file uniformTotalPressureFvPatchScalarField.H.
References uniformTotalPressureFvPatchScalarField::uniformTotalPressureFvPatchScalarField().
|
inlinevirtual |
Definition at line 196 of file uniformTotalPressureFvPatchScalarField.H.
References uniformTotalPressureFvPatchScalarField::uniformTotalPressureFvPatchScalarField().
|
inline |
Definition at line 212 of file uniformTotalPressureFvPatchScalarField.H.
|
inline |
Definition at line 219 of file uniformTotalPressureFvPatchScalarField.H.
|
inline |
Definition at line 225 of file uniformTotalPressureFvPatchScalarField.H.
|
inline |
Definition at line 231 of file uniformTotalPressureFvPatchScalarField.H.
|
virtual |
Definition at line 140 of file uniformTotalPressureFvPatchScalarField.C.
References Foam::dimDensity, Foam::dimPressure, Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::magSqr(), Foam::nl, Foam::operator==(), p0, Foam::foamVersion::patch, Foam::pos0(), Foam::pow(), and rho.
|
virtual |
Definition at line 217 of file uniformTotalPressureFvPatchScalarField.C.
References Foam::foamVersion::patch.
|
virtual |
Definition at line 223 of file uniformTotalPressureFvPatchScalarField.C.
References os(), fvPatchField::write(), Ostream::writeEntry(), and Ostream::writeEntryIfDifferent().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.