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

gmsh mesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 27, 2011, 11:11
Default gmsh mesh
  #1
Member
 
luca
Join Date: Feb 2011
Posts: 34
Rep Power: 6
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: 6
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: 6
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, 13 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: 6
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: 6
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, 9 views)
Attached Files
File Type: zip test.geo.zip (11.1 KB, 8 views)
lulo is offline   Reply With Quote

Reply

Tags
gmsh, mesh

Thread Tools
Display Modes

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 On
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
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 04:52
gmshToFoam problem: not the same mesh in Gmsh vs. paraview zhernadi Open Source Meshers: Gmsh, Netgen, CGNS, ... 8 July 7, 2011 02:28
Import problem ARC Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 February 27, 2010 11:56
basic of mesh refinement arya CFX 4 June 19, 2007 12:21


All times are GMT -4. The time now is 19:38.