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

interFoam BC's

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2015, 18:41
Default interFoam BC's
  #1
New Member
 
Victor Jakitsch
Join Date: Sep 2015
Posts: 2
Rep Power: 0
jakitsch is on a distinguished road
Hello,
I'm having problems with the BC's set up for the simulation of this weir using interFoam.
What happens is that the water doesn't flow through the weir, it simply fills it up as if the outlet boundary was a wall, I've tried two BC's set ups but with no luck. Any advise is welcome.
Please find attached the 0 and trysurface files of the geometry.

Thank you.
Attached Files
File Type: zip 0.zip (1.8 KB, 10 views)
File Type: zip triSurface.zip (1.6 KB, 6 views)
jakitsch is offline   Reply With Quote

Old   November 17, 2015, 20:09
Default
  #2
New Member
 
Matej Muller
Join Date: Oct 2011
Location: Slovenia
Posts: 25
Rep Power: 14
matejmuller is on a distinguished road
Hi!

Instead of
Code:
        
        type variableHeightFlowRateInletVelocity;
        value uniform ( 0 0 0);
        flowRate 0.01;
        alpha alpha.water;
for the inlet of U, you can just use

Code:
       type flowRateInletVelocity;
       volumetricFlowRate 0.01;
       value (0 0 0);
But I dont think this is the problem in your case... Try also using zeroGradient for the p_rgh outlet BC. I've also expirienced such problems using fixedFluxPressure for an outlet, that is fully under water. If that doesn't work, try with different initial conditions for alpha.water (so that the outlet isn't filled with water).

Regards, matej
matejmuller 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
Setting BCs for Riverine Flows using Interfoam kflora OpenFOAM Running, Solving & CFD 38 July 27, 2022 06:51
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 15:26
How to set BCs programmatically incompressible OpenFOAM Programming & Development 6 November 20, 2017 02:47
interFoam inlet / outlet BCs ThomasV OpenFOAM Running, Solving & CFD 0 March 27, 2015 10:56
Struggling with BCs for 'simple' interFoam case rassilon OpenFOAM Running, Solving & CFD 1 May 15, 2009 10:16


All times are GMT -4. The time now is 07:34.