Public Member Functions | List of all members
fixedRhoFvPatchScalarField Class Reference

Foam::fixedRhoFvPatchScalarField. More...

Inheritance diagram for fixedRhoFvPatchScalarField:
Inheritance graph
[legend]
Collaboration diagram for fixedRhoFvPatchScalarField:
Collaboration graph
[legend]

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< fvPatchScalarFieldclone () const
 
 fixedRhoFvPatchScalarField (const fixedRhoFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &) const
 

Detailed Description

Foam::fixedRhoFvPatchScalarField.

This boundary condition provides a fixed density inlet condition for compressible solvers, where the density of calculated using:

\[ \rho = \psi p \]

where

$ p $ = pressure [Pa]
$ \rho $ = density [kg/m3]
Usage
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;
    }
Source files

Definition at line 101 of file fixedRhoFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ fixedRhoFvPatchScalarField() [1/5]

fixedRhoFvPatchScalarField ( const fvPatch ,
const DimensionedField< scalar, volMesh > &   
)

Referenced by fixedRhoFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ fixedRhoFvPatchScalarField() [2/5]

fixedRhoFvPatchScalarField ( const fvPatch ,
const DimensionedField< scalar, volMesh > &  ,
const dictionary  
)

◆ fixedRhoFvPatchScalarField() [3/5]

fixedRhoFvPatchScalarField ( const fixedRhoFvPatchScalarField ,
const fvPatch ,
const DimensionedField< scalar, volMesh > &  ,
const fvPatchFieldMapper  
)

◆ fixedRhoFvPatchScalarField() [4/5]

◆ fixedRhoFvPatchScalarField() [5/5]

Member Function Documentation

◆ TypeName()

TypeName ( "fixedRho"  )

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Definition at line 157 of file fixedRhoFvPatchScalarField.H.

References fixedRhoFvPatchScalarField::fixedRhoFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [2/2]

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual

Definition at line 174 of file fixedRhoFvPatchScalarField.H.

References fixedRhoFvPatchScalarField::fixedRhoFvPatchScalarField().

Here is the call graph for this function:

◆ updateCoeffs()

virtual void updateCoeffs ( )
virtual

◆ write()

virtual void write ( Ostream ) const
virtual

The documentation for this class was generated from the following file: