Foam::fixedRhoFvPatchScalarField. More...
#include <fixedRhoFvPatchScalarField.H>


Public Member Functions | |
| TypeName ("fixedRho") | |
| Runtime type information. | |
| fixedRhoFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field. | |
| 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. | |
| fixedRhoFvPatchScalarField (const fixedRhoFvPatchScalarField &) | |
| Construct as copy. | |
| fixedRhoFvPatchScalarField (const fixedRhoFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
| Construct as copy setting internal field reference. | |
| virtual tmp< fvPatchField< scalar > > | clone () const |
| Return a clone. | |
| virtual tmp< fvPatchField< scalar > > | clone (const DimensionedField< scalar, volMesh > &iF) const |
| Clone with an internal field reference. | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. | |
| virtual void | write (Ostream &) const |
| Write. | |
Foam::fixedRhoFvPatchScalarField.
This boundary condition provides a fixed density inlet condition for compressible solvers, where the density of calculated using:
![\[ \rho = \psi p
\]](form_1150.png)
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 > & | ) |
Construct from patch and internal field.
Referenced by fixedRhoFvPatchScalarField(), fixedRhoFvPatchScalarField(), and fixedRhoFvPatchScalarField().

| 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
References fixedRhoFvPatchScalarField().

| fixedRhoFvPatchScalarField | ( | const fixedRhoFvPatchScalarField & | ) |
Construct as copy.
References fixedRhoFvPatchScalarField().

| fixedRhoFvPatchScalarField | ( | const fixedRhoFvPatchScalarField & | , |
| const DimensionedField< scalar, volMesh > & | ) |
Construct as copy setting internal field reference.
References fixedRhoFvPatchScalarField().

| TypeName | ( | "fixedRho" | ) |
Runtime type information.
|
inlinevirtual |
Return a clone.
Definition at line 183 of file fixedRhoFvPatchScalarField.H.
References fvPatchField< Type >::Clone().

|
inlinevirtual |
Clone with an internal field reference.
Definition at line 191 of file fixedRhoFvPatchScalarField.H.
References fvPatchField< Type >::Clone().

|
virtual |
Update the coefficients associated with the patch field.
|
virtual |
Write.