Skip to main content
Readme

gmsh_scripts

3D structured/unstructured/tetrahedral/hexahedral multi-block mesh generator with boolean operations based on gmsh

Documentation

Installation

Pip

  1. Download and install Python
  2. Install gmsh_scripts
pip install gmsh-scripts
  1. Create or download input file
{
  "metadata": {
    "run": {
      "factory": "occ"
    }
  },
  "data": {
    "class": "block.Matrix",
    "matrix": [
      [-1, 0, 1],
      [-2, 0, 2],
      [-3, 0, 3]
    ]
  }
}
  1. Create mesh
python -m gmsh_scripts matrix.json

Github

  1. Download and install Python
  2. Download gmsh_scripts
  3. Install requirements
pip install -r requirements/prod.txt
  1. Create or download input file
  2. Create mesh
python gmsh_scripts/run.py matrix.json

Result

Matrix

Complex mesh from examples

Create mesh

python -m gmsh_scripts all_heater_plug.json
Experiment

Plot tree

pin install gmsh_scripts[viz]
python -m gmsh_scripts all_heater_plug.json --plot
Experiment tree

Examples Click them!

Multilayerd Cylinder Simple Torus Simple Tokamak Simple Stellarator Wells Cross section 1 Cross section 2 Core Quarter layer Quarter layer with holes Large Matrix Custom Block Half layer Half layer with holes

Examples album

Video tutorials (In Russian)

Cite

gmsh

Geuzaine and J.-F. Remacle. Gmsh: a three-dimensional finite element mesh generator with built-in pre- and post-processing facilities. International Journal for Numerical Methods in Engineering 79(11), pp. 1309-1331, 2009

gmsh scripts

Butov R.A., Drobyishevsky N.I., Moiseenko E.V., Tokarev Yu. N. Mesh generation for radioactive waste management tasks. Radioactive Waste, 2021, no. 1 (14), pp. 87—95. DOI: 10.25283/2587-9707-2021-1-87-95. (In Russian)

Contacts

Roman Pashkovsky

https://github.com/romanzes637

romapasky@gmail.com

Made in Nuclear Safety Institute of the Russian Academy of Sciences (IBRAE RAN)

Metadata

Release files for gmsh-scripts 0.4.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gmsh-scripts 0.4.8
File Size Uploaded Provenance Actions
gmsh_scripts-0.4.8.tar.gz 73.5 kB Without provenance Details for gmsh_scripts-0.4.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gmsh-scripts 0.4.8
File Interpreter ABI Platform Actions
gmsh_scripts-0.4.8-py3-none-any.whl Python 3 none any Details for gmsh_scripts-0.4.8-py3-none-any.whl

Total release size: 158.2 kB

Release files / gmsh_scripts-0.4.8.tar.gz

Download URL gmsh_scripts-0.4.8.tar.gz
Size 73.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c21af7a99681a264710d4943061d1e7beaddcfe1449f688cda729532a5dbc2c0
BLAKE2b-256 checksum
How to use checksums
4abe075cd43705700b452f35bc35279611d1195a2ad48089b3475f861a7ef498
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / gmsh_scripts-0.4.8-py3-none-any.whl

Download URL gmsh_scripts-0.4.8-py3-none-any.whl
Size 84.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75efb178badd6dbf2353d4a0fd352d982681505bae26ea170bbb7f84e8480b34
BLAKE2b-256 checksum
How to use checksums
f78c4bf40e70bc421a4d6f2880924d920a3514020e975074842311acf0b6b454
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for gmsh-scripts 0.4.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page