Public Member Functions | List of all members
Lambda2 Class Reference

This function object calculates and outputs the second largest eigenvalue of the sum of the square of the symmetrical and anti-symmetrical parts of the velocity gradient tensor. More...

Public Member Functions

 TypeName ("Lambda2")
 Runtime type information. More...
 
 Lambda2 (const word &name, const objectRegistry &, const dictionary &, const bool loadFromFiles=false)
 Construct for given objectRegistry and dictionary. More...
 
virtual ~Lambda2 ()
 Destructor. More...
 
virtual const wordname () const
 Return name of the set of Lambda2. More...
 
virtual void read (const dictionary &)
 Read the Lambda2 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 Lambda2 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 and outputs the second largest eigenvalue of the sum of the square of the symmetrical and anti-symmetrical parts of the velocity gradient tensor.

Source files

Definition at line 63 of file Lambda2.H.

Constructor & Destructor Documentation

Lambda2 ( 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 43 of file Lambda2.C.

References Foam::dimless, Foam::dimTime, Foam::endl(), mesh, Foam::nl, IOobject::NO_READ, IOobject::NO_WRITE, Foam::read(), Foam::sqr(), fvMesh::time(), Time::timeName(), Foam::type(), and WarningIn.

Here is the call graph for this function:

~Lambda2 ( )
virtual

Destructor.

Definition at line 102 of file Lambda2.C.

Member Function Documentation

TypeName ( "Lambda2"  )

Runtime type information.

virtual const word& name ( ) const
inlinevirtual

Return name of the set of Lambda2.

Definition at line 115 of file Lambda2.H.

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

Here is the call graph for this function:

void read ( const dictionary dict)
virtual

Read the Lambda2 data.

Definition at line 108 of file Lambda2.C.

References dictionary::lookupOrDefault().

Referenced by Lambda2::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 117 of file Lambda2.C.

References Foam::component(), Foam::eigenValues(), Foam::fvc::grad(), objectRegistry::lookupObject(), mesh, Foam::skew(), Foam::symm(), Foam::type(), U, and Vector< Cmpt >::Y.

Referenced by Lambda2::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 145 of file Lambda2.C.

Referenced by Lambda2::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 154 of file Lambda2.C.

Referenced by Lambda2::name().

Here is the caller graph for this function:

void write ( )
virtual

Calculate the Lambda2 and write.

Definition at line 160 of file Lambda2.C.

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

Referenced by Lambda2::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 136 of file Lambda2.H.

virtual void movePoints ( const polyMesh )
inlinevirtual

Update for changes of mesh.

Definition at line 140 of file Lambda2.H.


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