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

forceCoeffs Class Reference

Derived from the forces function object, creates a specialisation to calculate lift and drag forces. More...

#include <forces/forceCoeffs.H>


Detailed Description

Derived from the forces function object, creates a specialisation to calculate lift and drag forces.

Source files

Definition at line 51 of file forceCoeffs.H.

Inheritance diagram for forceCoeffs:
Collaboration diagram for forceCoeffs:

List of all members.

Public Member Functions

 TypeName ("forceCoeffs")
 Runtime type information.
 forceCoeffs (const word &name, const objectRegistry &, const dictionary &, const bool loadFromFiles=false)
 Construct for given objectRegistry and dictionary.
virtual  ~forceCoeffs ()
 Destructor.
virtual void  read (const dictionary &)
 Read the forces 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 forces.

Protected Member Functions

virtual void  writeFileHeader ()
 Output file header information.

Constructor & Destructor Documentation

forceCoeffs ( 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 42 of file forceCoeffs.C.

~forceCoeffs (  ) [virtual]

Destructor.

Definition at line 63 of file forceCoeffs.C.


Member Function Documentation

void writeFileHeader (  ) [protected, virtual]

Output file header information.

Reimplemented from forces.

Definition at line 90 of file forceCoeffs.C.

References Foam::endl(), and Foam::tab.

TypeName ( "forceCoeffs"    )

Runtime type information.

void read ( const dictionary &   dict  ) [virtual]

Read the forces data.

Reimplemented from forces.

Definition at line 69 of file forceCoeffs.C.

References dictionary::lookup(), and forces::read().

void execute (  ) [virtual]

Execute, currently does nothing.

Reimplemented from forces.

Definition at line 100 of file forceCoeffs.C.

void end (  ) [virtual]

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

Reimplemented from forces.

Definition at line 106 of file forceCoeffs.C.

void write (  ) [virtual]

The documentation for this class was generated from the following files:
  • src/postProcessing/functionObjects/forces/forceCoeffs/forceCoeffs.H
  • src/postProcessing/functionObjects/forces/forceCoeffs/forceCoeffs.C