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

channelIndex Class Reference

Does averaging of fields over layers of cells. Assumes layered mesh. More...

Collaboration diagram for channelIndex:

List of all members.


Public Member Functions

 channelIndex (const polyMesh &, const dictionary &)
 Construct from dictionary.
 channelIndex (const polyMesh &mesh, const labelList &startFaces, const bool symmetric, const direction dir)
 Construct from supplied starting faces.
template<class T >
Field< T > regionSum (const Field< T > &cellField) const
 Sum field per region.
template<class T >
Field< T > collapse (const Field< T > &vsf, const bool asymmetric=false) const
 collapse a field to a line
const scalarField & y () const
 return the field of Y locations from the cell centres

Detailed Description

Does averaging of fields over layers of cells. Assumes layered mesh.

Source files

Definition at line 48 of file channelIndex.H.


Constructor & Destructor Documentation

channelIndex ( const polyMesh &  ,
const dictionary &   
)

Construct from dictionary.

channelIndex ( const polyMesh &  mesh,
const labelList &  startFaces,
const bool  symmetric,
const direction  dir 
)

Construct from supplied starting faces.


Member Function Documentation

Field<T> regionSum ( const Field< T > &  cellField  )  const [inline]

Sum field per region.

Field<T> collapse ( const Field< T > &  vsf,
const bool  asymmetric = false 
) const [inline]

collapse a field to a line

const scalarField& y (  )  const [inline]

return the field of Y locations from the cell centres

Definition at line 132 of file channelIndex.H.


The documentation for this class was generated from the following file:
  • applications/utilities/postProcessing/miscellaneous/postChannel/channelIndex.H
Copyright © 2000-2009 OpenCFD Ltd