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

waveTransmissiveFvPatchField< Type > Class Template Reference

Foam::waveTransmissiveFvPatchField. More...

#include <finiteVolume/waveTransmissiveFvPatchField.H>


Detailed Description

template<class Type>
class Foam::waveTransmissiveFvPatchField< Type >

Foam::waveTransmissiveFvPatchField.

Source files

Definition at line 50 of file waveTransmissiveFvPatchField.H.

Inheritance diagram for waveTransmissiveFvPatchField< Type >:
Collaboration diagram for waveTransmissiveFvPatchField< Type >:

List of all members.

Public Member Functions

 TypeName ("waveTransmissive")
 Runtime type information.
 waveTransmissiveFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &)
 Construct from patch and internal field.
 waveTransmissiveFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 waveTransmissiveFvPatchField (const waveTransmissiveFvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given waveTransmissiveFvPatchField.
 waveTransmissiveFvPatchField (const waveTransmissiveFvPatchField &)
 Construct as copy.
virtual tmp< fvPatchField< Type > >  clone () const
 Construct and return a clone.
 waveTransmissiveFvPatchField (const waveTransmissiveFvPatchField &, const DimensionedField< Type, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchField< Type > >  clone (const DimensionedField< Type, volMesh > &iF) const
 Construct and return a clone setting internal field reference.
scalar  gamma () const
 Return the heat capacity ratio.
scalar &  gamma ()
 Return reference to the heat capacity ratio to allow adjustment.
virtual tmp< scalarField >  advectionSpeed () const
 Calculate and return the advection speed at the boundary.
virtual void  write (Ostream &) const
 Write.

Constructor & Destructor Documentation

waveTransmissiveFvPatchField ( const fvPatch &   p,
const DimensionedField< Type, volMesh > &   iF  
)

Construct from patch and internal field.

Definition at line 43 of file waveTransmissiveFvPatchField.C.

waveTransmissiveFvPatchField ( const fvPatch &   p,
const DimensionedField< Type, volMesh > &   iF,
const dictionary &   dict  
)

Construct from patch, internal field and dictionary.

Definition at line 71 of file waveTransmissiveFvPatchField.C.

waveTransmissiveFvPatchField ( const waveTransmissiveFvPatchField< Type > &   ,
const fvPatch &   ,
const DimensionedField< Type, volMesh > &   ,
const fvPatchFieldMapper &    
)

Construct by mapping given waveTransmissiveFvPatchField.

onto a new patch

Construct as copy.

Definition at line 85 of file waveTransmissiveFvPatchField.C.

waveTransmissiveFvPatchField ( const waveTransmissiveFvPatchField< Type > &   ptpsf,
const DimensionedField< Type, volMesh > &   iF  
)

Construct as copy setting internal field reference.

Definition at line 97 of file waveTransmissiveFvPatchField.C.


Member Function Documentation

TypeName ( "waveTransmissive"    )

Runtime type information.

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

Construct and return a clone.

Reimplemented from advectiveFvPatchField< Type >.

Definition at line 104 of file waveTransmissiveFvPatchField.H.

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

Construct and return a clone setting internal field reference.

Reimplemented from advectiveFvPatchField< Type >.

Definition at line 121 of file waveTransmissiveFvPatchField.H.

scalar gamma (  ) const [inline]

Return the heat capacity ratio.

Definition at line 137 of file waveTransmissiveFvPatchField.H.

scalar& gamma (  ) [inline]

Return reference to the heat capacity ratio to allow adjustment.

Definition at line 143 of file waveTransmissiveFvPatchField.H.

tmp< scalarField > advectionSpeed (  ) const [virtual]

Calculate and return the advection speed at the boundary.

Reimplemented from advectiveFvPatchField< Type >.

Definition at line 111 of file waveTransmissiveFvPatchField.C.

References Foam::dimArea, Foam::dimDensity, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimVelocity, phi, and Foam::sqrt().

void write ( Ostream &   os  ) const [virtual]

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