Foam::fixedRhoFvPatchScalarField. More...
Public Member Functions | |
TypeName ("fixedRho") | |
fixedRhoFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
fixedRhoFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
fixedRhoFvPatchScalarField (const fixedRhoFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
fixedRhoFvPatchScalarField (const fixedRhoFvPatchScalarField &) | |
virtual tmp< fvPatchScalarField > | clone () const |
fixedRhoFvPatchScalarField (const fixedRhoFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
virtual void | updateCoeffs () |
virtual void | write (Ostream &) const |
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 101 of file fixedRhoFvPatchScalarField.H.
fixedRhoFvPatchScalarField | ( | const fvPatch & | , |
const DimensionedField< scalar, volMesh > & | |||
) |
fixedRhoFvPatchScalarField | ( | const fvPatch & | , |
const DimensionedField< scalar, volMesh > & | , | ||
const dictionary & | |||
) |
fixedRhoFvPatchScalarField | ( | const fixedRhoFvPatchScalarField & | , |
const fvPatch & | , | ||
const DimensionedField< scalar, volMesh > & | , | ||
const fvPatchFieldMapper & | |||
) |
fixedRhoFvPatchScalarField | ( | const fixedRhoFvPatchScalarField & | ) |
fixedRhoFvPatchScalarField | ( | const fixedRhoFvPatchScalarField & | , |
const DimensionedField< scalar, volMesh > & | |||
) |
TypeName | ( | "fixedRho" | ) |
|
inlinevirtual |
Definition at line 157 of file fixedRhoFvPatchScalarField.H.
References fixedRhoFvPatchScalarField::fixedRhoFvPatchScalarField().
|
inlinevirtual |
Definition at line 174 of file fixedRhoFvPatchScalarField.H.
References fixedRhoFvPatchScalarField::fixedRhoFvPatchScalarField().
|
virtual |
|
virtual |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.