NEMoSys  0.63.0
A modular, extensible resource with robust automated mesh generation, mesh quality analysis, adaptive mesh refinement, and data transfer between arbitrary meshes.
blockMeshParams Class Reference

blockMeshParams contains the parameters important for automatic meshing using blockMeshGen class. More...

Detailed Description

These parameters are assigned a value during user input pasing through JSON in MeshGenDriver.

Definition at line 153 of file blockMeshParams.H.

Public Member Functions

 blockMeshParams ()=default
 blockMeshParams standard constructor More...
 

Public Attributes

bool ownBlockMshDict {false}
 Enables option to use user provided blockMeshDict. More...
 
std::shared_ptr< bmShapeshape {}
 3D block, sphere, cylinder, or tapered cone More...
 
double cnvrtToMeters {1}
 Defines mesh scale to meters. More...
 
std::array< int, 3 > nCells {40, 40, 40}
 Defines number of cells in X/Y/Z direction; unused if cellSize has a value. More...
 
jsoncons::optional< double > cellSize {}
 user can define mesh cell size here (if not set, nCells used instead). More...
 
bool isPackMesh {true}
 Boolean for if the operation is packmesh. More...
 

Inherits meshingParams.

Constructor & Destructor Documentation

◆ blockMeshParams()

blockMeshParams::blockMeshParams ( )
default

Member Data Documentation

◆ cellSize

jsoncons::optional<double> blockMeshParams::cellSize {}

◆ cnvrtToMeters

double blockMeshParams::cnvrtToMeters {1}

◆ isPackMesh

bool blockMeshParams::isPackMesh {true}

◆ nCells

std::array<int, 3> blockMeshParams::nCells {40, 40, 40}

Definition at line 178 of file blockMeshParams.H.

Referenced by blockMeshGen::createBlockMshDict().

◆ ownBlockMshDict

bool blockMeshParams::ownBlockMshDict {false}

Definition at line 164 of file blockMeshParams.H.

◆ shape

std::shared_ptr<bmShape> blockMeshParams::shape {}

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