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

layerAdditionRemoval Class Reference

Cell layer addition mesh modifier. More...

#include <dynamicMesh/layerAdditionRemoval.H>


Detailed Description

Cell layer addition mesh modifier.

Source files

Definition at line 53 of file layerAdditionRemoval.H.

Inheritance diagram for layerAdditionRemoval:
Collaboration diagram for layerAdditionRemoval:

List of all members.

Public Member Functions

 TypeName ("layerAdditionRemoval")
 Runtime type information.
 layerAdditionRemoval (const word &name, const label index, const polyTopoChanger &mme, const word &zoneName, const scalar minThickness, const scalar maxThickness)
 Construct from components.
 layerAdditionRemoval (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme)
 Construct from dictionary.
virtual  ~layerAdditionRemoval ()
virtual bool  changeTopology () const
 Check for topology change.
virtual void  setRefinement (polyTopoChange &) const
 Insert the layer addition/removal instructions.
virtual void  modifyMotionPoints (pointField &motionPoints) const
 Modify motion points to comply with the topological change.
virtual void  updateMesh (const mapPolyMesh &)
 Force recalculation of locally stored data on topological change.
scalar  minLayerThickness () const
 Return min layer thickness which triggers removal.
void  setMinLayerThickness (const scalar t) const
 Set min layer thickness which triggers removal.
scalar  maxLayerThickness () const
 Return max layer thickness which triggers removal.
void  setMaxLayerThickness (const scalar t) const
 Set max layer thickness which triggers removal.
virtual void  write (Ostream &) const
 Write.
virtual void  writeDict (Ostream &) const
 Write dictionary.

Constructor & Destructor Documentation

layerAdditionRemoval ( const word &   name,
const label   index,
const polyTopoChanger &   mme,
const word &   zoneName,
const scalar   minThickness,
const scalar   maxThickness  
)

Construct from components.

Definition at line 120 of file layerAdditionRemoval.C.

layerAdditionRemoval ( const word &   name,
const dictionary &   dict,
const label   index,
const polyTopoChanger &   mme  
)

Construct from dictionary.

Definition at line 145 of file layerAdditionRemoval.C.

~layerAdditionRemoval (  ) [virtual]

Definition at line 168 of file layerAdditionRemoval.C.


Member Function Documentation

TypeName ( "layerAdditionRemoval"    )

Runtime type information.

bool changeTopology (  ) const [virtual]
void setRefinement ( polyTopoChange &   ref  ) const [virtual]

Insert the layer addition/removal instructions.

into the topological change

Implements polyMeshModifier.

Definition at line 368 of file layerAdditionRemoval.C.

References Foam::endl(), mesh, Foam::name(), Foam::Pout, and timeIndex.

void modifyMotionPoints ( pointField &   motionPoints  ) const [virtual]

Modify motion points to comply with the topological change.

Implements polyMeshModifier.

Definition at line 208 of file setLayerPairing.C.

References Foam::endl(), Foam::name(), and Foam::Pout.

void updateMesh ( const mapPolyMesh &    ) [virtual]

Force recalculation of locally stored data on topological change.

Implements polyMeshModifier.

Definition at line 407 of file layerAdditionRemoval.C.

References Foam::endl(), mesh, Foam::name(), and Foam::Pout.

scalar minLayerThickness (  ) const [inline]

Return min layer thickness which triggers removal.

Definition at line 192 of file layerAdditionRemoval.H.

void setMinLayerThickness ( const scalar   t  ) const

Set min layer thickness which triggers removal.

Definition at line 432 of file layerAdditionRemoval.C.

References Foam::abort(), Foam::FatalError, and FatalErrorIn.

scalar maxLayerThickness (  ) const [inline]

Return max layer thickness which triggers removal.

Definition at line 201 of file layerAdditionRemoval.H.

void setMaxLayerThickness ( const scalar   t  ) const

Set max layer thickness which triggers removal.

Definition at line 452 of file layerAdditionRemoval.C.

References Foam::abort(), Foam::FatalError, and FatalErrorIn.

void write ( Ostream &   os  ) const [virtual]

Write.

Implements polyMeshModifier.

Definition at line 471 of file layerAdditionRemoval.C.

References Foam::endl(), Foam::name(), Foam::nl, and Foam::type().

void writeDict ( Ostream &   os  ) const [virtual]

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