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

fanFvPatchField< Type > Class Template Reference

Foam::fanFvPatchField. More...

#include <finiteVolume/fanFvPatchField.H>


Detailed Description

template<class Type>
class Foam::fanFvPatchField< Type >

Foam::fanFvPatchField.

Source files

Definition at line 50 of file fanFvPatchField.H.

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

List of all members.

Public Member Functions

 TypeName ("fan")
 Runtime type information.
 fanFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &)
 Construct from patch and internal field.
 fanFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 fanFvPatchField (const fanFvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given fanFvPatchField onto a new patch.
 fanFvPatchField (const fanFvPatchField< Type > &)
 Construct as copy.
virtual tmp< fvPatchField< Type > >  clone () const
 Construct and return a clone.
 fanFvPatchField (const fanFvPatchField< Type > &, 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.
virtual tmp< Field< Type > >  jump () const
 Return the "jump" across the patch as a "half" field.
virtual void  autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object.
virtual void  rmap (const fvPatchField< Type > &, const labelList &)
 Reverse map the given fvPatchField onto this fvPatchField.
virtual void  updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void  write (Ostream &) const
 Write.
template<>
void  updateCoeffs ()
 Update the coefficients associated with the patch field.
template<>
void  updateCoeffs ()
 Update the coefficients associated with the patch field.

Constructor & Destructor Documentation

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

Construct from patch and internal field.

Definition at line 38 of file fanFvPatchField.C.

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

Construct from patch, internal field and dictionary.

Definition at line 66 of file fanFvPatchField.C.

References IOstream::ASCII, PstreamBase::blocking, IOstream::format(), dictionary::found(), dictionary::lookup(), and fvPatch::size().

fanFvPatchField ( const fanFvPatchField< Type > &   ptf,
const fvPatch &   p,
const DimensionedField< Type, volMesh > &   iF,
const fvPatchFieldMapper &   mapper  
)

Construct by mapping given fanFvPatchField onto a new patch.

Definition at line 51 of file fanFvPatchField.C.

fanFvPatchField ( const fanFvPatchField< Type > &   ptf  )

Construct as copy.

Definition at line 98 of file fanFvPatchField.C.

fanFvPatchField ( const fanFvPatchField< Type > &   ptf,
const DimensionedField< Type, volMesh > &   iF  
)

Construct as copy setting internal field reference.

Definition at line 111 of file fanFvPatchField.C.


Member Function Documentation

TypeName ( "fan"    )

Runtime type information.

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

Construct and return a clone.

Reimplemented from cyclicFvPatchField< Type >.

Definition at line 102 of file fanFvPatchField.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 cyclicFvPatchField< Type >.

Definition at line 119 of file fanFvPatchField.H.

virtual tmp<Field<Type> > jump (  ) const [inline, virtual]

Return the "jump" across the patch as a "half" field.

Implements jumpCyclicFvPatchField< Type >.

Definition at line 135 of file fanFvPatchField.H.

void autoMap ( const fvPatchFieldMapper &   m  ) [virtual]

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

Reimplemented from fvPatchField< Type >.

Definition at line 126 of file fanFvPatchField.C.

References fvPatchField< Type >::autoMap().

void rmap ( const fvPatchField< Type > &   ptf,
const labelList &   addr  
) [virtual]

Reverse map the given fvPatchField onto this fvPatchField.

Reimplemented from fvPatchField< Type >.

Definition at line 151 of file fanFvPatchField.C.

References fanFvPatchField< Type >::rmap(), and fvPatchField< Type >::rmap().

Referenced by fanFvPatchField< Type >::rmap().

virtual void updateCoeffs (  ) [virtual]

Update the coefficients associated with the patch field.

Reimplemented from fvPatchField< Type >.

void write ( Ostream &   os  ) const [virtual]
void updateCoeffs (  ) [virtual]

Update the coefficients associated with the patch field.

Sets Updated to true

Reimplemented from fvPatchField< Type >.

void updateCoeffs (  ) [virtual]

Update the coefficients associated with the patch field.

Sets Updated to true

Reimplemented from fvPatchField< Type >.

Definition at line 42 of file fanFvPatchFields.C.

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


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