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

Graded Mesh From gmsh?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 17, 2010, 12:09
Default Graded Mesh From gmsh?
  #1
Senior Member
 
Robert
Join Date: Sep 2010
Posts: 154
Rep Power: 6
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: 33
Rep Power: 8
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

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


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