CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

interFoam BC's

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   November 15, 2015, 19:41
Default interFoam BC's
New Member
Victor Jakitsch
Join Date: Sep 2015
Posts: 2
Rep Power: 0
jakitsch is on a distinguished road
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 (1.8 KB, 9 views)
File Type: zip (1.6 KB, 6 views)
jakitsch is offline   Reply With Quote

Old   November 17, 2015, 21:09
New Member
Matej Muller
Join Date: Oct 2011
Location: Slovenia
Posts: 23
Rep Power: 7
matejmuller is on a distinguished road

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

       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


Thread Tools
Display Modes

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 On
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 31 February 14, 2017 16:18
interFoam inlet / outlet BCs ThomasV OpenFOAM Running, Solving & CFD 0 March 27, 2015 11:56
How to set BCs programmatically incompressible OpenFOAM Programming & Development 5 September 27, 2014 04:57
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 11 January 5, 2013 07:21
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 05:41.