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

interFOAM air_water interface strange behaviour

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 8, 2023, 14:34
Default interFOAM air_water interface strange behaviour
  #1
Member
 
Anurag
Join Date: Feb 2023
Posts: 66
Rep Power: 3
anubasu is on a distinguished road
Hi I have modeled partially filled flow in a pipe as shown, but when the water strikes the floor, it breaks the surface and it shows strange behaviour. I have reduced the timestep and Co and also refined the mesh but it causes no change in results. Do I need to change anything in fvSchemes? or something else. Because in fluent the same problem, the air-water interface is coming perfectly smooth. I attached the picture.

Thanks
Attached Images
File Type: jpg Screenshot (136).jpg (97.8 KB, 56 views)
anubasu is offline   Reply With Quote

Old   December 11, 2023, 07:15
Default
  #2
Member
 
Michael Sukham
Join Date: Mar 2020
Location: India
Posts: 79
Rep Power: 6
2538sukham is on a distinguished road
What are the fvScheme and fvSolution? I guess solver is interFoam.
2538sukham is offline   Reply With Quote

Old   December 11, 2023, 14:25
Default
  #3
Member
 
Anurag
Join Date: Feb 2023
Posts: 66
Rep Power: 3
anubasu is on a distinguished road
Quote:
Originally Posted by 2538sukham View Post
What are the fvScheme and fvSolution? I guess solver is interFoam.
Hi Michael, Yes solver is interFOAM. Schemes are ddtSchemes=Euler, gradSchemes=Gauss linear, divSchemes=Gauss linearUpwind grad(U), for alpha=Gauss vanleer,div(phirb, alpha) =Gauss linear, laplacianSchemes=Gauss linear corrected, interpolation=linear.

fvSolution=alphawater=smoothsolver, pcorr=PCG, p_rgh=GAMG, PIMPLE=momentum predictor=no.

Do I have to choose any other schemes?
Attached Images
File Type: jpg Screenshot (142).jpg (56.7 KB, 18 views)
anubasu is offline   Reply With Quote

Old   December 13, 2023, 05:34
Default
  #4
Member
 
Michael Sukham
Join Date: Mar 2020
Location: India
Posts: 79
Rep Power: 6
2538sukham is on a distinguished road
Maybe its the interface compression. cAlpha in PIMPLE/PISO parameter in case of foamExtend or alpha.water in fvSolutions where the compression factor is given. try 0 and try 1 (there are reports where higher cAlpha results in oscillations). Although cAlpha = 0 would give a diffused alpha field, that would be a start to your problem.
2538sukham is offline   Reply With Quote

Old   December 14, 2023, 19:23
Default
  #5
Member
 
Anurag
Join Date: Feb 2023
Posts: 66
Rep Power: 3
anubasu is on a distinguished road
Hi,
I tried with calpha =1 but it is same but I will try with calpha=0. Do you think that it is something to do with schemes? of div U or alpha or something with the MULES setting in alphawater?

Thanks
anubasu is offline   Reply With Quote

Old   December 15, 2023, 01:52
Default
  #6
Member
 
Michael Sukham
Join Date: Mar 2020
Location: India
Posts: 79
Rep Power: 6
2538sukham is on a distinguished road
Try running with the dam break case settings provided.Your schemes seem fine. Which version are you using? The simulation doesn't seem that heavy so maybe I can try running in my machine and see it.
With regards

Last edited by 2538sukham; December 15, 2023 at 04:33.
2538sukham is offline   Reply With Quote

Old   December 15, 2023, 04:59
Default
  #7
Member
 
Anurag
Join Date: Feb 2023
Posts: 66
Rep Power: 3
anubasu is on a distinguished road
Hi,

Yea i am using OpenFOAM-7. Yea i have tried damBreak settings although I will try again. I tried attaching mesh but it is very large. I am writing the BCs for you. Inlet-just water inlet with some flow rate, Mass flow rate=3.3, Outlet pressure outlet, and walls no slip. I have used similar BCs as angledDuct in the tutorials within interFOAM but with only inlet, outlet and walls for different components like velocity, alpha.water, etc. If you need any details please ask me. I can share the zip with you email if yu want.
Thanks.
anubasu is offline   Reply With Quote

Old   December 15, 2023, 05:00
Default
  #8
Member
 
Anurag
Join Date: Feb 2023
Posts: 66
Rep Power: 3
anubasu is on a distinguished road
What i am noticing is when the water falls from the height it causes some air-water interface problems, but when it just flows thru a pipe it is coming smooth.
anubasu is offline   Reply With Quote

Old   December 28, 2023, 06:23
Default
  #9
Member
 
Michael Sukham
Join Date: Mar 2020
Location: India
Posts: 79
Rep Power: 6
2538sukham is on a distinguished road
I am at a lost, but then try curving the geometry at the junction, instead of a sharp 90 degree turn.
2538sukham 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
interFoam: strange doplet behaviour at mesh transition geth03 OpenFOAM Running, Solving & CFD 3 December 17, 2023 11:16
Calculation of interface area interFoam / VoF überschwupper OpenFOAM Programming & Development 18 August 19, 2022 11:03
How to use the CFX periodic interface zhihuawan CFX 61 January 15, 2018 16:20
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 17:38
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 20:09


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