|
[Sponsors] |
[Gmsh] Modified gmshToFoam to help import hexahedral and prism elements from Gmsh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 18, 2005, 09:15 |
Modified gmshToFoam to help import hexahedral and prism elements from Gmsh
|
#1 |
Member
Ervin Adorean
Join Date: Mar 2009
Posts: 76
Rep Power: 17 |
Hi all,
I had trouble importing a 3D mesh with hexahedra and prism elements from Gmsh to OpenFOAM, so Mattijs Janssens made some modifications to gmshToFoam.C and it worked. You can run the gmshToFoam command with the following syntax: gmshToFoam <root> <case> filename.msh -invertPrism -invertHex Just replace the old gmshToFoam.C file in /home/user/openFOAM/OpenFOAM-1.1/applications/utilities/mesh/conversion/gmshToFo am directory with \attach {this} The easiest way to compile it is by running the ./Allwmake command from the /home/user/openFOAM/OpenFOAM-1.1/applications/utilities/mesh/conversion directory. Ervin |
|
April 18, 2005, 09:19 |
Sorry, the modified gmshToFoam
|
#2 |
Member
Ervin Adorean
Join Date: Mar 2009
Posts: 76
Rep Power: 17 |
Sorry, the modified gmshToFoam.C file is gmshToFoam.C
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Inquiry - Prism Layer / Hexahedral Mesh (TRIMMER) | miragemobile | STAR-CCM+ | 2 | February 28, 2019 11:04 |
[ICEM] Mesh a pie geometry with hexahedral and prism elements | mgu | ANSYS Meshing & Geometry | 0 | January 24, 2012 14:06 |