FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

fixedPressureCompressibleDensityFvPatchScalarField Class Reference

Calculate compressible density as a function of pressure and fluid properties. More...

#include <finiteVolume/fixedPressureCompressibleDensityFvPatchScalarField.H>


Detailed Description

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
}
Source files

Definition at line 60 of file fixedPressureCompressibleDensityFvPatchScalarField.H.

Collaboration diagram for fixedPressureCompressibleDensityFvPatchScalarField:

List of all members.

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.

Constructor & Destructor Documentation

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.

Construct as copy setting internal field reference.

Definition at line 91 of file fixedPressureCompressibleDensityFvPatchScalarField.C.


Member Function Documentation

TypeName ( "fixedPressureCompressibleDensity"    )

Runtime type information.

virtual tmp<fvPatchScalarField> clone (  ) const [inline, virtual]
virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &   iF  ) const [inline, virtual]

Construct and return a clone setting internal field reference.

Definition at line 128 of file fixedPressureCompressibleDensityFvPatchScalarField.H.

References fixedPressureCompressibleDensityFvPatchScalarField::fixedPressureCompressibleDensityFvPatchScalarField().

void updateCoeffs (  ) [virtual]

Update the coefficients associated with the patch field.

Definition at line 103 of file fixedPressureCompressibleDensityFvPatchScalarField.C.

References Foam::operator==(), and pSat.

void write ( Ostream &   os  ) const [virtual]

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