CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Stepped Channel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2021, 13:10
Default Stepped Channel
  #1
New Member
 
Gustavo
Join Date: Jun 2021
Posts: 17
Rep Power: 4
gustavoliveira is on a distinguished road
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


Attached Images
File Type: png openfoam.png (19.5 KB, 16 views)
gustavoliveira is offline   Reply With Quote

Old   June 11, 2021, 06:21
Default
  #2
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 670
Rep Power: 14
Tobermory will become famous soon enough
Curious - perhaps you can share your blockMeshDict file, then we might be able to see what the problem is?
Tobermory is offline   Reply With Quote

Old   June 11, 2021, 12:49
Default
  #3
New Member
 
Gustavo
Join Date: Jun 2021
Posts: 17
Rep Power: 4
gustavoliveira is on a distinguished road
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!
gustavoliveira is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
3D open channel hydraulic jump would not jump roi247 FLUENT 3 March 11, 2020 03:46
Enabling Open Channel Flow Sub-Model in Mixture model cod213 FLUENT 0 January 10, 2017 13:40
Open Channel Flow ElanMorin FLUENT 4 February 25, 2015 16:26
interFoam Micro channel 1988 OpenFOAM Running, Solving & CFD 1 January 25, 2015 13:50
Question on the boundary condition for open channel flow, please help! ripperjack OpenFOAM Running, Solving & CFD 0 September 13, 2013 11:44


All times are GMT -4. The time now is 11:44.