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

probes Class Reference

Set of locations to sample. More...

Collaboration diagram for probes:

List of all members.


Classes

class  fieldGroup
 Class used for grouping field types.

Public Member Functions

 TypeName ("probes")
 Runtime type information.
 probes (const word &name, const objectRegistry &, const dictionary &, const bool loadFromFiles=false)
 Construct for given objectRegistry and dictionary.
virtual ~probes ()
 Destructor.
virtual const word & name () const
 Return name of the set of probes.
virtual const wordList & fieldNames () const
 Return names of fields to probe.
virtual const vectorField & probeLocations () const
 Return locations to probe.
const labelList & cells () const
 Cells to be probed (obtained from the locations).
virtual void execute ()
 Execute, currently does nothing.
virtual void end ()
 Execute at the final time-loop, currently does nothing.
virtual void write ()
 Sample and write.
virtual void read (const dictionary &)
 Read the probes.
virtual void updateMesh (const mapPolyMesh &)
 Update for changes of mesh.
virtual void movePoints (const pointField &)
 Update for changes of mesh.
virtual void readUpdate (const polyMesh::readUpdateState state)
 Update for changes of mesh due to readUpdate.
template<class Type >
tmp< Field< Type > > sample (const GeometricField< Type, fvPatchField, volMesh > &) const
 Sample a volume field at all locations.
template<class Type >
tmp< Field< Type > > sample (const word &fieldName) const
 Sample a single field on all sample locations.

Detailed Description

Set of locations to sample.

Call write() to sample and write files.

Source files

Definition at line 56 of file probes.H.


Constructor & Destructor Documentation

probes ( 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 269 of file probes.C.

~probes (  )  [virtual]

Destructor.

Definition at line 295 of file probes.C.


Member Function Documentation

TypeName ( "probes"   ) 

Runtime type information.

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

Return name of the set of probes.

Definition at line 183 of file probes.H.

virtual const wordList& fieldNames (  )  const [inline, virtual]

Return names of fields to probe.

Definition at line 189 of file probes.H.

virtual const vectorField& probeLocations (  )  const [inline, virtual]

Return locations to probe.

Definition at line 195 of file probes.H.

const labelList& cells (  )  const [inline]

Cells to be probed (obtained from the locations).

Definition at line 201 of file probes.H.

void execute (  )  [virtual]

Execute, currently does nothing.

Definition at line 301 of file probes.C.

void end (  )  [virtual]

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

Definition at line 307 of file probes.C.

void write (  )  [virtual]

Sample and write.

Definition at line 313 of file probes.C.

void read ( const dictionary &  dict  )  [virtual]

Read the probes.

Definition at line 326 of file probes.C.

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

Update for changes of mesh.

Definition at line 219 of file probes.H.

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

Update for changes of mesh.

Definition at line 223 of file probes.H.

virtual void readUpdate ( const polyMesh::readUpdateState  state  )  [inline, virtual]

Update for changes of mesh due to readUpdate.

Definition at line 227 of file probes.H.

Foam::tmp< Foam::Field< Type > > sample ( const GeometricField< Type, fvPatchField, volMesh > &  vField  )  const [inline]

Sample a volume field at all locations.

Definition at line 167 of file probesTemplates.C.

Foam::tmp< Foam::Field< Type > > sample ( const word &  fieldName  )  const [inline]

Sample a single field on all sample locations.

Definition at line 197 of file probesTemplates.C.


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