Skip to content

the open source SU2 mesh format parser and visualizer

License

Notifications You must be signed in to change notification settings

OpenOrion/su2fmt

Repository files navigation

🕸️ su2fmt

the open source SU2 mesh format parser and exporter

About

su2fmt parses and exports the SU2 mesh format in accordance with the spec here: https://su2code.github.io/docs/Mesh-File/.

Install

pip install git+https://github.com/Turbodesigner/su2fmt.git#egg=su2fmt

Example

See more examples in the examples directory

from su2fmt import parse_mesh, export_mesh

# parses mesh file
mesh = parse_mesh("example.su2")

# export mesh file
export_mesh(mesh, "example_generated.su2")

Note: visualize_mesh has been moved to ezmesh

Devlopement Setup

git clone https://github.com/Turbodesigner/su2fmt.git
cd su2fmt
pip install -r requirements_dev.txt

About

the open source SU2 mesh format parser and visualizer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published