From a set of input surface geometry files and a set of configuration parameters, writes out a blockMeshDict configuration file. The mesh consists of a single block, aligned with Cartesian axes. More...


Public Member Functions | |
| blockMeshCartesianConfiguration (const fileName &name, const fileName &dir, const Time &time, const meshingSurfaceList &surfaces, const bool &boundsOpt, const Vector< label > &nCells, const label minDimCells, const label refineFactor, const HashTable< Pair< word >> &patchOpts, const bool clearBoundary) | |
| Construct from components. More... | |
| blockMeshCartesianConfiguration (const blockMeshCartesianConfiguration &)=delete | |
| Disallow default bitwise copy construction. More... | |
| ~blockMeshCartesianConfiguration () | |
| Destructor. More... | |
| void | write () |
| Write the blockMeshDict. More... | |
| void | operator= (const blockMeshCartesianConfiguration &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from blockMeshConfigurationBase | |
| blockMeshConfigurationBase (const fileName &name, const fileName &dir, const Time &time, const meshingSurfaceList &surfaces, const HashTable< Pair< word >> &patchOpts) | |
| Construct from components. More... | |
| blockMeshConfigurationBase (const blockMeshConfigurationBase &)=delete | |
| Disallow default bitwise copy construction. More... | |
| ~blockMeshConfigurationBase () | |
| Destructor. More... | |
| void | operator= (const blockMeshConfigurationBase &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from caseFileConfiguration | |
| caseFileConfiguration (const fileName &name, const fileName &dir, const Time &time) | |
| Construct from components. More... | |
| caseFileConfiguration (const caseFileConfiguration &)=delete | |
| Disallow default bitwise copy construction. More... | |
| ~caseFileConfiguration () | |
| Destructor. More... | |
| void | operator= (const caseFileConfiguration &)=delete |
| Disallow default bitwise assignment. More... | |
Static Public Attributes | |
| static const List< word > | patches |
| Default patch names for the background mesh. More... | |
Protected Member Functions | |
| void | calcBlockMeshDict (const bool &boundsOpt) |
| Calculate the parameters for the blockMeshDict file. More... | |
| void | writeBackgroundMesh () |
| Write backgroundMesh sub-dictionary. More... | |
| void | writeDefaultPatch () |
| Write the defaultPatch entry. More... | |
| void | writePatch (const word &name, const word &type, const string &face) |
| Write a patch in the boundary sub-dictionary. More... | |
| void | writeBoundary () |
| Write the boundary sub-dictionary. More... | |
| void | writeVertices () |
| Write vertices list. More... | |
| void | writeBlocks () |
| Write blocks sub-dictionary. More... | |
| void | writeEdges () |
| Write edges list. More... | |
| void | writeMergePatchPairs () |
| Write mergePatchPairs. More... | |
Protected Member Functions inherited from blockMeshConfigurationBase | |
| void | roundBoundingBox (boundBox &bb, const scalar s) |
| Round a bounding box by the rounding scale. More... | |
| Pair< word > | readPatchOption (const word &option) const |
| Parse the patch commandline options. More... | |
| void | writeVertex (const word &x, const word &y, const word &z) |
| Write a vertex entry in the vertices list. More... | |
Protected Member Functions inherited from caseFileConfiguration | |
| void | beginDict (OFstream &os) |
| Output stream to begin a new dictionary without name. More... | |
| void | beginDict (OFstream &os, const word &name) |
| Output stream to begin a new dictionary with name. More... | |
| void | endDict (OFstream &os, bool newline=true) |
| Output stream to end a dictionary. More... | |
| void | beginList (OFstream &os) |
| Output stream to begin a new list without name. More... | |
| void | beginList (OFstream &os, const word &name) |
| Output stream to begin a new list with name. More... | |
| void | endList (OFstream &os, bool newline=true) |
| Output stream to end a list. More... | |
Protected Attributes | |
| Vector< label > | nCells_ |
| Number of cells in background mesh block. More... | |
| const label | minDimCells_ |
| Number of cells in background mesh shortest direction. More... | |
| const label | refineFactor_ |
| Refinement factor used to scale nCells. More... | |
| const bool | clearBoundary_ |
| Clear the default patch entries for the background mesh. More... | |
Protected Attributes inherited from blockMeshConfigurationBase | |
| boundBox | bb_ |
| Bounding box for the background mesh block. More... | |
| HashTable< Pair< word > > | patchOpts_ |
| Optional settings for patch names and types in the background mesh. More... | |
Protected Attributes inherited from caseFileConfiguration | |
| IOobject | dict_ |
| IOobject to write file headers. More... | |
| OFstream | os_ |
| Output file stream to write file content. More... | |
From a set of input surface geometry files and a set of configuration parameters, writes out a blockMeshDict configuration file. The mesh consists of a single block, aligned with Cartesian axes.
Definition at line 50 of file blockMeshCartesianConfiguration.H.
| blockMeshCartesianConfiguration | ( | const fileName & | name, |
| const fileName & | dir, | ||
| const Time & | time, | ||
| const meshingSurfaceList & | surfaces, | ||
| const bool & | boundsOpt, | ||
| const Vector< label > & | nCells, | ||
| const label | minDimCells, | ||
| const label | refineFactor, | ||
| const HashTable< Pair< word >> & | patchOpts, | ||
| const bool | clearBoundary | ||
| ) |
Construct from components.
|
delete |
Disallow default bitwise copy construction.
Destructor.
|
protected |
Calculate the parameters for the blockMeshDict file.
|
protected |
Write backgroundMesh sub-dictionary.
|
protected |
Write the defaultPatch entry.
Write a patch in the boundary sub-dictionary.
|
protected |
Write the boundary sub-dictionary.
|
protected |
Write vertices list.
|
protected |
Write blocks sub-dictionary.
|
protected |
Write edges list.
|
protected |
Write mergePatchPairs.
| void write | ( | ) |
Write the blockMeshDict.
|
delete |
Disallow default bitwise assignment.
Number of cells in background mesh block.
Definition at line 59 of file blockMeshCartesianConfiguration.H.
|
protected |
Number of cells in background mesh shortest direction.
Definition at line 62 of file blockMeshCartesianConfiguration.H.
|
protected |
Refinement factor used to scale nCells.
Definition at line 65 of file blockMeshCartesianConfiguration.H.
|
protected |
Clear the default patch entries for the background mesh.
Definition at line 68 of file blockMeshCartesianConfiguration.H.
Default patch names for the background mesh.
Definition at line 111 of file blockMeshCartesianConfiguration.H.