Scripts for GMSH mesh generator
Project description
gmsh_scripts
3D structured/unstructured/tetrahedral/hexahedral multi-block mesh generator with boolean operations based on gmsh
Documentation
Installation
Pip
- 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
Github
pip install -r requirements/prod.txt
- Create or download input file
- Create mesh
python gmsh_scripts/run.py matrix.json
Result
Complex mesh from examples
Create mesh
python -m gmsh_scripts all_heater_plug.json
Plot tree
pin install gmsh_scripts[viz]
python -m gmsh_scripts all_heater_plug.json --plot
Examples Click them!
Examples album
Video tutorials (In Russian)
Cite
gmsh
gmsh scripts
Contacts
Roman Pashkovsky
https://github.com/romanzes637
Made in Nuclear Safety Institute of the Russian Academy of Sciences (IBRAE RAN)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gmsh_scripts-0.4.5.tar.gz
(72.0 kB
view details)
Built Distribution
File details
Details for the file gmsh_scripts-0.4.5.tar.gz
.
File metadata
- Download URL: gmsh_scripts-0.4.5.tar.gz
- Upload date:
- Size: 72.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a6eeacd967a730f13acb6b4b5e10e2e3aab277f2f8dcff21d80cac1f9e3cfe6 |
|
MD5 | d2c47b57e10d575ac47a75e7c30656b3 |
|
BLAKE2b-256 | 28dc03a4bfe1f423df3b6ea69b38fb8d264a51b0f20beab2fbc7d3717963bb3f |
File details
Details for the file gmsh_scripts-0.4.5-py3-none-any.whl
.
File metadata
- Download URL: gmsh_scripts-0.4.5-py3-none-any.whl
- Upload date:
- Size: 81.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca5de82ed9263fd6345d5abeae3d8855a729bcfa879b243fdb1efbcc05814ca2 |
|
MD5 | 700aa38f2bb1d5c479d5656ebca71bbd |
|
BLAKE2b-256 | 0628f8f12f069d1a6fde4bfad1ccf8b77fc3c1e3d7dd766de678a656c025d134 |