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

Graded Mesh From gmsh?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 17, 2010, 12:09
Default Graded Mesh From gmsh?
  #1
Senior Member
 
Robert
Join Date: Sep 2010
Posts: 158
Rep Power: 15
lordvon is on a distinguished road
Can gmsh do graded meshes? If so, how? If not, are there any OpenFOAM modifications I can do?

Solution: Just define a length characteristic for all points involved in the boundary of interest. The easiest way to do this is to go into the .geo file, define length characteristic variables, and append it to all the point definitions as the fourth parameter. i.e. A point at (0,0,0) with length characteristic of .2 would be 'Point(1)={0,0,0,0.2};'.

If you run into an error and have narrow gaps to mesh, you may just need to put a smaller length characteristic on the narrow gaps.

Last edited by lordvon; September 19, 2010 at 13:58.
lordvon is offline   Reply With Quote

Old   September 18, 2010, 11:56
Default
  #2
Member
 
edison
Join Date: May 2009
Location: Australia
Posts: 35
Rep Power: 16
Edison_Ge is on a distinguished road
Quote:
Originally Posted by lordvon View Post
Can gmsh do graded meshes? If so, how? If not, are there any OpenFOAM modifications I can do?

Solution: Just define a length characteristic for all points involved in the boundary of interest. The easiest way to do this is to go into the .geo file, define length characteristic variables, and append it to all the point definitions as the fourth parameter. i.e. A point at (0,0,0) with length characteristic of .2 would be 'Point(1)={0,0,0,0.2};'.
same question~~~~~~~~~~
Edison_Ge is offline   Reply With Quote

Reply


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] Structured mesh in gmsh without Extrude function ericnutsch OpenFOAM Meshing & Mesh Conversion 2 December 6, 2013 07:52
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 19:43
2d irregular grid Remy Main CFD Forum 1 December 22, 2008 04:49
basic of mesh refinement arya CFX 4 June 19, 2007 12:21


All times are GMT -4. The time now is 04:47.