1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934
|
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
scale 0.001;
changecom(//)changequote([,])
define(calc, [esyscmd(perl -e 'printf ($1)')])
define(VCOUNT, 0)
define(vlabel, [[// ]Vertex $1 = VCOUNT define($1, VCOUNT)define([VCOUNT], incr(VCOUNT))])
define(Dt, 220)
define(DdDt, 0.33)
define(HtDt, 3)
define(PI, 3.14159265)
define(Dd, calc(Dt * DdDt))
define(Ht, calc(HtDt * Dt))
define(psB, calc(Ht/10.0))
define(psH, calc(psB * 1.5))
define(Hl, calc(Ht-psH-psB))
define(Hl2, calc((Hl/2.0)+psB))
define(Hl3, calc(Hl+psB))
define(eDd, calc(Dt/100))
define(Rd, calc(Dd/2))
define(Rd2, calc(Dd/4))
define(Rd3, calc(Rd + eDd))
define(Rt, calc(Dt/2))
define(qRt, calc(Rt * 0.75))
define(cx, calc(Rd2*cos((PI/180)*45)))
define(cy, calc(Rd2*sin((PI/180)*45)))
define(ccx, calc(Rd*cos((PI/180)*45)))
define(ccy, calc(Rd*sin((PI/180)*45)))
define(ecx, calc(Rd3*cos((PI/180)*45)))
define(ecy, calc(Rd3*sin((PI/180)*45)))
define(tcx, calc(Rt*cos((PI/180)*45)))
define(tcy, calc(Rt*sin((PI/180)*45)))
define(qcx, calc(Rt*0.75*cos((PI/180)*45)))
define(qcy, calc(Rt*0.75*sin((PI/180)*45)))
define(NPS, 7) //square section
define(NPS1, 25)
define(NPS2, 5) //vertical in the lower cylinder
define(NPS3, 10) //vertical in the upper cylindre
define(NPD, 8) //square section to perimeter
define(NPC, 1) //center
define(NPE, 8) //external
vertices
(
( -cx -cy 0.0)
( cx -cy 0.0)
( cx cy 0.0)
( -cx cy 0.0)
( -cx -cy psB)
( cx -cy psB)
( cx cy psB)
( -cx cy psB)
( ccx -ccy 0.0)
( ccx ccy 0.0)
( ccx -ccy psB)
( ccx ccy psB)
( -ccx -ccy 0.0)
( -ccx ccy 0.0)
( -ccx -ccy psB)
( -ccx ccy psB)
( ecx -ecy 0.0) //16
( ecx ecy 0.0)
( ecx -ecy psB)
( ecx ecy psB)
( -ecx -ecy 0.0)
( -ecx ecy 0.0)
( -ecx -ecy psB)
( -ecx ecy psB)
( qcx -qcy 0.0) //24
( qcx qcy 0.0)
( qcx -qcy psB)
( qcx qcy psB)
( -qcx -qcy 0.0)
( -qcx qcy 0.0)
( -qcx -qcy psB)
( -qcx qcy psB)
( tcx -tcy 0.0) //32
( tcx tcy 0.0)
( tcx -tcy psB)
( tcx tcy psB)
( -tcx -tcy 0.0)
( -tcx tcy 0.0)
( -tcx -tcy psB)
( -tcx tcy psB)
( qcx -qcy Hl2) //40
( qcx qcy Hl2)
( -qcx -qcy Hl2)
( -qcx qcy Hl2)
( tcx -tcy Hl2) //44
( tcx tcy Hl2)
( -tcx -tcy Hl2)
( -tcx tcy Hl2)
( ecx -ecy Hl2) //48
( ecx ecy Hl2)
( -ecx -ecy Hl2)
( -ecx ecy Hl2)
( -cx -cy Hl2) //52
( cx -cy Hl2)
( cx cy Hl2)
( -cx cy Hl2)
( ccx -ccy Hl2) //56
( ccx ccy Hl2)
( -ccx -ccy Hl2)
( -ccx ccy Hl2)
( -cx -cy Hl3) //60
( cx -cy Hl3)
( cx cy Hl3)
( -cx cy Hl3)
( ccx -ccy Hl3) //64
( ccx ccy Hl3)
( -ccx -ccy Hl3)
( -ccx ccy Hl3)
( qcx -qcy Hl3) //68
( qcx qcy Hl3)
( -qcx -qcy Hl3)
( -qcx qcy Hl3)
( ecx -ecy Hl3) //72
( ecx ecy Hl3)
( -ecx -ecy Hl3)
( -ecx ecy Hl3)
( tcx -tcy Hl3) //76
( tcx tcy Hl3)
( -tcx -tcy Hl3)
( -tcx tcy Hl3)
( -cx -cy Ht) //80
( cx -cy Ht)
( cx cy Ht)
( -cx cy Ht)
( ccx -ccy Ht) //84
( ccx ccy Ht)
( -ccx -ccy Ht)
( -ccx ccy Ht)
( qcx -qcy Ht) //88
( qcx qcy Ht)
( -qcx -qcy Ht)
( -qcx qcy Ht)
( ecx -ecy Ht) //92
( ecx ecy Ht)
( -ecx -ecy Ht)
( -ecx ecy Ht)
( tcx -tcy Ht) //96
( tcx tcy Ht)
( -tcx -tcy Ht)
( -tcx tcy Ht)
);
blocks
(
hex
(
0 1 2 3
4 5 6 7
)
(NPS NPS NPS2)
simpleGrading (1 1 1)
//quartier est
hex
(
1 8 9 2
5 10 11 6
)
(NPD NPS NPS2)
simpleGrading (0.9 1 1)
//quartier ouest
hex
(
3 13 12 0
7 15 14 4
)
(NPD NPS NPS2)
simpleGrading (0.9 1 1)
//quartier sud
hex
(
0 12 8 1
4 14 10 5
)
(NPD NPS NPS2)
simpleGrading (0.9 1 1)
//quartier nord
hex
(
2 9 13 3
6 11 15 7
)
(NPD NPS NPS2)
simpleGrading (0.9 1 1)
// **************************************
// Fabrication couronne inférieure 4 et 5
//ceinture est
hex
(
8 16 17 9
10 18 19 11
)
(NPC NPS NPS2)
simpleGrading (1 1 1)
//ceinture ouest
hex
(
13 21 20 12
15 23 22 14
)
(NPC NPS NPS2)
simpleGrading (1 1 1)
//ceinture sud
hex
(
12 20 16 8
14 22 18 10
)
(NPC NPS NPS2)
simpleGrading (1 1 1)
//ceinture nord
hex
(
9 17 21 13
11 19 23 15
)
(NPC NPS NPS2)
simpleGrading (1 1 1)
// Couronne inférieure externe
//mi-couronne est
hex
(
16 24 25 17
18 26 27 19
)
(NPE NPS NPS2)
simpleGrading (1.1 1 1)
//mi-couronne ouest
hex
(
21 29 28 20
23 31 30 22
)
(NPE NPS NPS2)
simpleGrading (1.1 1 1)
//mi-couronne sud
hex
(
20 28 24 16
22 30 26 18
)
(NPE NPS NPS2)
simpleGrading (1.1 1 1)
//mi-couronne nord
hex
(
17 25 29 21
19 27 31 23
)
(NPE NPS NPS2)
simpleGrading (1.1 1 1)
//mi-couronne est2
hex
(
24 32 33 25
26 34 35 27
)
(NPE NPS NPS2)
simpleGrading (0.9 1 1)
//mi-couronne ouest2
hex
(
29 37 36 28
31 39 38 30
)
(NPE NPS NPS2)
simpleGrading (0.9 1 1)
//mi-couronne sud2
hex
(
28 36 32 24
30 38 34 26
)
(NPE NPS NPS2)
simpleGrading (0.9 1 1)
//mi-couronne nord2
hex
(
25 33 37 29
27 35 39 31
)
(NPE NPS NPS2)
simpleGrading (0.9 1 1)
// LongBas
//est
hex
(
18 26 27 19
48 40 41 49
)
(NPE NPS NPS1)
simpleGrading (1.1 1 1)
//ouest
hex
(
23 31 30 22
51 43 42 50
)
(NPE NPS NPS1)
simpleGrading (1.1 1 1)
//sud
hex
(
22 30 26 18
50 42 40 48
)
(NPE NPS NPS1)
simpleGrading (1.1 1 1)
//Nord
hex
(
19 27 31 23
49 41 43 51
)
(NPE NPS NPS1)
simpleGrading (1.1 1 1)
//square
hex
(
4 5 6 7
52 53 54 55
)
(NPS NPS NPS1)
simpleGrading (1 1 1)
// est-in
hex
(
5 10 11 6
53 56 57 54
)
(NPD NPS NPS1)
simpleGrading (0.9 1 1)
// ouest-in
hex
(
7 15 14 4
55 59 58 52
)
(NPD NPS NPS1)
simpleGrading (0.9 1 1)
// sud-in
hex
(
4 14 10 5
52 58 56 53
)
(NPD NPS NPS1)
simpleGrading (0.9 1 1)
// nord-in
hex
(
6 11 15 7
54 57 59 55
)
(NPD NPS NPS1)
simpleGrading (0.9 1 1)
// Couronne exterieure longue
// est
hex
(
26 34 35 27
40 44 45 41
)
(NPE NPS NPS1)
simpleGrading (0.9 1 1)
// ouest
hex
(
31 39 38 30
43 47 46 42
)
(NPE NPS NPS1)
simpleGrading (0.9 1 1)
// sud
hex
(
30 38 34 26
42 46 44 40
)
(NPE NPS NPS1)
simpleGrading (0.9 1 1)
// nord
hex
(
27 35 39 31
41 45 47 43
)
(NPE NPS NPS1)
simpleGrading (0.9 1 1)
// longHaut
//square
hex
(
52 53 54 55
60 61 62 63
)
(NPS NPS NPS1)
simpleGrading (1 1 1)
// est-in
hex
(
53 56 57 54
61 64 65 62
)
(NPD NPS NPS1)
simpleGrading (0.9 1 1)
// ouest-in
hex
(
55 59 58 52
63 67 66 60
)
(NPD NPS NPS1)
simpleGrading (0.9 1 1)
// sud-in
hex
(
52 58 56 53
60 66 64 61
)
(NPD NPS NPS1)
simpleGrading (0.9 1 1)
// nord-in
hex
(
54 57 59 55
62 65 67 63
)
(NPD NPS NPS1)
simpleGrading (0.9 1 1)
//est
hex
(
48 40 41 49
72 68 69 73
)
(NPE NPS NPS1)
simpleGrading (1.1 1 1)
//ouest
hex
(
51 43 42 50
75 71 70 74
)
(NPE NPS NPS1)
simpleGrading (1.1 1 1)
//sud
hex
(
50 42 40 48
74 70 68 72
)
(NPE NPS NPS1)
simpleGrading (1.1 1 1)
//Nord
hex
(
49 41 43 51
73 69 71 75
)
(NPE NPS NPS1)
simpleGrading (1.1 1 1)
// couronne externe haute
// est
hex
(
40 44 45 41
68 76 77 69
)
(NPE NPS NPS1)
simpleGrading (0.9 1 1)
// ouest
hex
(
43 47 46 42
71 79 78 70
)
(NPE NPS NPS1)
simpleGrading (0.9 1 1)
// sud
hex
(
42 46 44 40
70 78 76 68
)
(NPE NPS NPS1)
simpleGrading (0.9 1 1)
// nord
hex
(
41 45 47 43
69 77 79 71
)
(NPE NPS NPS1)
simpleGrading (0.9 1 1)
// Bloc supérieur
//square
hex
(
60 61 62 63
80 81 82 83
)
(NPS NPS NPS3)
simpleGrading (1 1 1)
// est-in
hex
(
61 64 65 62
81 84 85 82
)
(NPD NPS NPS3)
simpleGrading (0.9 1 1)
// ouest-in
hex
(
63 67 66 60
83 87 86 80
)
(NPD NPS NPS3)
simpleGrading (0.9 1 1)
// sud-in
hex
(
60 66 64 61
80 86 84 81
)
(NPD NPS NPS3)
simpleGrading (0.9 1 1)
// nord-in
hex
(
62 65 67 63
82 85 87 83
)
(NPD NPS NPS3)
simpleGrading (0.9 1 1)
// Fabrication couronne supérieure 6 et 7
//ceinture est
hex
(
64 72 73 65
84 92 93 85
)
(NPC NPS NPS3)
simpleGrading (1 1 1)
//ceinture ouest
hex
(
67 75 74 66
87 95 94 86
)
(NPC NPS NPS3)
simpleGrading (1 1 1)
//ceinture sud
hex
(
66 74 72 64
86 94 92 84
)
(NPC NPS NPS3)
simpleGrading (1 1 1)
//ceinture nord
hex
(
65 73 75 67
85 93 95 87
)
(NPC NPS NPS3)
simpleGrading (1 1 1)
//est
hex
(
72 68 69 73
92 88 89 93
)
(NPE NPS NPS3)
simpleGrading (1.1 1 1)
//ouest
hex
(
75 71 70 74
95 91 90 94
)
(NPE NPS NPS3)
simpleGrading (1.1 1 1)
//sud
hex
(
74 70 68 72
94 90 88 92
)
(NPE NPS NPS3)
simpleGrading (1.1 1 1)
//Nord
hex
(
73 69 71 75
93 89 91 95
)
(NPE NPS NPS3)
simpleGrading (1.1 1 1)
// couronne externe
// est
hex
(
68 76 77 69
88 96 97 89
)
(NPE NPS NPS3)
simpleGrading (0.9 1 1)
// ouest
hex
(
71 79 78 70
91 99 98 90
)
(NPE NPS NPS3)
simpleGrading (0.9 1 1)
// sud
hex
(
70 78 76 68
90 98 96 88
)
(NPE NPS NPS3)
simpleGrading (0.9 1 1)
// nord
hex
(
69 77 79 71
89 97 99 91
)
(NPE NPS NPS3)
simpleGrading (0.9 1 1)
);
edges
(
arc 8 9 (Rd 0.0 0.0)
arc 10 11 (Rd 0.0 psB)
arc 13 12 (-Rd 0.0 0.0)
arc 15 14 (-Rd 0.0 psB)
arc 12 8 (0.0 -Rd 0.0)
arc 14 10 (0.0 -Rd psB)
arc 9 13 (0.0 Rd 0.0)
arc 11 15 (0.0 Rd psB)
arc 16 17 (Rd3 0.0 0.0)
arc 18 19 (Rd3 0.0 psB)
arc 21 20 (-Rd3 0.0 0.0)
arc 23 22 (-Rd3 0.0 psB)
arc 20 16 (0.0 -Rd3 0.0)
arc 22 18 (0.0 -Rd3 psB)
arc 17 21 (0.0 Rd3 0.0)
arc 19 23 (0.0 Rd3 psB)
arc 24 25 (qRt 0.0 0.0)
arc 26 27 (qRt 0.0 psB)
arc 28 29 (-qRt 0.0 0.0)
arc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)
arc 84 86 (0.0 -Rd Ht)
arc 85 87 (0.0 Rd Ht)
arc 92 93 (Rd3 0.0 Ht)
arc 94 95 (-Rd3 0.0 Ht)
arc 94 92 (0.0 -Rd3 Ht)
arc 93 95 (0.0 Rd3 Ht)
arc 88 89 (qRt 0.0 Ht)
arc 90 91 (-qRt 0.0 Ht)
arc 88 90 (0.0 -qRt Ht)
arc 89 91 (0.0 qRt Ht)
arc 96 97 (Rt 0.0 Ht)
arc 98 99 (-Rt 0.0 Ht)
arc 98 96 (0.0 -Rt Ht)
arc 97 99 (0.0 Rt Ht)
);
defaultPatch
{
name walls;
type wall;
}
boundary
(
base
{
type wall;
faces
(
(0 1 2 3)
(1 8 9 2)
(2 9 13 3)
(3 13 12 0)
(0 12 8 1)
);
}
outlet
{
type patch;
faces
(
(80 81 82 83)
(81 84 85 82)
(83 87 86 80)
(80 86 84 81)
(82 85 87 83)
(84 92 93 85)
(87 95 94 86)
(86 94 92 84)
(85 93 95 87)
(92 88 89 93)
(95 91 90 94)
(94 90 88 92)
(93 89 91 95)
(88 96 97 89)
(91 99 98 90)
(90 98 96 88)
(89 97 99 91)
);
}
);
|