|
[Sponsors] |
November 16, 2013, 10:55 |
A question about patches
|
#1 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15 |
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)) ) (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 03:16. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with periodically repeated partially overlapping patches / nested cyclicACMI | Nysander | OpenFOAM Running, Solving & CFD | 1 | October 10, 2017 10:01 |
OF ext-3.2 new createPatch cyclics issue | Jack001 | OpenFOAM Pre-Processing | 0 | May 26, 2016 14:43 |
Possible bug with stitchMesh and cyclics in OpenFoam | Jack001 | OpenFOAM Pre-Processing | 0 | May 21, 2016 08:00 |
wrong calculation of wallHeatFlux utility in solid patches | zfaraday | OpenFOAM Post-Processing | 6 | January 12, 2016 16:39 |
About the createPatchDict | flotran | Main CFD Forum | 0 | December 7, 2011 11:31 |