Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
FloSewn committed Apr 25, 2024
1 parent 77e4e73 commit 4b1ba76
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,15 @@ The last entry of the mesh output refers to the size function values at every ve
</details>

## OpenFOAM Support
<img src="doc/banner_3d.jpeg" alt="TQMesh-OpenFOAM-support" width="250"/>
<img src="doc/banner_3d.jpeg" alt="TQMesh-OpenFOAM-support" width="500"/>

To convert meshes from **TQMesh** to a format that is supported by OpenFOAM
you can use a script that is provided in `scripts/convert2foam.py`.
```sh
python scripts/convert2foam.py [-e EXTRUSION] Mesh.txt export-prefix
```
Optional flags:
* `-e EXTRUSION`: A floating point value by which the mesh gets extruded
This script simply extrudes the provided mesh into the z-direction and
generates the required files which can be used as input for OpenFOAM.

## Plot your meshes
A simple python script to plot your mesh is provided under `scripts/plot_mesh.py`.
Expand Down

0 comments on commit 4b1ba76

Please sign in to comment.