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

timeVaryingMappedTotalPressureFvPatchScalarField Class Reference

Foam::timeVaryingMappedTotalPressureFvPatchScalarField. More...

#include <finiteVolume/timeVaryingMappedTotalPressureFvPatchScalarField.H>


Detailed Description

Foam::timeVaryingMappedTotalPressureFvPatchScalarField.

Source files

Definition at line 49 of file timeVaryingMappedTotalPressureFvPatchScalarField.H.

Collaboration diagram for timeVaryingMappedTotalPressureFvPatchScalarField:

List of all members.

Public Member Functions

 TypeName ("timeVaryingMappedTotalPressure")
 Runtime type information.
 timeVaryingMappedTotalPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 timeVaryingMappedTotalPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 timeVaryingMappedTotalPressureFvPatchScalarField (const timeVaryingMappedTotalPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given timeVaryingMappedTotalPressureFvPatchScalarField.
 timeVaryingMappedTotalPressureFvPatchScalarField (const timeVaryingMappedTotalPressureFvPatchScalarField &)
 Construct as copy.
virtual tmp< fvPatchScalarField >  clone () const
 Construct and return a clone.
 timeVaryingMappedTotalPressureFvPatchScalarField (const timeVaryingMappedTotalPressureFvPatchScalarField &, 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.
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

Construct from patch and internal field.

Definition at line 37 of file timeVaryingMappedTotalPressureFvPatchScalarField.C.

Referenced by timeVaryingMappedTotalPressureFvPatchScalarField::clone().

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

Construct from patch, internal field and dictionary.

Definition at line 54 of file timeVaryingMappedTotalPressureFvPatchScalarField.C.

Construct by mapping given timeVaryingMappedTotalPressureFvPatchScalarField.

onto a new patch

Definition at line 82 of file timeVaryingMappedTotalPressureFvPatchScalarField.C.

Construct as copy setting internal field reference.

Definition at line 117 of file timeVaryingMappedTotalPressureFvPatchScalarField.C.


Member Function Documentation

TypeName ( "timeVaryingMappedTotalPressure"    )

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 132 of file timeVaryingMappedTotalPressureFvPatchScalarField.H.

References timeVaryingMappedTotalPressureFvPatchScalarField::timeVaryingMappedTotalPressureFvPatchScalarField().

const word& UName (  ) const [inline]

Return the name of the velocity field.

Definition at line 148 of file timeVaryingMappedTotalPressureFvPatchScalarField.H.

word& UName (  ) [inline]

Return reference to the name of the velocity field.

to allow adjustment

Definition at line 155 of file timeVaryingMappedTotalPressureFvPatchScalarField.H.

scalar gamma (  ) const [inline]

Return the heat capacity ratio.

Definition at line 161 of file timeVaryingMappedTotalPressureFvPatchScalarField.H.

scalar& gamma (  ) [inline]

Return reference to the heat capacity ratio to allow adjustment.

Definition at line 167 of file timeVaryingMappedTotalPressureFvPatchScalarField.H.

void autoMap ( const fvPatchFieldMapper &   m  ) [virtual]

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

Definition at line 135 of file timeVaryingMappedTotalPressureFvPatchScalarField.C.

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

Reverse map the given fvPatchField onto this fvPatchField.

Definition at line 144 of file timeVaryingMappedTotalPressureFvPatchScalarField.C.

void updateCoeffs ( const vectorField &   Up  ) [virtual]

Update the coefficients associated with the patch field.

using the given patch velocity field

Definition at line 154 of file timeVaryingMappedTotalPressureFvPatchScalarField.C.

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

void updateCoeffs (  ) [virtual]

Update the coefficients associated with the patch field.

Definition at line 265 of file timeVaryingMappedTotalPressureFvPatchScalarField.C.

void write ( Ostream &   os  ) const [virtual]

Write.

Definition at line 272 of file timeVaryingMappedTotalPressureFvPatchScalarField.C.

References token::END_STATEMENT, and Foam::nl.


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