|
[Sponsors] |
April 29, 2024, 15:49 |
InterFOAM Question
|
#1 |
New Member
Michael
Join Date: Mar 2024
Posts: 9
Rep Power: 2 |
Hello,
I have an open channel flow occurring. I have air above my water and have 2 inlets (1 for air and 1 for water). I have both set to a value. When I view my alpha (phase indicator) it seems that there is a bump in my water and then the domains slowly fills up with water even though it is suppose to keep flowing downstream out of domain. Does anyone know what the issue with this issue? I would post screenshots but it says I am forbidden to do attachments for some unknown reason. |
|
April 29, 2024, 16:58 |
|
#2 |
Senior Member
Will Kernkamp
Join Date: Jun 2014
Posts: 372
Rep Power: 14 |
Your inflow might be fine, but your outflow is not working.
|
|
April 29, 2024, 17:10 |
|
#3 |
New Member
Michael
Join Date: Mar 2024
Posts: 9
Rep Power: 2 |
I have the pressure specified at the top =0. My outlet is zeroGradient for velocity, alpha (phase indicator), and pressure. My inlet is set to a value for velocity, alpha=1, and pressure = fixedFluxPressure.
Do these seem reasonable? Anything in the outlet that I should adjust? Thank you |
|
April 30, 2024, 01:52 |
|
#4 |
Senior Member
Will Kernkamp
Join Date: Jun 2014
Posts: 372
Rep Power: 14 |
It is a bit late so I might not be of much use. Will look closer tomorrow. Could you try with a fixed pressure condition at the inlet?
|
|
April 30, 2024, 13:44 |
|
#5 |
New Member
Michael
Join Date: Mar 2024
Posts: 9
Rep Power: 2 |
The issue with setting a fixed pressure at the inlet is that I am using P instead of pgh which would make no hydrostatic pressure at the inlet which is incorrect. The set velocity should increase pressure in that region and direct flow down to the outlet correct?
|
|
April 30, 2024, 19:11 |
|
#6 |
Senior Member
Will Kernkamp
Join Date: Jun 2014
Posts: 372
Rep Power: 14 |
You are not the only one experiencing some issues: Strange Hydrostatic Boundary Backflow with interFoam.
That person did not get an answer, even though he presents more information. A helpful tutorials case might be this: "tutorials/multiphase/interFoam/RAS/damBreak/damBreak". From what you have written so far, it seems to me that this case (or it's laminar cousing) can be modified to match your domain. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding diffusion term to interFoam transport equation | Gearb0x | OpenFOAM Programming & Development | 3 | February 14, 2023 05:16 |
Question about alpha.water in interFoam | HMQ | OpenFOAM Running, Solving & CFD | 11 | September 14, 2021 06:35 |
Why do we need pCorrTypes in interFoam? | goguler | OpenFOAM Programming & Development | 0 | October 3, 2019 04:55 |
Question about interFoam Solver | Kahnbein.Kai | OpenFOAM Running, Solving & CFD | 2 | August 26, 2019 16:36 |
Question about finding force in OF 1.7.1 using interFoam | Angela Wang | OpenFOAM | 4 | November 2, 2010 03:49 |