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

totalPressureFvPatchScalarField Class Reference

Foam::totalPressureFvPatchScalarField. More...

Inheritance diagram for totalPressureFvPatchScalarField:
Collaboration diagram for totalPressureFvPatchScalarField:

List of all members.


Public Member Functions

 TypeName ("totalPressure")
 Runtime type information.
 totalPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 totalPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 totalPressureFvPatchScalarField (const totalPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given totalPressureFvPatchScalarField.
 totalPressureFvPatchScalarField (const totalPressureFvPatchScalarField &)
 Construct as copy.
virtual tmp< fvPatchScalarField > clone () const
 Construct and return a clone.
 totalPressureFvPatchScalarField (const totalPressureFvPatchScalarField &, 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.
const word & UName () const
 Return the name of the velocity field.
word & UName ()
 Return reference to the name of the velocity field.
scalar gamma () const
 Return the heat capacity ratio.
scalar & gamma ()
 Return reference to the heat capacity ratio to allow adjustment.
const scalarField & p0 () const
 Return the total pressure.
scalarField & p0 ()
 Return reference to the total pressure to allow adjustment.
virtual void autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object.
virtual void rmap (const fvPatchScalarField &, const labelList &)
 Reverse map the given fvPatchField onto this fvPatchField.
virtual void updateCoeffs (const vectorField &Up)
 Update the coefficients associated with the patch field.
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void write (Ostream &) const
 Write.

Detailed Description

Foam::totalPressureFvPatchScalarField.

Source files

Definition at line 44 of file totalPressureFvPatchScalarField.H.


Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 28 of file totalPressureFvPatchScalarField.C.

Referenced by totalPressureFvPatchScalarField::clone().

Here is the caller graph for this function:

totalPressureFvPatchScalarField ( const fvPatch &  p,
const DimensionedField< scalar, volMesh > &  iF,
const dictionary &  dict 
)

Construct from patch, internal field and dictionary.

Definition at line 44 of file totalPressureFvPatchScalarField.C.

Construct by mapping given totalPressureFvPatchScalarField.

onto a new patch

Definition at line 73 of file totalPressureFvPatchScalarField.C.

Construct as copy.

Definition at line 91 of file totalPressureFvPatchScalarField.C.

Construct as copy setting internal field reference.

Definition at line 106 of file totalPressureFvPatchScalarField.C.


Member Function Documentation

TypeName ( "totalPressure"   ) 

Runtime type information.

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

Construct and return a clone.

Reimplemented in rotatingTotalPressureFvPatchScalarField.

Definition at line 114 of file totalPressureFvPatchScalarField.H.

References totalPressureFvPatchScalarField::totalPressureFvPatchScalarField().

Here is the call graph for this function:

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

Construct and return a clone setting internal field reference.

Reimplemented in rotatingTotalPressureFvPatchScalarField.

Definition at line 131 of file totalPressureFvPatchScalarField.H.

References totalPressureFvPatchScalarField::totalPressureFvPatchScalarField().

Here is the call graph for this function:

const word& UName (  )  const [inline]

Return the name of the velocity field.

Definition at line 147 of file totalPressureFvPatchScalarField.H.

word& UName (  )  [inline]

Return reference to the name of the velocity field.

to allow adjustment

Definition at line 156 of file totalPressureFvPatchScalarField.H.

scalar gamma (  )  const [inline]

Return the heat capacity ratio.

Definition at line 162 of file totalPressureFvPatchScalarField.H.

scalar& gamma (  )  [inline]

Return reference to the heat capacity ratio to allow adjustment.

Definition at line 168 of file totalPressureFvPatchScalarField.H.

const scalarField& p0 (  )  const [inline]

Return the total pressure.

Definition at line 174 of file totalPressureFvPatchScalarField.H.

scalarField& p0 (  )  [inline]

Return reference to the total pressure to allow adjustment.

Definition at line 180 of file totalPressureFvPatchScalarField.H.

void autoMap ( const fvPatchFieldMapper &  m  )  [virtual]

Map (and resize as needed) from self given a mapping object.

Definition at line 124 of file totalPressureFvPatchScalarField.C.

Referenced by totalPressureFvPatchScalarField::rmap().

Here is the caller graph for this function:

void rmap ( const fvPatchScalarField &  ptf,
const labelList &  addr 
) [virtual]

Reverse map the given fvPatchField onto this fvPatchField.

Definition at line 134 of file totalPressureFvPatchScalarField.C.

References totalPressureFvPatchScalarField::autoMap().

Here is the call graph for this function:

void updateCoeffs ( const vectorField &  Up  )  [virtual]

Update the coefficients associated with the patch field.

using the given patch velocity field

Definition at line 148 of file totalPressureFvPatchScalarField.C.

void updateCoeffs (  )  [virtual]

Update the coefficients associated with the patch field.

Reimplemented in rotatingTotalPressureFvPatchScalarField.

Definition at line 213 of file totalPressureFvPatchScalarField.C.

void write ( Ostream &  os  )  const [virtual]

Write.

Reimplemented in rotatingTotalPressureFvPatchScalarField.

Definition at line 219 of file totalPressureFvPatchScalarField.C.


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