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

layerAdditionRemoval Class Reference

Cell layer addition mesh modifier. More...

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.

Detailed Description

Cell layer addition mesh modifier.

Source files

Definition at line 48 of file layerAdditionRemoval.H.


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 113 of file layerAdditionRemoval.C.

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

Construct from dictionary.

Definition at line 138 of file layerAdditionRemoval.C.

~layerAdditionRemoval (  )  [virtual]

Definition at line 161 of file layerAdditionRemoval.C.


Member Function Documentation

TypeName ( "layerAdditionRemoval"   ) 

Runtime type information.

bool changeTopology (  )  const [virtual]

Check for topology change.

Implements polyMeshModifier.

Definition at line 169 of file layerAdditionRemoval.C.

void setRefinement ( polyTopoChange &  ref  )  const [virtual]

Insert the layer addition/removal instructions.

into the topological change

Implements polyMeshModifier.

Definition at line 361 of file layerAdditionRemoval.C.

void modifyMotionPoints ( pointField &  motionPoints  )  const [virtual]

Modify motion points to comply with the topological change.

Implements polyMeshModifier.

Definition at line 201 of file setLayerPairing.C.

void updateMesh ( const mapPolyMesh &   )  [virtual]

Force recalculation of locally stored data on topological change.

Implements polyMeshModifier.

Definition at line 400 of file layerAdditionRemoval.C.

scalar minLayerThickness (  )  const [inline]

Return min layer thickness which triggers removal.

Definition at line 193 of file layerAdditionRemoval.H.

void setMinLayerThickness ( const scalar  t  )  const

Set min layer thickness which triggers removal.

Definition at line 425 of file layerAdditionRemoval.C.

scalar maxLayerThickness (  )  const [inline]

Return max layer thickness which triggers removal.

Definition at line 202 of file layerAdditionRemoval.H.

void setMaxLayerThickness ( const scalar  t  )  const

Set max layer thickness which triggers removal.

Definition at line 445 of file layerAdditionRemoval.C.

void write ( Ostream &  os  )  const [virtual]

Write.

Implements polyMeshModifier.

Definition at line 464 of file layerAdditionRemoval.C.

void writeDict ( Ostream &  os  )  const [virtual]

Write dictionary.

Implements polyMeshModifier.

Definition at line 475 of file layerAdditionRemoval.C.


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