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

faceZonesIntegration Class Reference

Integrates surfaceScalarFields on faceZones. More...

Collaboration diagram for faceZonesIntegration:

List of all members.


Public Member Functions

 TypeName ("faceZonesIntegration")
 Runtime type information.
 faceZonesIntegration (const word &name, const objectRegistry &, const dictionary &, const bool loadFromFiles=false)
 Construct for given objectRegistry and dictionary.
virtual ~faceZonesIntegration ()
virtual const word & name () const
 Return name of the set of zones.
virtual void read (const dictionary &)
 Read the zone integration data.
virtual void execute ()
 Execute, currently does nothing.
virtual void end ()
 Execute at the final time-loop, currently does nothing.
virtual void write ()
 Write the integration.
virtual void updateMesh (const mapPolyMesh &)
 Update for changes of mesh.
virtual void movePoints (const pointField &)
 Update for changes of mesh.

Protected Member Functions

void makeFile ()
 If the integration file has not been created create it.
scalar calcFaceZonesIntegral (const surfaceScalarField &fD, const faceZone &fz) const
 faceZonesIntegration (const faceZonesIntegration &)
 Disallow default bitwise copy construct.
void operator= (const faceZonesIntegration &)
 Disallow default bitwise assignment.
virtual void writeFileHeader ()
 Output file header information.

Protected Attributes

word name_
 Name of this set of face zone integration,.
const objectRegistry & obr_
bool active_
 on/off switch
Switch log_
 Switch to send output to Info as well as to file.
HashPtrTable< OFstream > faceZonesIntegrationFilePtr_
 Current open files.
wordList faceZonesSet_
 faceZones to integrate over
wordList fItems_
 Names of the surface fields.

Detailed Description

Integrates surfaceScalarFields on faceZones.

Source files

Definition at line 57 of file faceZonesIntegration.H.


Constructor & Destructor Documentation

faceZonesIntegration ( const faceZonesIntegration &   )  [protected]

Disallow default bitwise copy construct.

faceZonesIntegration ( const word &  name,
const objectRegistry &  obr,
const dictionary &  dict,
const bool  loadFromFiles = false 
)

Construct for given objectRegistry and dictionary.

Allow the possibility to load fields from files

Definition at line 38 of file faceZonesIntegration.C.

References Foam::defineTypeNameAndDebug().

Here is the call graph for this function:

~faceZonesIntegration (  )  [virtual]

Definition at line 76 of file faceZonesIntegration.C.


Member Function Documentation

void makeFile (  )  [protected]

If the integration file has not been created create it.

Definition at line 95 of file faceZonesIntegration.C.

Foam::scalar calcFaceZonesIntegral ( const surfaceScalarField &  fD,
const faceZone &  fz 
) const [protected]

Definition at line 238 of file faceZonesIntegration.C.

void operator= ( const faceZonesIntegration &   )  [protected]

Disallow default bitwise assignment.

void writeFileHeader (  )  [protected, virtual]

Output file header information.

Definition at line 147 of file faceZonesIntegration.C.

TypeName ( "faceZonesIntegration"   ) 

Runtime type information.

virtual const word& name (  )  const [inline, virtual]

Return name of the set of zones.

Definition at line 141 of file faceZonesIntegration.H.

References faceZonesIntegration::name_.

void read ( const dictionary &  dict  )  [virtual]

Read the zone integration data.

Definition at line 82 of file faceZonesIntegration.C.

void execute (  )  [virtual]

Execute, currently does nothing.

Definition at line 168 of file faceZonesIntegration.C.

void end (  )  [virtual]

Execute at the final time-loop, currently does nothing.

Definition at line 174 of file faceZonesIntegration.C.

void write (  )  [virtual]

Write the integration.

Definition at line 180 of file faceZonesIntegration.C.

virtual void updateMesh ( const mapPolyMesh &   )  [inline, virtual]

Update for changes of mesh.

Definition at line 159 of file faceZonesIntegration.H.

virtual void movePoints ( const pointField &   )  [inline, virtual]

Update for changes of mesh.

Definition at line 163 of file faceZonesIntegration.H.


Member Data Documentation

word name_ [protected]

Name of this set of face zone integration,.

Also used as the name of the probes directory.

Definition at line 68 of file faceZonesIntegration.H.

Referenced by faceZonesIntegration::name().

const objectRegistry& obr_ [protected]

Definition at line 70 of file faceZonesIntegration.H.

bool active_ [protected]

on/off switch

Definition at line 73 of file faceZonesIntegration.H.

Switch log_ [protected]

Switch to send output to Info as well as to file.

Definition at line 76 of file faceZonesIntegration.H.

Current open files.

Definition at line 79 of file faceZonesIntegration.H.

wordList faceZonesSet_ [protected]

faceZones to integrate over

Definition at line 84 of file faceZonesIntegration.H.

wordList fItems_ [protected]

Names of the surface fields.

Definition at line 87 of file faceZonesIntegration.H.


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