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

refinementLevel.C File Reference

Tries to figure out what the refinement level is on refined cartesian meshes. Run BEFORE snapping. More...


Detailed Description

Tries to figure out what the refinement level is on refined cartesian meshes. Run BEFORE snapping.

Writes

  • volScalarField 'refinementLevel' with current refinement level.
  • cellSet 'refCells' which are the cells that need to be refined to satisfy 2:1 refinement.

Works by dividing cells into volume bins.

Usage
  • refinementLevel [OPTIONS]
Parameters:
-readLevel
Read reference refinementLevel file.
-case<dir>
Case directory.
-parallel
Run in parallel.
-help
Display help message.
-doc
Display Doxygen API documentation page for this application.
-srcDoc
Display Doxygen source documentation page for this application.

Definition in file refinementLevel.C.

#include "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/db/Time/Time.H"
#include "src/OpenFOAM/meshes/polyMesh/polyMesh.H"
#include "src/meshTools/sets/topoSets/cellSet.H"
#include "src/OpenFOAM/containers/Lists/SortableList/SortableList.H"
#include "src/OpenFOAM/primitives/Lists/labelIOList.H"
#include "src/finiteVolume/fvMesh/fvMesh.H"
#include "src/finiteVolume/fields/volFields/volFields.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
#include "src/OpenFOAM/include/createPolyMesh.H"
Include dependency graph for refinementLevel.C:

Go to the source code of this file.