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

InterFOAM Question

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2024, 14:49
Default InterFOAM Question
  #1
New Member
 
Michael
Join Date: Mar 2024
Posts: 8
Rep Power: 2
GardenLake is on a distinguished road
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.
GardenLake is offline   Reply With Quote

Old   April 29, 2024, 15:58
Default
  #2
Senior Member
 
Will Kernkamp
Join Date: Jun 2014
Posts: 338
Rep Power: 12
wkernkamp is on a distinguished road
Your inflow might be fine, but your outflow is not working.
wkernkamp is offline   Reply With Quote

Old   April 29, 2024, 16:10
Default
  #3
New Member
 
Michael
Join Date: Mar 2024
Posts: 8
Rep Power: 2
GardenLake is on a distinguished road
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
GardenLake is offline   Reply With Quote

Old   April 30, 2024, 00:52
Default
  #4
Senior Member
 
Will Kernkamp
Join Date: Jun 2014
Posts: 338
Rep Power: 12
wkernkamp is on a distinguished road
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?
wkernkamp is offline   Reply With Quote

Old   April 30, 2024, 12:44
Default
  #5
New Member
 
Michael
Join Date: Mar 2024
Posts: 8
Rep Power: 2
GardenLake is on a distinguished road
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?
GardenLake is offline   Reply With Quote

Old   April 30, 2024, 18:11
Default
  #6
Senior Member
 
Will Kernkamp
Join Date: Jun 2014
Posts: 338
Rep Power: 12
wkernkamp is on a distinguished road
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.
wkernkamp 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
Adding diffusion term to interFoam transport equation Gearb0x OpenFOAM Programming & Development 3 February 14, 2023 04:16
Question about alpha.water in interFoam HMQ OpenFOAM Running, Solving & CFD 11 September 14, 2021 05:35
Why do we need pCorrTypes in interFoam? goguler OpenFOAM Programming & Development 0 October 3, 2019 03:55
Question about interFoam Solver Kahnbein.Kai OpenFOAM Running, Solving & CFD 2 August 26, 2019 15:36
Question about finding force in OF 1.7.1 using interFoam Angela Wang OpenFOAM 4 November 2, 2010 02:49


All times are GMT -4. The time now is 14:37.