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

A question about patches

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 16, 2013, 11:55
Default A question about patches
  #1
Senior Member
 
Bobi
Join Date: Oct 2012
Posts: 281
Rep Power: 5
babakflame is on a distinguished road
Greetings all

I am trying to make a 3D mesh with blockMesh utility. I have found an example of cylinder mesh in this subforum. I have a question about patches.

The example mesh is as follows:

Code:
   vertices
   (
    ( 1.25 0.0  1.25) // Vertex fiveoclocksqb = 0 
    (-1.25 0.0  1.25) // Vertex sevenoclocksqb = 1 
    (-1.25 0.0 -1.25) // Vertex elevenoclocksqb = 2 
    ( 1.25 0.0 -1.25) // Vertex oneoclocksqb = 3 
   
    ( 1.76776695455285 0.0  1.76776695137989) // Vertex fiveoclockcb = 4 
    (-1.76776695455285 0.0  1.76776695137989) // Vertex sevenoclockcb = 5 
    (-1.76776695455285 0.0 -1.76776695137989) // Vertex elevenoclockcb = 6 
    ( 1.76776695455285 0.0 -1.76776695137989) // Vertex oneoclockcb = 7 

    ( 1.25 100  1.25) // Vertex fiveoclocksqt = 8 
    (-1.25 100  1.25) // Vertex sevenoclocksqt = 9 
    (-1.25 100 -1.25) // Vertex elevenoclocksqt = 10 
    ( 1.25 100 -1.25) // Vertex oneoclocksqt = 11 
   
    ( 1.76776695455285 100  1.76776695137989) // Vertex fiveoclockct = 12 
    (-1.76776695455285 100  1.76776695137989) // Vertex sevenoclockct = 13 
    (-1.76776695455285 100 -1.76776695137989) // Vertex elevenoclockct = 14 
    ( 1.76776695455285 100 -1.76776695137989) // Vertex oneoclockct = 15 
   );                

   blocks
   (
    //square block
    hex (1 0 3 2 9 8 11 10) (3 3 10) simpleGrading (1 1 1)

    //slice1
    hex (5 4 0 1 13 12 8 9) (3 3 10) simpleGrading (1 1 1)

    //slice2
    hex (1 2 6 5 9 10 14 13)  (3 3 10)simpleGrading (1 1 1)

    );


   //create the quarter circles
   edges
   (
    arc 4 5 (0.0 0.0 2.5)
    arc 5 6 (-2.5 0.0 0.0)
    arc 6 7 (0.0 0.0 -2.5)
    arc 7 4 (2.5 0.0 0.0)

   );

   patches
   (
    patch outlet
    (
     (2 4(0 3 2 1))
     (2 4(0 4 7 3))
     (2 4(4 0 1 5))
     (2 4(1 2 6 5))
     (2 4(3 7 6 2))
    )
My question is what are these 2 and 4 before (0 3 2 1) in the outlet patch?

(2 4(0 3 2 1))

these 2 and 4 have been repeated for all other patches?


Regards
Bobi

Last edited by babakflame; December 12, 2013 at 04:16.
babakflame 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
decomposePar of directMapped Patches with metis chegdan OpenFOAM Mesh Utilities 6 November 2, 2012 06:48
faceAgglomerate for viewFactor radiation with non-manifold patches mirx OpenFOAM Pre-Processing 0 September 14, 2012 05:29
Got a question on finding the boundary value with a known boundary face label frankyux OpenFOAM 1 September 14, 2011 14:26
Changing patches vs changing mesh for multiple cases Greg Givogue OpenFOAM Running, Solving & CFD 0 March 7, 2011 17:37
internal field question - PitzDaily Case atareen64 OpenFOAM Running, Solving & CFD 2 January 26, 2011 16:26


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