CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   interFoam BC's (https://www.cfd-online.com/Forums/openfoam-solving/162696-interfoam-bcs.html)

jakitsch November 15, 2015 18:41

interFoam BC's
 
2 Attachment(s)
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.

matejmuller November 17, 2015 20:09

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


All times are GMT -4. The time now is 06:35.