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

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

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

Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
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, 73 views)

 January 17, 2011, 09:40 #2 Member   Usit McCarra Join Date: Oct 2010 Posts: 51 Blog Entries: 2 Rep Power: 15 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, 22:23 #3 Senior Member   Hua Zen Join Date: Mar 2009 Posts: 138 Rep Power: 17 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, 04:56 #4 Member   Usit McCarra Join Date: Oct 2010 Posts: 51 Blog Entries: 2 Rep Power: 15 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 Search this Thread Search this Thread: Advanced Search 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 Off Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Marco FLOW-3D 9 August 30, 2022 08:07 goni Main CFD Forum 0 September 24, 2007 06:40 zczhang Phoenics 2 December 17, 2002 09:00 Art Stretton Phoenics 5 April 2, 2002 05:59 ben Phoenics 3 March 20, 2002 16:30

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

 Contact Us - CFD Online - Privacy Statement - Top