OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

fixedPressureCompressibleDensityFvPatchScalarField Class Reference

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

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.

Detailed Description

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

Example of the boundary condition specification:

    inlet
    {
        type        fixedPressureCompressibleDensity;
        p           p;               // Name of static pressure field
        value       uniform 1;       // Initial value
    }

Source files

Definition at line 55 of file fixedPressureCompressibleDensityFvPatchScalarField.H.


Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 33 of file fixedPressureCompressibleDensityFvPatchScalarField.C.

References p.

Construct from patch, internal field and dictionary.

Definition at line 59 of file fixedPressureCompressibleDensityFvPatchScalarField.C.

Construct as copy setting internal field reference.

Definition at line 83 of file fixedPressureCompressibleDensityFvPatchScalarField.C.


Member Function Documentation

TypeName ( "fixedPressureCompressibleDensity"   ) 

Runtime type information.

virtual tmp<fvPatchScalarField> clone (  )  const [inline, virtual]

Construct and return a clone.

Definition at line 108 of file fixedPressureCompressibleDensityFvPatchScalarField.H.

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

Construct and return a clone setting internal field reference.

Definition at line 125 of file fixedPressureCompressibleDensityFvPatchScalarField.H.

void updateCoeffs (  )  [virtual]

Update the coefficients associated with the patch field.

Definition at line 95 of file fixedPressureCompressibleDensityFvPatchScalarField.C.

void write ( Ostream &  os  )  const [virtual]

Write.

Definition at line 123 of file fixedPressureCompressibleDensityFvPatchScalarField.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd