This boundary condition provides a total pressure condition for patches in a rotating frame. More...
#include <rotatingTotalPressureFvPatchScalarField.H>


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


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

| 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 42 of file rotatingTotalPressureFvPatchScalarField.C.
References clone(), p, rotatingTotalPressureFvPatchScalarField(), and totalPressureFvPatchScalarField::totalPressureFvPatchScalarField().

| rotatingTotalPressureFvPatchScalarField | ( | const rotatingTotalPressureFvPatchScalarField & | rtppsf | ) |
Construct as copy.
Definition at line 69 of file rotatingTotalPressureFvPatchScalarField.C.
References clone(), rotatingTotalPressureFvPatchScalarField(), and totalPressureFvPatchScalarField::totalPressureFvPatchScalarField().

| rotatingTotalPressureFvPatchScalarField | ( | const rotatingTotalPressureFvPatchScalarField & | rtppsf, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct as copy setting internal field reference.
Definition at line 80 of file rotatingTotalPressureFvPatchScalarField.C.
References clone(), rotatingTotalPressureFvPatchScalarField(), and totalPressureFvPatchScalarField::totalPressureFvPatchScalarField().

| TypeName | ( | "rotatingTotalPressure" | ) |
Runtime type information.
References rotatingTotalPressureFvPatchScalarField().

|
inlinevirtual |
Return a clone.
Reimplemented from totalPressureFvPatchScalarField.
Definition at line 199 of file rotatingTotalPressureFvPatchScalarField.H.
References fvPatchField< Type >::Clone().
Referenced by rotatingTotalPressureFvPatchScalarField(), rotatingTotalPressureFvPatchScalarField(), and rotatingTotalPressureFvPatchScalarField().


|
inlinevirtual |
Clone with an internal field reference.
Reimplemented from totalPressureFvPatchScalarField.
Definition at line 207 of file rotatingTotalPressureFvPatchScalarField.H.
References fvPatchField< Type >::Clone().

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

|
virtual |
Write.
Reimplemented from totalPressureFvPatchScalarField.
Definition at line 118 of file rotatingTotalPressureFvPatchScalarField.C.
References os(), and totalPressureFvPatchScalarField::write().
