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

timeVaryingUniformTotalPressureFvPatchScalarField Class Reference

A time-varying form of a uniform total pressure boundary condition. More...

Collaboration diagram for timeVaryingUniformTotalPressureFvPatchScalarField:

List of all members.


Public Member Functions

 TypeName ("timeVaryingTotalPressure")
 Runtime type information.
 timeVaryingUniformTotalPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 timeVaryingUniformTotalPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 timeVaryingUniformTotalPressureFvPatchScalarField (const timeVaryingUniformTotalPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given patch field onto a new patch.
 timeVaryingUniformTotalPressureFvPatchScalarField (const timeVaryingUniformTotalPressureFvPatchScalarField &)
 Construct as copy.
virtual tmp< fvPatchScalarField > clone () const
 Construct and return a clone.
 timeVaryingUniformTotalPressureFvPatchScalarField (const timeVaryingUniformTotalPressureFvPatchScalarField &, 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.
scalar p0 () const
 Return the total pressure.
scalar p0 ()
 Return reference to the total pressure to allow adjustment.
const interpolationTable
< scalar > & 
totalPressureTimeSeries () const
 Return the time series used.
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

A time-varying form of a uniform total pressure boundary condition.

See also:
Foam::timeVaryingUniformFixedValueFvPatchField and Foam::totalPressureFvPatchScalarField.H
Source files

Definition at line 49 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.


Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 28 of file timeVaryingUniformTotalPressureFvPatchScalarField.C.

Construct from patch, internal field and dictionary.

Definition at line 46 of file timeVaryingUniformTotalPressureFvPatchScalarField.C.

Construct by mapping given patch field onto a new patch.

Definition at line 77 of file timeVaryingUniformTotalPressureFvPatchScalarField.C.

Construct as copy setting internal field reference.

Definition at line 114 of file timeVaryingUniformTotalPressureFvPatchScalarField.C.


Member Function Documentation

TypeName ( "timeVaryingTotalPressure"   ) 

Runtime type information.

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

Construct and return a clone.

Definition at line 119 of file timeVaryingUniformTotalPressureFvPatchScalarField.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 136 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.

const word& UName (  )  const [inline]

Return the name of the velocity field.

Definition at line 152 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.

word& UName (  )  [inline]

Return reference to the name of the velocity field.

to allow adjustment

Definition at line 161 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.

scalar gamma (  )  const [inline]

Return the heat capacity ratio.

Definition at line 167 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.

scalar& gamma (  )  [inline]

Return reference to the heat capacity ratio to allow adjustment.

Definition at line 173 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.

scalar p0 (  )  const [inline]

Return the total pressure.

Definition at line 179 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.

scalar p0 (  )  [inline]

Return reference to the total pressure to allow adjustment.

Definition at line 185 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.

const interpolationTable<scalar>& totalPressureTimeSeries (  )  const [inline]

Return the time series used.

Definition at line 191 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.

void updateCoeffs ( const vectorField &  Up  )  [virtual]

Update the coefficients associated with the patch field.

using the given patch velocity field

Definition at line 133 of file timeVaryingUniformTotalPressureFvPatchScalarField.C.

void updateCoeffs (  )  [virtual]

Update the coefficients associated with the patch field.

Definition at line 202 of file timeVaryingUniformTotalPressureFvPatchScalarField.C.

Referenced by timeVaryingUniformTotalPressureFvPatchScalarField::write().

Here is the caller graph for this function:

void write ( Ostream &  os  )  const [virtual]

Write.

Definition at line 209 of file timeVaryingUniformTotalPressureFvPatchScalarField.C.

References timeVaryingUniformTotalPressureFvPatchScalarField::updateCoeffs().

Here is the call graph for this function:


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