# How to generate this kind of grid with slope bottom

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

January 17, 2011, 05:43
How to generate this kind of grid with slope bottom
#1
Senior Member

Hua Zen
Join Date: Mar 2009
Posts: 126
Rep Power: 10
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
 grid_of.png (11.6 KB, 33 views)

 January 17, 2011, 10:40 #2 Member   Usit McCarra Join Date: Oct 2010 Posts: 51 Blog Entries: 2 Rep Power: 9 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.

 January 17, 2011, 23:23 #3 Senior Member   Hua Zen Join Date: Mar 2009 Posts: 126 Rep Power: 10 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.

 January 18, 2011, 05:56 #4 Member   Usit McCarra Join Date: Oct 2010 Posts: 51 Blog Entries: 2 Rep Power: 9 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!

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post jdkummer OpenFOAM Meshing & Mesh Conversion 10 April 12, 2014 23:07 albcem OpenFOAM 0 May 5, 2009 14:17 Marco FLOW-3D 5 March 5, 2009 07:21 goni Main CFD Forum 0 September 24, 2007 06:40 rcpoudel OpenFOAM Pre-Processing 1 May 22, 2006 13:41

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