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.4.tar.gz
(72.7 kB
view hashes)
Built Distribution
Close
Hashes for gmsh_scripts-0.4.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78decf7635cf7ee47d3bc32cf96d4ab05d7928b50556b9f2ed44e3061b5eebd6 |
|
MD5 | 16ae95de9880ccc37151008081683e83 |
|
BLAKE2b-256 | 4ce83edcc7af8afac18cb70051d0f4e974d631b6338f0ba21daecdafe801a8b0 |