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

totalPressureFvPatchScalarField Class Reference

Foam::totalPressureFvPatchScalarField. More...

#include <finiteVolume/totalPressureFvPatchScalarField.H>


Detailed Description

Foam::totalPressureFvPatchScalarField.

Source files

Definition at line 49 of file totalPressureFvPatchScalarField.H.

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.

Constructor & Destructor Documentation

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

Construct from patch and internal field.

Definition at line 36 of file totalPressureFvPatchScalarField.C.

Referenced by totalPressureFvPatchScalarField::clone().

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

Construct from patch, internal field and dictionary.

Definition at line 52 of file totalPressureFvPatchScalarField.C.

References dictionary::found(), and fvPatch::size().

totalPressureFvPatchScalarField ( const totalPressureFvPatchScalarField &   ptf,
const fvPatch &   p,
const DimensionedField< scalar, volMesh > &   iF,
const fvPatchFieldMapper &   mapper  
)

Construct by mapping given totalPressureFvPatchScalarField.

onto a new patch

Definition at line 81 of file totalPressureFvPatchScalarField.C.

Construct as copy.

Definition at line 99 of file totalPressureFvPatchScalarField.C.

Construct as copy setting internal field reference.

Definition at line 114 of file totalPressureFvPatchScalarField.C.


Member Function Documentation

TypeName ( "totalPressure"    )

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.

Reimplemented in rotatingTotalPressureFvPatchScalarField.

Definition at line 132 of file totalPressureFvPatchScalarField.H.

References totalPressureFvPatchScalarField::totalPressureFvPatchScalarField().

const word& UName (  ) const [inline]

Return the name of the velocity field.

Definition at line 148 of file totalPressureFvPatchScalarField.H.

Referenced by rotatingTotalPressureFvPatchScalarField::updateCoeffs().

word& UName (  ) [inline]

Return reference to the name of the velocity field.

to allow adjustment

Definition at line 155 of file totalPressureFvPatchScalarField.H.

scalar gamma (  ) const [inline]

Return the heat capacity ratio.

Definition at line 161 of file totalPressureFvPatchScalarField.H.

scalar& gamma (  ) [inline]

Return reference to the heat capacity ratio to allow adjustment.

Definition at line 167 of file totalPressureFvPatchScalarField.H.

const scalarField& p0 (  ) const [inline]

Return the total pressure.

Definition at line 173 of file totalPressureFvPatchScalarField.H.

scalarField& p0 (  ) [inline]

Return reference to the total pressure to allow adjustment.

Definition at line 179 of file totalPressureFvPatchScalarField.H.

void autoMap ( const fvPatchFieldMapper &   m  ) [virtual]

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

Definition at line 132 of file totalPressureFvPatchScalarField.C.

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

Reverse map the given fvPatchField onto this fvPatchField.

Definition at line 142 of file totalPressureFvPatchScalarField.C.

References totalPressureFvPatchScalarField::rmap().

Referenced by totalPressureFvPatchScalarField::rmap().

void updateCoeffs ( const vectorField &   Up  ) [virtual]

Update the coefficients associated with the patch field.

using the given patch velocity field

Definition at line 156 of file totalPressureFvPatchScalarField.C.

References Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::magSqr(), Foam::nl, Foam::operator==(), Foam::pos(), Foam::pow(), rho, and totalPressureFvPatchScalarField::updateCoeffs().

void updateCoeffs (  ) [virtual]

Update the coefficients associated with the patch field.

Reimplemented in rotatingTotalPressureFvPatchScalarField.

Definition at line 221 of file totalPressureFvPatchScalarField.C.

Referenced by totalPressureFvPatchScalarField::updateCoeffs().

void write ( Ostream &   os  ) const [virtual]

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