|
[Sponsors] |
November 30, 2018, 10:08 |
Converting 3d mesh to 2d mesh
|
#1 |
New Member
Join Date: Oct 2018
Posts: 19
Rep Power: 8 |
Hi,
I want to create axisymmetric mesh using snappyhexmesh. Unfortunately snappyhexmesh do not support axisymmetric cases. So I created "cubic" geometry and used snapphexmesh. Now I need to make from 3d mesh 2d mesh and then revolve 2d mesh by axis to create axisimmetric mesh. But the problem is that I don't know how to convert 3d mesh to 2d mesh. Is there any command to create new file from surface in gmsh? Or to delete all nodes and elements not on z plane? Maybe there is other tool which would be more handy in this scenario? Thanks |
|
November 30, 2018, 10:35 |
|
#2 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Hi!
You can use the extrudeMesh utility. Just extrude the patch with one cell. |
|
December 1, 2018, 16:07 |
|
#3 |
New Member
Join Date: Oct 2018
Posts: 19
Rep Power: 8 |
@simrego Thanks for your reply!
I will give it a try. |
|
December 1, 2018, 16:18 |
|
#4 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
If you have questions feel free to ask!
I forgot to include an example dict, so here you go: https://github.com/OpenFOAM/OpenFOAM...xtrudeMeshDict You can extrude, revolve, etc. The file contains some explanation how to set up the dictionary. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell | Arman_N | OpenFOAM Meshing & Mesh Conversion | 1 | May 20, 2019 18:16 |
[CGNS] cgnsToFoam error when converting ICEM mesh | glasenapp | OpenFOAM Meshing & Mesh Conversion | 5 | October 13, 2016 23:37 |
Star CCM Overset Mesh Error (Rotating Turbine) | thezack | Siemens | 7 | October 12, 2016 12:14 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |