Calculate compressible density as a function of pressure and fluid properties. More...
#include <finiteVolume/fixedPressureCompressibleDensityFvPatchScalarField.H>
Calculate compressible density as a function of pressure and fluid properties.
Example of the boundary condition specification:
inlet { typefixedPressureCompressibleDensity; p p; // Name of static pressure field value uniform 1; // Initial value }
Definition at line 60 of file fixedPressureCompressibleDensityFvPatchScalarField.H.
Public Member Functions | |
TypeName ("fixedPressureCompressibleDensity") | |
Runtime type information. | |
fixedPressureCompressibleDensityFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. | |
fixedPressureCompressibleDensityFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. | |
fixedPressureCompressibleDensityFvPatchScalarField (const fixedPressureCompressibleDensityFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. | |
fixedPressureCompressibleDensityFvPatchScalarField (const fixedPressureCompressibleDensityFvPatchScalarField &) | |
Construct as copy. | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. | |
fixedPressureCompressibleDensityFvPatchScalarField (const fixedPressureCompressibleDensityFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Construct as copy setting internal field reference. | |
virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Construct and return a clone setting internal field reference. | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. | |
virtual void | write (Ostream &) const |
Write. |
fixedPressureCompressibleDensityFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 41 of file fixedPressureCompressibleDensityFvPatchScalarField.C.
Referenced by fixedPressureCompressibleDensityFvPatchScalarField::clone().
fixedPressureCompressibleDensityFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 67 of file fixedPressureCompressibleDensityFvPatchScalarField.C.
fixedPressureCompressibleDensityFvPatchScalarField | ( | const fixedPressureCompressibleDensityFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
fixedPressureCompressibleDensityFvPatchScalarField onto a new patch
Definition at line 53 of file fixedPressureCompressibleDensityFvPatchScalarField.C.
fixedPressureCompressibleDensityFvPatchScalarField | ( | const fixedPressureCompressibleDensityFvPatchScalarField & | ptf | ) |
Construct as copy.
Definition at line 80 of file fixedPressureCompressibleDensityFvPatchScalarField.C.
fixedPressureCompressibleDensityFvPatchScalarField | ( | const fixedPressureCompressibleDensityFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 91 of file fixedPressureCompressibleDensityFvPatchScalarField.C.
TypeName | ( | "fixedPressureCompressibleDensity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 111 of file fixedPressureCompressibleDensityFvPatchScalarField.H.
References fixedPressureCompressibleDensityFvPatchScalarField::fixedPressureCompressibleDensityFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 128 of file fixedPressureCompressibleDensityFvPatchScalarField.H.
References fixedPressureCompressibleDensityFvPatchScalarField::fixedPressureCompressibleDensityFvPatchScalarField().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 103 of file fixedPressureCompressibleDensityFvPatchScalarField.C.
References Foam::operator==(), and pSat.
|
virtual |
Write.
Definition at line 131 of file fixedPressureCompressibleDensityFvPatchScalarField.C.
References token::END_STATEMENT, Foam::nl, fvPatchField< Type >::write(), and Ostream::writeKeyword().