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 &)=delete | |
| Disallow copy without setting internal field reference. More... | |
| rotatingTotalPressureFvPatchScalarField (const rotatingTotalPressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
| Copy constructor 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 &)=delete | |
| Disallow copy without setting internal field reference. More... | |
| totalPressureFvPatchScalarField (const totalPressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
| Copy constructor setting internal field reference. More... | |
Public Member Functions inherited from dynamicPressureFvPatchScalarField | |
| TypeName ("dynamicPressure") | |
| Runtime type information. More... | |
| dynamicPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field. More... | |
| dynamicPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| dynamicPressureFvPatchScalarField (const dynamicPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given dynamicPressureFvPatchScalarField. More... | |
| dynamicPressureFvPatchScalarField (const dynamicPressureFvPatchScalarField &)=delete | |
| Disallow copy without setting internal field reference. More... | |
| dynamicPressureFvPatchScalarField (const dynamicPressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
| Copy constructor setting internal field reference. 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 | reset (const fvPatchScalarField &) |
| Reset the fvPatchField to the given fvPatchField. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from dynamicPressureFvPatchScalarField | |
| void | updateCoeffs (const scalarField &p0p, const scalarField &K0mKp) |
| Update the coefficients associated with the patch field. More... | |
Protected Attributes inherited from totalPressureFvPatchScalarField | |
| const word | UName_ |
| Name of the velocity field. More... | |
| const word | phiName_ |
| Name of the flux field. More... | |
Protected Attributes inherited from dynamicPressureFvPatchScalarField | |
| const word | rhoName_ |
| Name of the density field used to normalise the mass flux. More... | |
| const word | psiName_ |
| Name of the compressibility field used to calculate the wave speed. More... | |
| const scalar | gamma_ |
| Heat capacity ratio. More... | |
| scalarField | p0_ |
| Reference pressure. 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 velocity 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 124 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 48 of file rotatingTotalPressureFvPatchScalarField.C.
References rotatingTotalPressureFvPatchScalarField::rotatingTotalPressureFvPatchScalarField().

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

|
delete |
Disallow copy without setting internal field reference.
| rotatingTotalPressureFvPatchScalarField | ( | const rotatingTotalPressureFvPatchScalarField & | rtppsf, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Copy constructor setting internal field reference.
Definition at line 75 of file rotatingTotalPressureFvPatchScalarField.C.
| TypeName | ( | "rotatingTotalPressure" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from totalPressureFvPatchScalarField.
Definition at line 182 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 87 of file rotatingTotalPressureFvPatchScalarField.C.
References Foam::mag(), Foam::magSqr(), Foam::neg(), dynamicPressureFvPatchScalarField::p0_, totalPressureFvPatchScalarField::phiName_, totalPressureFvPatchScalarField::UName_, and dynamicPressureFvPatchScalarField::updateCoeffs().
Referenced by rotatingTotalPressureFvPatchScalarField::clone().


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

