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

[Gmsh] Grading in gmsh

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By decah

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2017, 23:14
Default Grading in gmsh
  #1
Member
 
Declan
Join Date: Oct 2016
Location: Ireland
Posts: 40
Rep Power: 9
decah is on a distinguished road
Hi all,

I am trying to grade cells approaching a line (the bottom of my domain) and am wondering if there is a way to do this similar to blockMesh's simpleGrading tool. See the image below for what I have (left) and what I would like to have (right).

I know you can specify the grid size on individual points in gmsh but can't find anything in the documentation about specifying it over a line.
Attached Images
File Type: png Screen Shot 2017-02-02 at 21.45.55.png (9.8 KB, 38 views)
liguobing00 likes this.
decah is offline   Reply With Quote

Old   February 3, 2017, 02:54
Default
  #2
Senior Member
 
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 12
Flowkersma is on a distinguished road
This is only possible for structured mesh (transfinite line). You can give a geometric ratio either for one end (Using Progression) or for both ends (Using Bump).

See more in the documentation: Structured grids

Quote:
Originally Posted by decah View Post
Hi all,

I am trying to grade cells approaching a line (the bottom of my domain) and am wondering if there is a way to do this similar to blockMesh's simpleGrading tool. See the image below for what I have (left) and what I would like to have (right).

I know you can specify the grid size on individual points in gmsh but can't find anything in the documentation about specifying it over a line.
Flowkersma is offline   Reply With Quote

Old   February 3, 2017, 13:35
Default
  #3
Member
 
Declan
Join Date: Oct 2016
Location: Ireland
Posts: 40
Rep Power: 9
decah is on a distinguished road
Thanks Mikko, I had missed that in the documentation.
decah 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] Converting gmsh to OpenFoam Friendly OpenFOAM Meshing & Mesh Conversion 3 June 26, 2018 05:46
[Gmsh] Insatlling gmsh from the source code-issue? CFD-Lover OpenFOAM Meshing & Mesh Conversion 20 June 12, 2018 06:39
[Gmsh] Cgns support for gmsh robyTKD OpenFOAM Meshing & Mesh Conversion 1 July 13, 2016 11:27
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 10:56


All times are GMT -4. The time now is 18:42.