Public Member Functions | List of all members

This function object calculates the divergence of a field. The operation is limited to surfaceScalarFields and volumeVector fields, and the output is a volume scalar field. More...

Public Member Functions

 TypeName ("calcFvcDiv")
 Runtime type information. More...
 
 calcFvcDiv (const word &name, const objectRegistry &, const dictionary &, const bool loadFromFiles=false)
 Construct for given objectRegistry and dictionary. More...
 
virtual ~calcFvcDiv ()
 Destructor. More...
 
virtual const wordname () const
 Return name of the set of calcFvcDiv. More...
 
virtual void read (const dictionary &)
 Read the calcFvcDiv data. More...
 
virtual void execute ()
 Execute, currently does nothing. More...
 
virtual void end ()
 Execute at the final time-loop, currently does nothing. More...
 
virtual void timeSet ()
 Called when time was set at the end of the Time::operator++. More...
 
virtual void write ()
 Calculate the calcFvcDiv and write. More...
 
virtual void updateMesh (const mapPolyMesh &)
 Update for changes of mesh. More...
 
virtual void movePoints (const polyMesh &)
 Update for changes of mesh. More...
 

Detailed Description

This function object calculates the divergence of a field. The operation is limited to surfaceScalarFields and volumeVector fields, and the output is a volume scalar field.

Source files

Definition at line 65 of file calcFvcDiv.H.

Constructor & Destructor Documentation

calcFvcDiv ( 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 80 of file calcFvcDiv.C.

References Foam::endl(), Foam::nl, Foam::read(), and WarningIn.

Here is the call graph for this function:

~calcFvcDiv ( )
virtual

Destructor.

Definition at line 116 of file calcFvcDiv.C.

Member Function Documentation

TypeName ( "calcFvcDiv"  )

Runtime type information.

virtual const word& name ( ) const
inlinevirtual

Return name of the set of calcFvcDiv.

Definition at line 136 of file calcFvcDiv.H.

References calcFvcDiv::end(), calcFvcDiv::execute(), calcFvcDiv::read(), calcFvcDiv::timeSet(), and calcFvcDiv::write().

Here is the call graph for this function:

void read ( const dictionary dict)
virtual

Read the calcFvcDiv data.

Definition at line 122 of file calcFvcDiv.C.

References dictionary::lookup().

Referenced by calcFvcDiv::name().

Here is the call graph for this function:

Here is the caller graph for this function:

void execute ( )
virtual

Execute, currently does nothing.

Definition at line 137 of file calcFvcDiv.C.

References Foam::endl(), and WarningIn.

Referenced by calcFvcDiv::name().

Here is the call graph for this function:

Here is the caller graph for this function:

void end ( )
virtual

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

Definition at line 155 of file calcFvcDiv.C.

Referenced by calcFvcDiv::name().

Here is the caller graph for this function:

void timeSet ( )
virtual

Called when time was set at the end of the Time::operator++.

Definition at line 164 of file calcFvcDiv.C.

Referenced by calcFvcDiv::name().

Here is the caller graph for this function:

void write ( )
virtual

Calculate the calcFvcDiv and write.

Definition at line 170 of file calcFvcDiv.C.

References Foam::endl(), Foam::Info, IOobject::name(), Foam::nl, Foam::type(), and regIOobject::write().

Referenced by calcFvcDiv::name().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void updateMesh ( const mapPolyMesh )
inlinevirtual

Update for changes of mesh.

Definition at line 157 of file calcFvcDiv.H.

virtual void movePoints ( const polyMesh )
inlinevirtual

Update for changes of mesh.

Definition at line 161 of file calcFvcDiv.H.


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