CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Stepped Channel (https://www.cfd-online.com/Forums/openfoam-solving/236700-stepped-channel.html)

gustavoliveira June 10, 2021 13:10

Stepped Channel
 
1 Attachment(s)
Hello Everyone,

I am trying simulate a stepped channel using the example multiphase/interFoam/RAS/weirOverflow. So I modificated the blockMeshDict file to represent de steppeds. But when I run the simulation, the water dont enter in region after the stepped (how can be seen in the attached picture). How can I allowed that the fluid enter in this region?

Thanks


https://www.cfd-online.com/Forums/at...1&d=1623344978

Tobermory June 11, 2021 06:21

Curious - perhaps you can share your blockMeshDict file, then we might be able to see what the problem is?

gustavoliveira June 11, 2021 12:49

Code:

convertToMeters 1;

vertices
(
    (-18  0 -0.5)//0
    (  0  0 -0.5)//1
    ( 35  0 -0.5)//2
    ( 90  0 -0.5)//3
    (-18 30 -0.5)//4
    (  0 30 -0.5)//5
    ( 15 30 -0.5)//6
    ( 90 30 -0.5)//7
    (-18 54 -0.5)//8
    (  0 54 -0.5)//9
    ( 15 54 -0.5)//10
    ( 90 54 -0.5)//11

    (-18  0 0.5)//12
    (  0  0 0.5)//13
    ( 35  0 0.5)//14
    ( 90  0 0.5)//15
    (-18 30 0.5)//16
    (  0 30 0.5)//17
    ( 15 30 0.5)//18
    ( 90 30 0.5)//19
    (-18 54 0.5)//20
    (  0 54 0.5)//21
    ( 15 54 0.5)//22
    ( 90 54 0.5)//23
   
    ( 15 24 -0.5)//24
    ( 20 24 -0.5)//25
    ( 20 18 -0.5)//26
    ( 25 18 -0.5)//27
    ( 25 12 -0.5)//28
    ( 30 12 -0.5)//29
    ( 30 6 -0.5)//30
    ( 35 6 -0.5)//31
   
    ( 15 24 0.5)//32
    ( 20 24 0.5)//33
    ( 20 18 0.5)//34
    ( 25 18 0.5)//35
    ( 25 12 0.5)//36
    ( 30 12 0.5)//37
    ( 30 6 0.5)//38
    ( 35 6 0.5)//39
     
    ( 90 24 -0.5)//40
    ( 90 18 -0.5)//41
    ( 90 12 -0.5)//42
    ( 90 6 -0.5)//43
   
    ( 90 24 0.5)//44
    ( 90 18 0.5)//45
    ( 90 12 0.5)//46
    ( 90 6 0.5)//47
       
    ( 20 30 -0.5)//48
    ( 25 24 -0.5)//49
    ( 30 18 -0.5)//50
    ( 35 12 -0.5)//51 
    ( 20 30 0.5)//52
    ( 25 24 0.5)//53
    ( 30 18 0.5)//54
    ( 35 12 0.5)//55
);

blocks
(
    hex (0 1 5 4 12 13 17 16) (18 35 1) simpleGrading (1 1 1) //0
    hex (2 3 43 31 14 15 47 39) (55 6 1) simpleGrading (1 1 1) //1
    hex (31 43 42 51 39 47 46 55) (55 6 1) simpleGrading (1 1 1) //2
    hex (29 42 41 50 37 46 45 54) (60 6 1) simpleGrading (1 1 1) //3
    hex (27 41 40 49 35 45 44 53) (65 6 1) simpleGrading (1 1 1) //4
    hex (25 40 7 48 33 44 19 52) (70 6 1) simpleGrading (1 1 1) //5
   
    hex (30 31 51 29 38 39 55 37) (5 6 1) simpleGrading (1 1 1) //6
    hex (28 29 50 27 36 37 54 35) (5 6 1) simpleGrading (1 1 1) //7
    hex (26 27 49 25 34 35 53 33) (5 6 1) simpleGrading (1 1 1) //8
    hex (24 25 48 6 32 33 52 18) (5 6 1) simpleGrading (1 1 1) //9
   
    hex (4 5 9 8 16 17 21 20) (18 24 1) simpleGrading (1 1 1) //10
    hex (5 6 10 9 17 18 22 21) (15 24 1) simpleGrading (1 1 1)
    hex (6 7 11 10 18 19 23 22) (75 24 1) simpleGrading (1 1 1)
);

edges
(
);

patches
(
    patch inlet
    (
        (0 12 16 4)
        (4 16 20 8)
    )
    patch outlet
    (
        (43 47 15 3)
        (43 42 46 47)
        (42 41 45 46)
        (41 40 44 45)
        (40 7 19 44)
        (7 11 23 19)     
    )
    wall lowerWall
    (
        (0 1 13 12)
        (1 5 17 13)
        (5 6 18 17)       
        (18 24 32 6)
        (24 25 33 32)
        (25 26 34 33)
        (26 27 35 34)
        (27 28 36 35)
        (28 29 37 36)
        (29 30 38 37)
        (30 31 39 38)
        (31 2 14 39)
        (2 3 15 14)
    )
    patch atmosphere
    (
        (8 20 21 9)
        (9 21 22 10)
        (10 22 23 11)
    )
);

mergePatchPairs
(
);

Thank you!


All times are GMT -4. The time now is 01:51.