Backported rhoPorousMRFPimpleFoam, rhoPorousSimpleFoam, rhoSimpleFoam, rhoSonicFoam...
[foam-extend-4.0.git] / tutorials / compressible / rhoPorousMRFPimpleFoam / mixerVessel2D / constant / polyMesh / blockMeshDict
blob9664dc64d86d9326cf53a5c72749261f4773f5d2
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
3 | \\      /  F ield         | foam-extend: Open Source CFD                    |
4 |  \\    /   O peration     | Version:     3.2                                |
5 |   \\  /    A nd           | Web:         http://www.foam-extend.org         |
6 |    \\/     M anipulation  |                                                 |
7 \*---------------------------------------------------------------------------*/
8 FoamFile
10     version     2.0;
11     format      ;
12     class       dictionary;
13     object      blockMeshDict;
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16 // General macros to create 2D/extruded-2D meshes
29 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
31 convertToMeters 0.1;
33 // Hub radius
36 // Impeller-tip radius
39 // Baffle-tip radius
42 // Tank radius
45 // MRF region radius
48 // Thickness of 2D slab
51 // Base z
54 // Top z
57 // Number of cells radially between hub and impeller tip
60 // Number of cells radially in each of the two regions between
61 // impeller and baffle tips
64 // Number of cells radially between baffle tip and tank
67 // Number of cells azimuthally in each of the 8 blocks
70 // Number of cells in the thickness of the slab
73 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
312 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
314 vertices
316     (0.2 0 0) // Vertex r0b = 0 
317     (0.2 0 0) // Vertex r0sb = 1 
318     (0.141421356364228 -0.141421356110391 0) // Vertex r1b = 2 
319     (3.58979347393082e-10 -0.2 0) // Vertex r2b = 3 
320     (3.58979347393082e-10 -0.2 0) // Vertex r2sb = 4 
321     (-0.141421355856554 -0.141421356618065 0) // Vertex r3b = 5 
322     (-0.2 7.17958694786164e-10 0) // Vertex r4b = 6 
323     (-0.2 7.17958694786164e-10 0) // Vertex r4sb = 7 
324     (-0.141421355856554 0.141421356618065 0) // Vertex r5b = 8 
325     (3.58979347393082e-10 0.2 0) // Vertex r6b = 9 
326     (3.58979347393082e-10 0.2 0) // Vertex r6sb = 10 
327     (0.141421356364228 0.141421356110391 0) // Vertex r7b = 11 
329     (0.5 0 0) // Vertex rb0b = 12 
330     (0.353553390910569 -0.353553390275978 0) // Vertex rb1b = 13 
331     (8.97448368482705e-10 -0.5 0) // Vertex rb2b = 14 
332     (-0.353553389641386 -0.353553391545162 0) // Vertex rb3b = 15 
333     (-0.5 1.79489673696541e-09 0) // Vertex rb4b = 16 
334     (-0.353553389641386 0.353553391545162 0) // Vertex rb5b = 17 
335     (8.97448368482705e-10 0.5 0) // Vertex rb6b = 18 
336     (0.353553390910569 0.353553390275978 0) // Vertex rb7b = 19 
338     (0.6 0 0) // Vertex ri0b = 20 
339     (0.424264069092683 -0.424264068331174 0) // Vertex ri1b = 21 
340     (1.07693804217925e-09 -0.6 0) // Vertex ri2b = 22 
341     (-0.424264067569663 -0.424264069854194 0) // Vertex ri3b = 23 
342     (-0.6 2.15387608435849e-09 0) // Vertex ri4b = 24 
343     (-0.424264067569663 0.424264069854194 0) // Vertex ri5b = 25 
344     (1.07693804217925e-09 0.6 0) // Vertex ri6b = 26 
345     (0.424264069092683 0.424264068331174 0) // Vertex ri7b = 27 
347     (0.7 0 0) // Vertex Rb0b = 28 
348     (0.494974747274797 -0.494974746386369 0) // Vertex Rb1b = 29 
349     (1.25642771587579e-09 -0.7 0) // Vertex Rb2b = 30 
350     (-0.49497474549794 -0.494974748163226 0) // Vertex Rb3b = 31 
351     (-0.7 2.51285543175157e-09 0) // Vertex Rb4b = 32 
352     (-0.49497474549794 0.494974748163226 0) // Vertex Rb5b = 33 
353     (1.25642771587579e-09 0.7 0) // Vertex Rb6b = 34 
354     (0.494974747274797 0.494974746386369 0) // Vertex Rb7b = 35 
356     (1 0 0) // Vertex R0b = 36 
357     (0.707106781821139 -0.707106780551956 0) // Vertex R1b = 37 
358     (0.707106781821139 -0.707106780551956 0) // Vertex R1sb = 38 
359     (1.79489673696541e-09 -1 0) // Vertex R2b = 39 
360     (-0.707106779282772 -0.707106783090323 0) // Vertex R3b = 40 
361     (-0.707106779282772 -0.707106783090323 0) // Vertex R3sb = 41 
362     (-1 3.58979347393082e-09 0) // Vertex R4b = 42 
363     (-0.707106779282772 0.707106783090323 0) // Vertex R5b = 43 
364     (-0.707106779282772 0.707106783090323 0) // Vertex R5sb = 44 
365     (1.79489673696541e-09 1 0) // Vertex R6b = 45 
366     (0.707106781821139 0.707106780551956 0) // Vertex R7b = 46 
367     (0.707106781821139 0.707106780551956 0) // Vertex R7sb = 47 
369     (0.2 0 0.1) // Vertex r0t = 48 
370     (0.2 0 0.1) // Vertex r0st = 49 
371     (0.141421356364228 -0.141421356110391 0.1) // Vertex r1t = 50 
372     (3.58979347393082e-10 -0.2 0.1) // Vertex r2t = 51 
373     (3.58979347393082e-10 -0.2 0.1) // Vertex r2st = 52 
374     (-0.141421355856554 -0.141421356618065 0.1) // Vertex r3t = 53 
375     (-0.2 7.17958694786164e-10 0.1) // Vertex r4t = 54 
376     (-0.2 7.17958694786164e-10 0.1) // Vertex r4st = 55 
377     (-0.141421355856554 0.141421356618065 0.1) // Vertex r5t = 56 
378     (3.58979347393082e-10 0.2 0.1) // Vertex r6t = 57 
379     (3.58979347393082e-10 0.2 0.1) // Vertex r6st = 58 
380     (0.141421356364228 0.141421356110391 0.1) // Vertex r7t = 59 
382     (0.5 0 0.1) // Vertex rb0t = 60 
383     (0.353553390910569 -0.353553390275978 0.1) // Vertex rb1t = 61 
384     (8.97448368482705e-10 -0.5 0.1) // Vertex rb2t = 62 
385     (-0.353553389641386 -0.353553391545162 0.1) // Vertex rb3t = 63 
386     (-0.5 1.79489673696541e-09 0.1) // Vertex rb4t = 64 
387     (-0.353553389641386 0.353553391545162 0.1) // Vertex rb5t = 65 
388     (8.97448368482705e-10 0.5 0.1) // Vertex rb6t = 66 
389     (0.353553390910569 0.353553390275978 0.1) // Vertex rb7t = 67 
391     (0.6 0 0.1) // Vertex ri0t = 68 
392     (0.424264069092683 -0.424264068331174 0.1) // Vertex ri1t = 69 
393     (1.07693804217925e-09 -0.6 0.1) // Vertex ri2t = 70 
394     (-0.424264067569663 -0.424264069854194 0.1) // Vertex ri3t = 71 
395     (-0.6 2.15387608435849e-09 0.1) // Vertex ri4t = 72 
396     (-0.424264067569663 0.424264069854194 0.1) // Vertex ri5t = 73 
397     (1.07693804217925e-09 0.6 0.1) // Vertex ri6t = 74 
398     (0.424264069092683 0.424264068331174 0.1) // Vertex ri7t = 75 
400     (0.7 0 0.1) // Vertex Rb0t = 76 
401     (0.494974747274797 -0.494974746386369 0.1) // Vertex Rb1t = 77 
402     (1.25642771587579e-09 -0.7 0.1) // Vertex Rb2t = 78 
403     (-0.49497474549794 -0.494974748163226 0.1) // Vertex Rb3t = 79 
404     (-0.7 2.51285543175157e-09 0.1) // Vertex Rb4t = 80 
405     (-0.49497474549794 0.494974748163226 0.1) // Vertex Rb5t = 81 
406     (1.25642771587579e-09 0.7 0.1) // Vertex Rb6t = 82 
407     (0.494974747274797 0.494974746386369 0.1) // Vertex Rb7t = 83 
409     (1 0 0.1) // Vertex R0t = 84 
410     (0.707106781821139 -0.707106780551956 0.1) // Vertex R1t = 85 
411     (0.707106781821139 -0.707106780551956 0.1) // Vertex R1st = 86 
412     (1.79489673696541e-09 -1 0.1) // Vertex R2t = 87 
413     (-0.707106779282772 -0.707106783090323 0.1) // Vertex R3t = 88 
414     (-0.707106779282772 -0.707106783090323 0.1) // Vertex R3st = 89 
415     (-1 3.58979347393082e-09 0.1) // Vertex R4t = 90 
416     (-0.707106779282772 0.707106783090323 0.1) // Vertex R5t = 91 
417     (-0.707106779282772 0.707106783090323 0.1) // Vertex R5st = 92 
418     (1.79489673696541e-09 1 0.1) // Vertex R6t = 93 
419     (0.707106781821139 0.707106780551956 0.1) // Vertex R7t = 94 
420     (0.707106781821139 0.707106780551956 0.1) // Vertex R7st = 95 
423 blocks
425     // block0
426     hex (0 2 13 12 48 50 61 60)
427     rotor
428     (12 12 1)
429     simpleGrading (1 1 1)
431     // block1
432     hex (2 4 14 13 50 52 62 61)
433     rotor
434     (12 12 1)
435     simpleGrading (1 1 1)
437     // block2
438     hex (3 5 15 14 51 53 63 62)
439     rotor
440     (12 12 1)
441     simpleGrading (1 1 1)
443     // block3
444     hex (5 7 16 15 53 55 64 63)
445     rotor
446     (12 12 1)
447     simpleGrading (1 1 1)
449     // block4
450     hex (6 8 17 16 54 56 65 64)
451     rotor
452     (12 12 1)
453     simpleGrading (1 1 1)
455     // block5
456     hex (8 10 18 17 56 58 66 65)
457     rotor
458     (12 12 1)
459     simpleGrading (1 1 1)
461     // block6
462     hex (9 11 19 18 57 59 67 66)
463     rotor
464     (12 12 1)
465     simpleGrading (1 1 1)
467     // block7
468     hex (11 1 12 19 59 49 60 67)
469     rotor
470     (12 12 1)
471     simpleGrading (1 1 1)
473     // block0
474     hex (12 13 21 20 60 61 69 68)
475     rotor
476     (12 4 1)
477     simpleGrading (1 1 1)
479     // block1
480     hex (13 14 22 21 61 62 70 69)
481     rotor
482     (12 4 1)
483     simpleGrading (1 1 1)
485     // block2
486     hex (14 15 23 22 62 63 71 70)
487     rotor
488     (12 4 1)
489     simpleGrading (1 1 1)
491     // block3
492     hex (15 16 24 23 63 64 72 71)
493     rotor
494     (12 4 1)
495     simpleGrading (1 1 1)
497     // block4
498     hex (16 17 25 24 64 65 73 72)
499     rotor
500     (12 4 1)
501     simpleGrading (1 1 1)
503     // block5
504     hex (17 18 26 25 65 66 74 73)
505     rotor
506     (12 4 1)
507     simpleGrading (1 1 1)
509     // block6
510     hex (18 19 27 26 66 67 75 74)
511     rotor
512     (12 4 1)
513     simpleGrading (1 1 1)
515     // block7
516     hex (19 12 20 27 67 60 68 75)
517     rotor
518     (12 4 1)
519     simpleGrading (1 1 1)
521     // block0
522     hex (20 21 29 28 68 69 77 76)
523     stator
524     (12 4 1)
525     simpleGrading (1 1 1)
527     // block1
528     hex (21 22 30 29 69 70 78 77)
529     stator
530     (12 4 1)
531     simpleGrading (1 1 1)
533     // block2
534     hex (22 23 31 30 70 71 79 78)
535     stator
536     (12 4 1)
537     simpleGrading (1 1 1)
539     // block3
540     hex (23 24 32 31 71 72 80 79)
541     stator
542     (12 4 1)
543     simpleGrading (1 1 1)
545     // block4
546     hex (24 25 33 32 72 73 81 80)
547     stator
548     (12 4 1)
549     simpleGrading (1 1 1)
551     // block5
552     hex (25 26 34 33 73 74 82 81)
553     stator
554     (12 4 1)
555     simpleGrading (1 1 1)
557     // block6
558     hex (26 27 35 34 74 75 83 82)
559     stator
560     (12 4 1)
561     simpleGrading (1 1 1)
563     // block7
564     hex (27 20 28 35 75 68 76 83)
565     stator
566     (12 4 1)
567     simpleGrading (1 1 1)
569     // block0
570     hex (28 29 38 36 76 77 86 84)
571     stator
572     (12 12 1)
573     simpleGrading (1 1 1)
575     // block1
576     hex (29 30 39 37 77 78 87 85)
577     stator
578     (12 12 1)
579     simpleGrading (1 1 1)
581     // block2
582     hex (30 31 41 39 78 79 89 87)
583     stator
584     (12 12 1)
585     simpleGrading (1 1 1)
587     // block3
588     hex (31 32 42 40 79 80 90 88)
589     stator
590     (12 12 1)
591     simpleGrading (1 1 1)
593     // block4
594     hex (32 33 44 42 80 81 92 90)
595     stator
596     (12 12 1)
597     simpleGrading (1 1 1)
599     // block5
600     hex (33 34 45 43 81 82 93 91)
601     stator
602     (12 12 1)
603     simpleGrading (1 1 1)
605     // block6
606     hex (34 35 47 45 82 83 95 93)
607     stator
608     (12 12 1)
609     simpleGrading (1 1 1)
611     // block7
612     hex (35 28 36 46 83 76 84 94)
613     stator
614     (12 12 1)
615     simpleGrading (1 1 1)
618 edges
620     arc 0 2 (0.184775906536601 -0.0765366863901046 0)
621     arc 2 4 (0.0765366867217582 -0.184775906399226 0)
622     arc 3 5 (-0.0765366860584508 -0.184775906673977 0)
623     arc 5 7 (-0.18477590626185 -0.0765366870534118 0)
624     arc 6 8 (-0.18477590626185 0.0765366870534118 0)
625     arc 8 10 (-0.0765366860584508 0.184775906673977 0)
626     arc 9 11 (0.0765366867217582 0.184775906399226 0)
627     arc 11 1 (0.184775906536601 0.0765366863901046 0)
629     arc 12 13 (0.461939766341503 -0.191341715975262 0)
630     arc 13 14 (0.191341716804395 -0.461939765998065 0)
631     arc 14 15 (-0.191341715146127 -0.461939766684942 0)
632     arc 15 16 (-0.461939765654626 -0.19134171763353 0)
633     arc 16 17 (-0.461939765654626 0.19134171763353 0)
634     arc 17 18 (-0.191341715146127 0.461939766684942 0)
635     arc 18 19 (0.191341716804395 0.461939765998065 0)
636     arc 19 12 (0.461939766341503 0.191341715975262 0)
638     arc 20 21 (0.554327719609804 -0.229610059170314 0)
639     arc 21 22 (0.229610060165275 -0.554327719197677 0)
640     arc 22 23 (-0.229610058175352 -0.55432772002193 0)
641     arc 23 24 (-0.554327718785551 -0.229610061160235 0)
642     arc 24 25 (-0.554327718785551 0.229610061160235 0)
643     arc 25 26 (-0.229610058175352 0.55432772002193 0)
644     arc 26 27 (0.229610060165275 0.554327719197677 0)
645     arc 27 20 (0.554327719609804 0.229610059170314 0)
647     arc 28 29 (0.646715672878104 -0.267878402365366 0)
648     arc 29 30 (0.267878403526154 -0.64671567239729 0)
649     arc 30 31 (-0.267878401204578 -0.646715673358918 0)
650     arc 31 32 (-0.646715671916476 -0.267878404686941 0)
651     arc 32 33 (-0.646715671916476 0.267878404686941 0)
652     arc 33 34 (-0.267878401204578 0.646715673358918 0)
653     arc 34 35 (0.267878403526154 0.64671567239729 0)
654     arc 35 28 (0.646715672878104 0.267878402365366 0)
656     arc 36 38 (0.923879532683006 -0.382683431950523 0)
657     arc 37 39 (0.382683433608791 -0.923879531996129 0)
658     arc 39 41 (-0.382683430292254 -0.923879533369883 0)
659     arc 40 42 (-0.923879531309252 -0.382683435267059 0)
660     arc 42 44 (-0.923879531309252 0.382683435267059 0)
661     arc 43 45 (-0.382683430292254 0.923879533369883 0)
662     arc 45 47 (0.382683433608791 0.923879531996129 0)
663     arc 46 36 (0.923879532683006 0.382683431950523 0)
665     arc 48 50 (0.184775906536601 -0.0765366863901046 0.1)
666     arc 50 52 (0.0765366867217582 -0.184775906399226 0.1)
667     arc 51 53 (-0.0765366860584508 -0.184775906673977 0.1)
668     arc 53 55 (-0.18477590626185 -0.0765366870534118 0.1)
669     arc 54 56 (-0.18477590626185 0.0765366870534118 0.1)
670     arc 56 58 (-0.0765366860584508 0.184775906673977 0.1)
671     arc 57 59 (0.0765366867217582 0.184775906399226 0.1)
672     arc 59 49 (0.184775906536601 0.0765366863901046 0.1)
674     arc 60 61 (0.461939766341503 -0.191341715975262 0.1)
675     arc 61 62 (0.191341716804395 -0.461939765998065 0.1)
676     arc 62 63 (-0.191341715146127 -0.461939766684942 0.1)
677     arc 63 64 (-0.461939765654626 -0.19134171763353 0.1)
678     arc 64 65 (-0.461939765654626 0.19134171763353 0.1)
679     arc 65 66 (-0.191341715146127 0.461939766684942 0.1)
680     arc 66 67 (0.191341716804395 0.461939765998065 0.1)
681     arc 67 60 (0.461939766341503 0.191341715975262 0.1)
683     arc 68 69 (0.554327719609804 -0.229610059170314 0.1)
684     arc 69 70 (0.229610060165275 -0.554327719197677 0.1)
685     arc 70 71 (-0.229610058175352 -0.55432772002193 0.1)
686     arc 71 72 (-0.554327718785551 -0.229610061160235 0.1)
687     arc 72 73 (-0.554327718785551 0.229610061160235 0.1)
688     arc 73 74 (-0.229610058175352 0.55432772002193 0.1)
689     arc 74 75 (0.229610060165275 0.554327719197677 0.1)
690     arc 75 68 (0.554327719609804 0.229610059170314 0.1)
692     arc 76 77 (0.646715672878104 -0.267878402365366 0.1)
693     arc 77 78 (0.267878403526154 -0.64671567239729 0.1)
694     arc 78 79 (-0.267878401204578 -0.646715673358918 0.1)
695     arc 79 80 (-0.646715671916476 -0.267878404686941 0.1)
696     arc 80 81 (-0.646715671916476 0.267878404686941 0.1)
697     arc 81 82 (-0.267878401204578 0.646715673358918 0.1)
698     arc 82 83 (0.267878403526154 0.64671567239729 0.1)
699     arc 83 76 (0.646715672878104 0.267878402365366 0.1)
701     arc 84 86 (0.923879532683006 -0.382683431950523 0.1)
702     arc 85 87 (0.382683433608791 -0.923879531996129 0.1)
703     arc 87 89 (-0.382683430292254 -0.923879533369883 0.1)
704     arc 88 90 (-0.923879531309252 -0.382683435267059 0.1)
705     arc 90 92 (-0.923879531309252 0.382683435267059 0.1)
706     arc 91 93 (-0.382683430292254 0.923879533369883 0.1)
707     arc 93 95 (0.382683433608791 0.923879531996129 0.1)
708     arc 94 84 (0.923879532683006 0.382683431950523 0.1)
711 boundary
713     rotor
714     {
715         type wall;
716         faces
717         (
718             (0 2 50 48)
719             (2 4 52 50)
720             (3 5 53 51)
721             (5 7 55 53)
722             (6 8 56 54)
723             (8 10 58 56)
724             (9 11 59 57)
725             (11 1 49 59)
727             (0 12 60 48)
728             (1 12 60 49)
730             (3 14 62 51)
731             (4 14 62 52)
733             (6 16 64 54)
734             (7 16 64 55)
736             (9 18 66 57)
737             (10 18 66 58)
738         );
739     }
741     stator
742     {
743         type wall;
744         faces
745         (
746             (36 38 86 84)
747             (37 39 87 85)
748             (39 41 89 87)
749             (40 42 90 88)
750             (42 44 92 90)
751             (43 45 93 91)
752             (45 47 95 93)
753             (46 36 84 94)
755             (37 29 77 85)
756             (38 29 77 86)
758             (40 31 79 88)
759             (41 31 79 89)
761             (43 33 81 91)
762             (44 33 81 92)
764             (46 35 83 94)
765             (47 35 83 95)
766         );
767     }
769     front
770     {
771         type empty;
772         faces
773         (
774             (48 50 61 60)
775             (50 52 62 61)
776             (51 53 63 62)
777             (53 55 64 63)
778             (54 56 65 64)
779             (56 58 66 65)
780             (57 59 67 66)
781             (59 49 60 67)
782             (60 61 69 68)
783             (61 62 70 69)
784             (62 63 71 70)
785             (63 64 72 71)
786             (64 65 73 72)
787             (65 66 74 73)
788             (66 67 75 74)
789             (67 60 68 75)
790             (68 69 77 76)
791             (69 70 78 77)
792             (70 71 79 78)
793             (71 72 80 79)
794             (72 73 81 80)
795             (73 74 82 81)
796             (74 75 83 82)
797             (75 68 76 83)
798             (76 77 86 84)
799             (77 78 87 85)
800             (78 79 89 87)
801             (79 80 90 88)
802             (80 81 92 90)
803             (81 82 93 91)
804             (82 83 95 93)
805             (83 76 84 94)
806         );
807     }
809     back
810     {
811         type empty;
812         faces
813         (
814             (0 12 13 2)
815             (2 13 14 4)
816             (3 14 15 5)
817             (5 15 16 7)
818             (6 16 17 8)
819             (8 17 18 10)
820             (9 18 19 11)
821             (11 19 12 1)
822             (12 20 21 13)
823             (13 21 22 14)
824             (14 22 23 15)
825             (15 23 24 16)
826             (16 24 25 17)
827             (17 25 26 18)
828             (18 26 27 19)
829             (19 27 20 12)
830             (20 28 29 21)
831             (21 29 30 22)
832             (22 30 31 23)
833             (23 31 32 24)
834             (24 32 33 25)
835             (25 33 34 26)
836             (26 34 35 27)
837             (27 35 28 20)
838             (28 36 38 29)
839             (29 37 39 30)
840             (30 39 41 31)
841             (31 40 42 32)
842             (32 42 44 33)
843             (33 43 45 34)
844             (34 45 47 35)
845             (35 46 36 28)
846         );
847     }
850 // ************************************************************************* //