CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] A question about patches (https://www.cfd-online.com/Forums/openfoam-meshing/126405-question-about-patches.html)

babakflame November 16, 2013 10:55

A question about patches
 
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


All times are GMT -4. The time now is 13:53.