3D structured/unstructured/tetrahedral/hexahedral multi-block mesh generator with boolean operations based on gmsh
- Download and install Python
- Install gmsh_scripts
pip install gmsh-scripts
- Create or download input file
{
"metadata": {
"run": {
"factory": "occ"
}
},
"data": {
"class": "block.Matrix",
"matrix": [
[-1, 0, 1],
[-2, 0, 2],
[-3, 0, 3]
]
}
}
- Create mesh
python -m gmsh_scripts matrix.json
pip install -r requirements/prod.txt
- Create or download input file
- Create mesh
python gmsh_scripts/run.py matrix.json
Complex mesh from examples
python -m gmsh_scripts all_heater_plug.json
pin install gmsh_scripts[viz]
python -m gmsh_scripts all_heater_plug.json --plot
Examples Click them!
Roman Pashkovsky
https://github.com/romanzes637
Made in Nuclear Safety Institute of the Russian Academy of Sciences (IBRAE RAN)