|
[Sponsors] |
January 16, 2023, 03:46 |
How to tetrahedron from a triangular mesh?
|
#1 |
Member
zhangqiang
Join Date: Nov 2022
Posts: 43
Rep Power: 4 |
For example, I have a triangular mesh for 3D volume object. In order to generate `SU2` file, I need to firstly generate triangular mesh.
Is there any powerful python package to generate tetrahedron from a triangular mesh? Any suggestion is appreciated~~~ |
|
January 16, 2023, 06:46 |
|
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 679
Rep Power: 21 |
I suggest you try to do everything in gmsh using structured meshes.
The best thing imo that you could do is to build the 3D model from scratch from your own geometry definition. If you have some kind of irregular geometric shape already, then convert the edges of the shape to a collection of lines and load that in gmsh.If you have the mathematical definition of the shape, then use that to define the edges. For instance, you can define a circular face in gmsh and then extrude that face according to some user defined expression. See for instance the gmsh .geo file of this tutorial: https://su2code.github.io/tutorials/...pendent_Model/ or this gmsh video: https://www.youtube.com/watch?v=VokUbWUhU-c and the gmsh manual, specifically 2.19 https://gmsh.info/doc/texinfo/gmsh.html I hope this helps. |
|
January 16, 2023, 23:10 |
|
#3 |
Member
zhangqiang
Join Date: Nov 2022
Posts: 43
Rep Power: 4 |
Many thanks. I will try gmsh~~~
|
|
Tags |
tetrahedron |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
[snappyHexMesh] High quality mesh for wind in complex urban environment | ziboaa | OpenFOAM Meshing & Mesh Conversion | 1 | January 12, 2021 16:33 |
GeometricField -> mesh() Function | Tobi | OpenFOAM Programming & Development | 10 | November 19, 2020 12:33 |
Non-physcial solution in the case of triangular mesh from interFoam | ata | OpenFOAM | 28 | September 4, 2016 12:59 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 19:10 |