|
[Sponsors] |
[Gmsh] higher order mesh from Gmsh doesn't works--gmshToFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 6, 2015, 06:57 |
higher order mesh from Gmsh doesn't works--gmshToFoam
|
#1 |
Member
Join Date: May 2010
Posts: 74
Rep Power: 16 |
Hi all,
I found the utility gmshToFoam only works for first-order mesh, is it true? the second-order mesh will not convert to OpenFOAM successfully, so does anybody know how to convert the higher order mesh? thanks. |
|
February 6, 2015, 08:37 |
|
#2 |
Senior Member
|
Hi,
Here is the list of elements handled by gmshToFoam: Code:
// Element type numbers static label MSHTRI = 2; static label MSHQUAD = 3; static label MSHTET = 4; static label MSHPYR = 7; static label MSHPRISM = 6; static label MSHHEX = 5; In fact, meshing the cylinder like you have attached to the message in general does not require high order elements. |
|
February 6, 2015, 10:39 |
|
#3 | |
Member
Join Date: May 2010
Posts: 74
Rep Power: 16 |
Thanks!!
so in order to improve the quality of the surface, just adding more points, right? W. Quote:
|
||
February 6, 2015, 12:16 |
|
#4 |
Senior Member
|
||
February 6, 2015, 14:07 |
|
#5 |
Member
Peter
Join Date: Feb 2015
Location: New York
Posts: 73
Rep Power: 11 |
You might have a look at this:
https://extensions.sketchup.com/en/c...y-tetgen-tools Some quick screen shots (multi region mesh, smooth mesh gradation): I wrote this plugin to solve a problem I was having (namely, that design iterations were happening extremely quickly, and the corresponding simulation/setup times needed to be similarly reduced), and decided to release it in case it might help others. It's free, of course. You can control mesh gradation, refine locally, set regions and boundaries, remove sections of the mesh (holes), etc. It works with tetgen - which, of course you can convert directly to OpenFOAM format with the tetgenToFoam utility, and with gmsh if you want to do additional preprocessing before converting with the gmshToFoam utility. Anyway, I hope this might be helpful to the community. Peter |
|
February 6, 2015, 19:12 |
|
#6 |
Member
Join Date: May 2010
Posts: 74
Rep Power: 16 |
||
February 6, 2015, 19:15 |
|
#7 | |
Member
Join Date: May 2010
Posts: 74
Rep Power: 16 |
Thank you very much Peter, I will learn your work, I believe it will not only help me, but also gives others more choice. Thanks you again!!
Wei Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A high order curvilinear mesh generation(converting) tool is strongly recommended! | hyperman | Mesh Generation & Pre-Processing | 0 | June 22, 2018 09:04 |
Mesh motion with Translation & Rotation | Doginal | CFX | 2 | January 12, 2014 07:21 |
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation | tommymoose | ANSYS Meshing & Geometry | 48 | April 15, 2013 05:24 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |