Hexahedral meshing pipeline creates different objects for different meshing engines in NEMoSys, as well as objects of mesh manipulation utilities to complete the meshing workflow.
- Geometry generation using RocPack output file.
- Generation of STL file for workflow downstream.
- Generation of background mesh for snappyHexMesh
- Snapping of pack surfaces onto background volume mesh to create conformal
interfaces.
- Splitting multiple pack regions into different cellZones (volumes).
- Merging all different volumes into two different foam mesh (1.
Packs, 2. Surrounding)
- Creating patch for Packs and Surrounding regions.
- Conversion of foam mesh to VTK.
- Provides mesh quality statistics to users in a text file.
Definition at line 59 of file HexPackMeshDriver.H.
Classes | |
struct | Files |
struct | Opts |
Public Member Functions | |
HexPackMeshDriver (Files files, Opts opts) | |
const Files & | getFiles () const |
void | setFiles (Files files) |
const Opts & | getOpts () const |
void | setOpts (Opts opts) |
void | execute () const override |
Run the workflow represented by the driver. More... | |
Static Public Member Functions | |
static std::unique_ptr< NemDriver > | readJSON (const jsoncons::json &inputjson) |
Factory method for all drivers. More... | |
Private Member Functions | |
HexPackMeshDriver () | |
Private Attributes | |
Files | files_ |
Opts | opts_ |
Inherits NEM::DRV::PackMeshDriver.
Definition at line 67 of file HexPackMeshDriver.C.
|
private |
Definition at line 70 of file HexPackMeshDriver.C.
|
overridevirtual |
Implements NEM::DRV::NemDriver.
Definition at line 142 of file HexPackMeshDriver.C.
References NEM::DRV::HexPackMeshDriver::Opts::bmParams, bmBox::coordsBox, MeshManipulationFoamParams::createPatchParams, files_, NEM::DRV::HexPackMeshDriver::Files::getInputFile(), NEM::DRV::HexPackMeshDriver::Files::isInputRocpackFile(), blockMeshParams::isPackMesh, snappymeshParams::isPackMesh, NEM::DRV::HexPackMeshDriver::Opts::locAdjust, MeshManipulationFoamParams::mergeMeshesParams, mesh, NEM::DRV::HexPackMeshDriver::Opts::mmfCreatePatchParams, NEM::DRV::HexPackMeshDriver::Opts::mmfMergeParams, NEM::MSH::New(), opts_, NEM::DRV::HexPackMeshDriver::Files::outCombinedFile, MeshManipulationFoamParams::SurfaceSplitByManifold::pckRegionNames, NEM::MSH::Read(), NEM::DRV::HexPackMeshDriver::Opts::smParams, and MeshManipulationFoamParams::surfSplitParams.
const HexPackMeshDriver::Files & NEM::DRV::HexPackMeshDriver::getFiles | ( | ) | const |
const HexPackMeshDriver::Opts & NEM::DRV::HexPackMeshDriver::getOpts | ( | ) | const |
|
staticinherited |
inputjson | json input with "Program Type" key |
Definition at line 37 of file NemDriver.C.
Referenced by NEM::DRV::MeshGenDriver::MeshGenDriver().
void NEM::DRV::HexPackMeshDriver::setFiles | ( | Files | files | ) |
Definition at line 77 of file HexPackMeshDriver.C.
References NEM::DRV::HexPackMeshDriver::Opts::bmParams, files_, snappymeshParams::geomFileName, NEM::DRV::HexPackMeshDriver::Files::getInputFile(), NEM::DRV::HexPackMeshDriver::Files::isInputRocpackFile(), opts_, blockMeshParams::shape, and NEM::DRV::HexPackMeshDriver::Opts::smParams.
void NEM::DRV::HexPackMeshDriver::setOpts | ( | Opts | opts | ) |
Definition at line 94 of file HexPackMeshDriver.C.
References MeshManipulationFoamParams::MergeMeshes::addCasePath, NEM::DRV::HexPackMeshDriver::Opts::bmParams, snappymeshParams::geomFileName, getFiles(), NEM::DRV::HexPackMeshDriver::Files::getInputFile(), NEM::DRV::HexPackMeshDriver::Files::isInputRocpackFile(), MeshManipulationFoamParams::MergeMeshes::masterCasePath, NEM::DRV::HexPackMeshDriver::Opts::mmfCreatePatchParams, NEM::DRV::HexPackMeshDriver::Opts::mmfMergeParams, opts_, MeshManipulationFoamParams::CreatePatch::packsName, MeshManipulationFoamParams::CreatePatch::packsPatchType, blockMeshParams::shape, NEM::DRV::HexPackMeshDriver::Opts::smParams, MeshManipulationFoamParams::CreatePatch::srrndngPatchType, and MeshManipulationFoamParams::CreatePatch::surroundingName.
|
private |
Definition at line 119 of file HexPackMeshDriver.H.
Referenced by execute(), getFiles(), and setFiles().
|
private |
Definition at line 120 of file HexPackMeshDriver.H.
Referenced by execute(), getOpts(), setFiles(), and setOpts().