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

[blockMesh] How to generate this kind of grid with slope bottom

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 17, 2011, 04:43
Default How to generate this kind of grid with slope bottom
  #1
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
Hi , OF community, I want to generate a grid with a slope, please see the figure attached. I just want to know whether there is an easy way to generate it?


Now my plan is to divide the vertical layers into 4 parts, and then divide each part into a triangle grid and the rectangular one, and use blockMesh to generate it.

The problem is that, as the number of vertical layers increases, the work is quite tedious and easy to make a mistake.


I wonder if anyone has a better idea?
Attached Images
File Type: png grid_of.png (11.6 KB, 71 views)
lin is offline   Reply With Quote

Old   January 17, 2011, 09:40
Default
  #2
Member
 
Usit McCarra
Join Date: Oct 2010
Posts: 51
Blog Entries: 2
Rep Power: 15
McCarra is on a distinguished road
Define two blocks using blockMesh. One block for the triangular part and the other for the rectangle.

To define the rectangular block use hex.
To define the triangular block use wedge. See http://www.openfoam.com/docs/user/me...23-1270005.1.1 (at the bottom) to know how vertices are numbered.
McCarra is offline   Reply With Quote

Old   January 17, 2011, 22:23
Default
  #3
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
Thanks ,McCarra
I will try this method. But still I'm not sure whether this is ok. Since the points at the slope edge should be connected to the points at both the upper and the right edge at the sametime. I will report back later.
lin is offline   Reply With Quote

Old   January 18, 2011, 04:56
Default
  #4
Member
 
Usit McCarra
Join Date: Oct 2010
Posts: 51
Blog Entries: 2
Rep Power: 15
McCarra is on a distinguished road
I understand. The thing is not that easy I think.

I don't know how to keep the mesh in the triangular block vertical and horizontal as it is in the rectangular block.

Good luck and keep us informed!
McCarra 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
How did I set two kind of slope in channel ? Marco FLOW-3D 9 August 30, 2022 08:07
To generate grid for Fastest-3D by ICEM/CFD goni Main CFD Forum 0 September 24, 2007 06:40
How to generate BFC grid? zczhang Phoenics 2 December 17, 2002 09:00
Combustion Convergence problems Art Stretton Phoenics 5 April 2, 2002 05:59
How to generate the grid for a 3d object? ben Phoenics 3 March 20, 2002 16:30


All times are GMT -4. The time now is 11:22.