Foam::fixedRhoFvPatchScalarField. More...
Public Member Functions | |
TypeName ("fixedRho") | |
Runtime type information. More... | |
fixedRhoFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
fixedRhoFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
fixedRhoFvPatchScalarField (const fixedRhoFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given fixedRhoFvPatchScalarField. More... | |
fixedRhoFvPatchScalarField (const fixedRhoFvPatchScalarField &) | |
Construct as copy. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
fixedRhoFvPatchScalarField (const fixedRhoFvPatchScalarField &, 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... | |
Foam::fixedRhoFvPatchScalarField.
This boundary condition provides a fixed density inlet condition for compressible solvers, where the density of calculated using:
where
= | pressure [Pa] | |
= | density [kg/m3] |
Property | Description | Required | Default value |
---|---|---|---|
p | Pressure field name | no | p |
psi | Compressibility field name | no | thermo:psi |
Example of the boundary condition specification:
<patchName> { type fixedRho; }
Definition at line 103 of file fixedRhoFvPatchScalarField.H.
fixedRhoFvPatchScalarField | ( | const fvPatch & | , |
const DimensionedField< scalar, volMesh > & | |||
) |
Construct from patch and internal field.
Referenced by fixedRhoFvPatchScalarField::clone().
fixedRhoFvPatchScalarField | ( | const fvPatch & | , |
const DimensionedField< scalar, volMesh > & | , | ||
const dictionary & | |||
) |
Construct from patch, internal field and dictionary.
fixedRhoFvPatchScalarField | ( | const fixedRhoFvPatchScalarField & | , |
const fvPatch & | , | ||
const DimensionedField< scalar, volMesh > & | , | ||
const fvPatchFieldMapper & | |||
) |
Construct by mapping given fixedRhoFvPatchScalarField.
onto a new patch
fixedRhoFvPatchScalarField | ( | const fixedRhoFvPatchScalarField & | ) |
Construct as copy.
fixedRhoFvPatchScalarField | ( | const fixedRhoFvPatchScalarField & | , |
const DimensionedField< scalar, volMesh > & | |||
) |
Construct as copy setting internal field reference.
TypeName | ( | "fixedRho" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 159 of file fixedRhoFvPatchScalarField.H.
References fixedRhoFvPatchScalarField::fixedRhoFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 176 of file fixedRhoFvPatchScalarField.H.
References fixedRhoFvPatchScalarField::fixedRhoFvPatchScalarField(), fixedRhoFvPatchScalarField::updateCoeffs(), and fixedRhoFvPatchScalarField::write().
|
virtual |
Update the coefficients associated with the patch field.
Referenced by fixedRhoFvPatchScalarField::clone().
|
virtual |
Write.
Referenced by fixedRhoFvPatchScalarField::clone().