This boundary condition provides a total pressure condition for patches in a rotating frame. More...


Public Member Functions | |
| TypeName ("rotatingTotalPressure") | |
| Runtime type information. More... | |
| rotatingTotalPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field. More... | |
| rotatingTotalPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| rotatingTotalPressureFvPatchScalarField (const rotatingTotalPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given rotatingTotalPressureFvPatchScalarField. More... | |
| rotatingTotalPressureFvPatchScalarField (const rotatingTotalPressureFvPatchScalarField &) | |
| Construct as copy. More... | |
| virtual tmp< fvPatchScalarField > | clone () const |
| Construct and return a clone. More... | |
| rotatingTotalPressureFvPatchScalarField (const rotatingTotalPressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
| Construct as copy setting internal field reference. More... | |
| virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
| Construct and return a clone setting internal field reference. More... | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. More... | |
| virtual void | write (Ostream &) const |
| Write. More... | |
Public Member Functions inherited from totalPressureFvPatchScalarField | |
| TypeName ("totalPressure") | |
| Runtime type information. More... | |
| totalPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field. More... | |
| totalPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| totalPressureFvPatchScalarField (const totalPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given totalPressureFvPatchScalarField. More... | |
| totalPressureFvPatchScalarField (const totalPressureFvPatchScalarField &) | |
| Construct as copy. More... | |
| totalPressureFvPatchScalarField (const totalPressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
| Construct as copy setting internal field reference. More... | |
| const word & | UName () const |
| Return the name of the velocity field. More... | |
| word & | UName () |
| Return reference to the name of the velocity field. More... | |
| const word & | phiName () const |
| Return the name of the flux field. More... | |
| word & | phiName () |
| Return reference to the name of the flux field. More... | |
| const word & | rhoName () const |
| Return the name of the density field. More... | |
| word & | rhoName () |
| Return reference to the name of the density field. More... | |
| const word & | psiName () const |
| Return the name of the compressibility field. More... | |
| word & | psiName () |
| Return reference to the name of the compressibility field. More... | |
| scalar | gamma () const |
| Return the heat capacity ratio. More... | |
| scalar & | gamma () |
| Return reference to the heat capacity ratio to allow adjustment. More... | |
| const scalarField & | p0 () const |
| Return the total pressure. More... | |
| scalarField & | p0 () |
| Return reference to the total pressure to allow adjustment. More... | |
| virtual void | autoMap (const fvPatchFieldMapper &) |
| Map (and resize as needed) from self given a mapping object. More... | |
| virtual void | rmap (const fvPatchScalarField &, const labelList &) |
| Reverse map the given fvPatchField onto this fvPatchField. More... | |
| virtual void | updateCoeffs (const scalarField &p0p, const vectorField &Up) |
| Update the coefficients associated with the patch field. 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 127 of file rotatingTotalPressureFvPatchScalarField.H.
| rotatingTotalPressureFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Construct from patch and internal field.
Definition at line 36 of file rotatingTotalPressureFvPatchScalarField.C.
Referenced by rotatingTotalPressureFvPatchScalarField::clone(), and rotatingTotalPressureFvPatchScalarField::rotatingTotalPressureFvPatchScalarField().

| rotatingTotalPressureFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 62 of file rotatingTotalPressureFvPatchScalarField.C.
References rotatingTotalPressureFvPatchScalarField::rotatingTotalPressureFvPatchScalarField().

| rotatingTotalPressureFvPatchScalarField | ( | const rotatingTotalPressureFvPatchScalarField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper | ||
| ) |
Construct by mapping given rotatingTotalPressureFvPatchScalarField.
onto a new patch
Definition at line 48 of file rotatingTotalPressureFvPatchScalarField.C.
References rotatingTotalPressureFvPatchScalarField::rotatingTotalPressureFvPatchScalarField().

Construct as copy.
Definition at line 75 of file rotatingTotalPressureFvPatchScalarField.C.
References rotatingTotalPressureFvPatchScalarField::rotatingTotalPressureFvPatchScalarField().

| rotatingTotalPressureFvPatchScalarField | ( | const rotatingTotalPressureFvPatchScalarField & | rtppsf, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Construct as copy setting internal field reference.
Definition at line 86 of file rotatingTotalPressureFvPatchScalarField.C.
| TypeName | ( | "rotatingTotalPressure" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from totalPressureFvPatchScalarField.
Definition at line 177 of file rotatingTotalPressureFvPatchScalarField.H.
References rotatingTotalPressureFvPatchScalarField::rotatingTotalPressureFvPatchScalarField().

|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from totalPressureFvPatchScalarField.
Definition at line 194 of file rotatingTotalPressureFvPatchScalarField.H.
References rotatingTotalPressureFvPatchScalarField::rotatingTotalPressureFvPatchScalarField(), rotatingTotalPressureFvPatchScalarField::updateCoeffs(), and rotatingTotalPressureFvPatchScalarField::write().

|
virtual |
Update the coefficients associated with the patch field.
Reimplemented from totalPressureFvPatchScalarField.
Definition at line 98 of file rotatingTotalPressureFvPatchScalarField.C.
References Foam::mag(), totalPressureFvPatchScalarField::p0(), totalPressureFvPatchScalarField::UName(), and totalPressureFvPatchScalarField::updateCoeffs().
Referenced by rotatingTotalPressureFvPatchScalarField::clone().


|
virtual |
Write.
Reimplemented from totalPressureFvPatchScalarField.
Definition at line 122 of file rotatingTotalPressureFvPatchScalarField.C.
References Foam::makePatchTypeField(), and totalPressureFvPatchScalarField::write().
Referenced by rotatingTotalPressureFvPatchScalarField::clone().


1.8.11