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, 12: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, 09:50
Default
  #2
New Member
 
GregorS's Avatar
 
Gregor Seljak
Join Date: Oct 2010
Posts: 21
Rep Power: 16
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, 19: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, 18 views)
lulo is offline   Reply With Quote

Old   October 29, 2011, 05:55
Default
  #4
New Member
 
GregorS's Avatar
 
Gregor Seljak
Join Date: Oct 2010
Posts: 21
Rep Power: 16
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, 06: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, 12 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 05:24
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
[Gmsh] gmshToFoam problem: not the same mesh in Gmsh vs. paraview zhernadi OpenFOAM Meshing & Mesh Conversion 8 July 7, 2011 03:28
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 11:56
basic of mesh refinement arya CFX 4 June 19, 2007 13:21


All times are GMT -4. The time now is 13:07.