This boundary condition provides an entrainment condition for pressure including support for supersonic jets exiting the domain. More...
Public Member Functions | |
TypeName ("transonicEntrainmentPressure") | |
Runtime type information. More... | |
transonicEntrainmentPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
transonicEntrainmentPressureFvPatchScalarField (const transonicEntrainmentPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fieldMapper &) | |
Construct by mapping given. More... | |
transonicEntrainmentPressureFvPatchScalarField (const transonicEntrainmentPressureFvPatchScalarField &)=delete | |
Disallow copy without setting internal field reference. More... | |
transonicEntrainmentPressureFvPatchScalarField (const transonicEntrainmentPressureFvPatchScalarField &, 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 | map (const fvPatchScalarField &, const fieldMapper &) |
Map the given fvPatchField onto this fvPatchField. More... | |
virtual void | reset (const fvPatchScalarField &) |
Reset the fvPatchField to the given fvPatchField. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
This boundary condition provides an entrainment condition for pressure including support for supersonic jets exiting the domain.
Property | Description | Required | Default value |
---|---|---|---|
rho | Density field name | no | rho |
psi | Compressibility field name | no | psi |
gamma | Heat capacity ratio (cp/Cv) | yes | |
Mb | Blending Mach No | no | 0.5 |
phi | Flux field name | no | phi |
p0 | Reference pressure | yes |
Example of the boundary condition specification:
<patchName> { type transonicEntrainmentPressure; gamma 1.4; p0 uniform 1e5; }
Definition at line 110 of file transonicEntrainmentPressureFvPatchScalarField.H.
transonicEntrainmentPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 32 of file transonicEntrainmentPressureFvPatchScalarField.C.
References dict, DimensionedField< Type, GeoMesh >::dimensions(), fvPatchField< Type >::operator, fvPatchField< Type >::operator=(), p, and Foam::Zero.
Referenced by transonicEntrainmentPressureFvPatchScalarField::clone().
transonicEntrainmentPressureFvPatchScalarField | ( | const transonicEntrainmentPressureFvPatchScalarField & | psf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fieldMapper & | mapper | ||
) |
Construct by mapping given.
transonicEntrainmentPressureFvPatchScalarField onto a new patch
Definition at line 66 of file transonicEntrainmentPressureFvPatchScalarField.C.
|
delete |
Disallow copy without setting internal field reference.
transonicEntrainmentPressureFvPatchScalarField | ( | const transonicEntrainmentPressureFvPatchScalarField & | psf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 85 of file transonicEntrainmentPressureFvPatchScalarField.C.
TypeName | ( | "transonicEntrainmentPressure" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 175 of file transonicEntrainmentPressureFvPatchScalarField.H.
References transonicEntrainmentPressureFvPatchScalarField::transonicEntrainmentPressureFvPatchScalarField().
|
virtual |
Map the given fvPatchField onto this fvPatchField.
Definition at line 104 of file transonicEntrainmentPressureFvPatchScalarField.C.
|
virtual |
Reset the fvPatchField to the given fvPatchField.
Used for mesh to mesh mapping
Definition at line 119 of file transonicEntrainmentPressureFvPatchScalarField.C.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 133 of file transonicEntrainmentPressureFvPatchScalarField.C.
References Foam::constant::universal::c, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimMassFlux, Foam::mag(), Foam::max(), Foam::min(), Foam::negPart(), Foam::pow(), Foam::sqrt(), and fvPatchField< Type >::updateCoeffs().
|
virtual |
Write.
Definition at line 179 of file transonicEntrainmentPressureFvPatchScalarField.C.
References fvPatchField< Type >::write(), and Foam::writeEntry().