CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] structured mesh in Gmsh appears triangular after gmshtofoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 24, 2020, 12:39
Default structured mesh in Gmsh appears triangular after gmshtofoam
  #1
New Member
 
Liam
Join Date: Apr 2020
Posts: 5
Rep Power: 6
lg331 is on a distinguished road
I created a 3D structured mesh in gmsh, which was created well, without error or warning. However when I transferred it to openFOAM format using gmshtofoam, and then viewed it in paraview, it appeared differently to the gmsh. Any help will be very much appreciated? Is it something to do with paraview?

I'm new to gmsh and openFOAM and I'm using mac. The attached are the figures, which show a region of the domain.
Attached Images
File Type: jpg Screenshot 2020-04-24 at 16.33.56.jpg (71.1 KB, 16 views)
File Type: jpg Screenshot 2020-04-24 at 16.34.25.jpg (77.6 KB, 18 views)
lg331 is offline   Reply With Quote

Old   April 27, 2020, 02:25
Default
  #2
Member
 
Andreas P.
Join Date: May 2017
Posts: 41
Rep Power: 9
AndreasPe is on a distinguished road
There is an option in paraview called "triangulate the slice". Just disable this option and your mesh should look hexahedral again.
AndreasPe is offline   Reply With Quote

Old   April 27, 2020, 07:56
Default
  #3
New Member
 
Liam
Join Date: Apr 2020
Posts: 5
Rep Power: 6
lg331 is on a distinguished road
Many thanks Andereas. It solves the problem.

Now I'm trying to densify my mesh. But gmshtofoam process killed without any error message; please see the attached. Any idea why?
Attached Images
File Type: jpg Screenshot 2020-04-27 at 11.52.17.jpg (77.4 KB, 8 views)
lg331 is offline   Reply With Quote

Old   April 27, 2020, 08:04
Default
  #4
Member
 
Andreas P.
Join Date: May 2017
Posts: 41
Rep Power: 9
AndreasPe is on a distinguished road
I've never worked with gmsh / gmshToFoam.



Maybe have a look at your RAM usage?
AndreasPe is offline   Reply With Quote

Old   April 27, 2020, 08:07
Default
  #5
New Member
 
Liam
Join Date: Apr 2020
Posts: 5
Rep Power: 6
lg331 is on a distinguished road
OK thank you very much again. I'll have a look.
lg331 is offline   Reply With Quote

Reply

Tags
gmsh, structured mesh


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Gmsh] GMSH: Structured mesh of a square inside a circle wc3speler OpenFOAM Meshing & Mesh Conversion 3 September 18, 2019 17:13
[ANSYS Meshing] Structured Mesh inside an egg-like geometry BrunoCFD ANSYS Meshing & Geometry 1 October 31, 2018 15:48
[ICEM] Unstructured Tetra Mesh around Structured Hexa Mesh grinser92 ANSYS Meshing & Geometry 0 April 12, 2017 16:05
3D Hybrid Mesh Errors DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 07:42
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 11:09


All times are GMT -4. The time now is 08:51.