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.8.tar.gz
(73.5 kB
view details)
Built Distribution
File details
Details for the file gmsh_scripts-0.4.8.tar.gz
.
File metadata
- Download URL: gmsh_scripts-0.4.8.tar.gz
- Upload date:
- Size: 73.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
c21af7a99681a264710d4943061d1e7beaddcfe1449f688cda729532a5dbc2c0
|
|
MD5 |
4c192edeacab702d74b9e61cbdd13817
|
|
BLAKE2b-256 |
4abe075cd43705700b452f35bc35279611d1195a2ad48089b3475f861a7ef498
|
File details
Details for the file gmsh_scripts-0.4.8-py3-none-any.whl
.
File metadata
- Download URL: gmsh_scripts-0.4.8-py3-none-any.whl
- Upload date:
- Size: 84.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
75efb178badd6dbf2353d4a0fd352d982681505bae26ea170bbb7f84e8480b34
|
|
MD5 |
f2e6486dfe69f5f208e8fff02eee224c
|
|
BLAKE2b-256 |
f78c4bf40e70bc421a4d6f2880924d920a3514020e975074842311acf0b6b454
|