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

gmsh mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2011, 11:11
Default gmsh mesh
  #1
Member
 
luca
Join Date: Feb 2011
Posts: 34
Rep Power: 15
lulo is on a distinguished road
hi everybody

I need to solve the flow over a sloping bed in a 3D mesh.
I therefore need the cells at the boundary wall to be as rectangular as possible.
when i generate the mesh i obtain only vertical lines in my depth direction and this results in a highly skewed mesh.

how can i tell the program that i want all the angles of the cell to be as perpendicular as possible?
Is there any command in gmsh that can do this?

thanks
lulo is offline   Reply With Quote

Old   October 28, 2011, 08:50
Default
  #2
New Member
 
GregorS's Avatar
 
Gregor Seljak
Join Date: Oct 2010
Posts: 21
Rep Power: 15
GregorS is on a distinguished road
Can you attach your .geo file, so we can see the exact geometry. Then it will be easier to give some advice.
GregorS is offline   Reply With Quote

Old   October 28, 2011, 18:36
Default
  #3
Member
 
luca
Join Date: Feb 2011
Posts: 34
Rep Power: 15
lulo is on a distinguished road
thanks

i attached the file.
as you can see I have a highly skewed mesh.
and i want to have the cells at the bottom boundary layer to be rectangular and not rhomboid.

is there any algorithm i can use??
Attached Files
File Type: zip test.geo.zip (11.0 KB, 17 views)
lulo is offline   Reply With Quote

Old   October 29, 2011, 04:55
Default
  #4
New Member
 
GregorS's Avatar
 
Gregor Seljak
Join Date: Oct 2010
Posts: 21
Rep Power: 15
GregorS is on a distinguished road
I don't know if I understand you correctly, but if you use Recombine Surface, you get mesh like this
GregorS is offline   Reply With Quote

Old   October 29, 2011, 05:18
Default
  #5
Member
 
luca
Join Date: Feb 2011
Posts: 34
Rep Power: 15
lulo is on a distinguished road
Thanks.

I explained myself badly... sorry!
Lets try to explain it with a picture. You can find that attached.
The vertical direction in the figure represents the z axis.
As you can see my actual mesh(left) has the boundary cells rhomboid shaped at the bottom (i am simulating a boundary layer flow so i need cells to be rectangular)

I want to have them as rectangular as possible like in the sketch i made (right).

I now did Recombine Mesh and my mesh is now uploaded (attached).
Attached Images
File Type: png Untitled.png (12.3 KB, 11 views)
Attached Files
File Type: zip test.geo.zip (11.1 KB, 11 views)
lulo is offline   Reply With Quote

Reply

Tags
gmsh, 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
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
[Gmsh] gmshToFoam problem: not the same mesh in Gmsh vs. paraview zhernadi OpenFOAM Meshing & Mesh Conversion 8 July 7, 2011 02:28
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 10:56
basic of mesh refinement arya CFX 4 June 19, 2007 12:21


All times are GMT -4. The time now is 20:01.