This boundary condition provides a total pressure condition for patches in a rotating frame. More...
This boundary condition provides a total pressure condition for patches in a rotating frame.
Property | Description | Required | Default value |
---|---|---|---|
U | velocity field name | no | U |
phi | flux field name | no | phi |
rho | density field name | no | none |
psi | compressibility field name | no | none |
gamma | ratio of specific heats (Cp/Cv) | yes | |
p0 | static pressure reference | yes | |
omega | angular velocty of the frame [rad/s] | yes |
Example of the boundary condition specification:
<patchName> { type rotatingTotalPressure; U U; phi phi; rho rho; psi psi; gamma 1.4; p0 uniform 1e5; omega 100; }
The omega
entry is a Function1 type, able to describe time varying functions.
Definition at line 125 of file rotatingTotalPressureFvPatchScalarField.H.
rotatingTotalPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 32 of file rotatingTotalPressureFvPatchScalarField.C.
Referenced by rotatingTotalPressureFvPatchScalarField::clone().
rotatingTotalPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 58 of file rotatingTotalPressureFvPatchScalarField.C.
rotatingTotalPressureFvPatchScalarField | ( | const rotatingTotalPressureFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 44 of file rotatingTotalPressureFvPatchScalarField.C.
Definition at line 71 of file rotatingTotalPressureFvPatchScalarField.C.
rotatingTotalPressureFvPatchScalarField | ( | const rotatingTotalPressureFvPatchScalarField & | rtppsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 82 of file rotatingTotalPressureFvPatchScalarField.C.
TypeName | ( | "rotatingTotalPressure" | ) |
|
inlinevirtual |
Reimplemented from totalPressureFvPatchScalarField.
Definition at line 175 of file rotatingTotalPressureFvPatchScalarField.H.
References rotatingTotalPressureFvPatchScalarField::rotatingTotalPressureFvPatchScalarField().
|
inlinevirtual |
Reimplemented from totalPressureFvPatchScalarField.
Definition at line 192 of file rotatingTotalPressureFvPatchScalarField.H.
References rotatingTotalPressureFvPatchScalarField::rotatingTotalPressureFvPatchScalarField().
|
virtual |
Reimplemented from totalPressureFvPatchScalarField.
Definition at line 94 of file rotatingTotalPressureFvPatchScalarField.C.
References Foam::mag(), om, totalPressureFvPatchScalarField::p0(), Foam::foamVersion::patch, totalPressureFvPatchScalarField::UName(), and totalPressureFvPatchScalarField::updateCoeffs().
|
virtual |
Reimplemented from totalPressureFvPatchScalarField.
Definition at line 118 of file rotatingTotalPressureFvPatchScalarField.C.
References os(), and totalPressureFvPatchScalarField::write().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.