Outlet BC with Interfoam
1 Attachment(s)
I'm simulating a waterfall device using Interfoam. Everything's fine but the outlet.
If you look at the picture you'll see the water at the end of the domain that seems reflected by the outlet surface. Isn't supposed to just disappear as soon as it touchs the surface ? Here is my BC: Code:
FoamFile |
I would rather go with zeroGradient instead of buoyantPressure for the "inlet"...
Furthermore, could you provide some more information? Such as velocities / grid and maybe schemes and solution algorithms? Do you have a laminar or turbulent case? I usually have defaultFaces set to "empty" for everything. But I do not know what "faces" are inside your defaultFaces "class"... As already mentioned, some more information would be useful for me and others to help you. |
I think it is perfectly fine. I have used that exactly outlet condition with a standing plunging wave crossing the boundary and I did not get any reflections or disturbances.
May that water come from the first time steps when the waterfall develops? Maybe due to air movement on the first time steps the falling water may not reach so far, leading to what you see (there's a wall on the bottom, right?) |
Sorry for the lack of information.
At the moment I'm working with a sample case so laminar model only. DefaultFaces BC is there but there are no faces assigned to it (I have to remove it). The grid is quite coarse, but good for its purpose. Here is the checkmesh result: Code:
/*---------------------------------------------------------------------------*\ I just needed a confirmation that my BC were reasonables. Just in case, here is a small movie of what's happening: http://www.box.com/s/8c79ad85af98d9405da9 Anyway I'm testing the case using a bigger domain... Daniele |
Dear all, my cases with an outlet worked fine in OF 1.7.1 but now with OF 2.1.x there is no outflow anymore, alpha1 gets reflected at the outflow. Is there a change in the versions? otherwise it must be due to some changes i did in the fvSchemes and fvSolution files...
|
using PISO instead of PIMPLE solves the problem
|
2 Attachment(s)
Ok turning old searching the cause of alpha1 being reflected at the outflow, I finally got it (its not about PISO or PIMPLE). Maybe this is a bug dependent on ubuntu version, but it is quite relevant. The difference between the two pictures below showing an outflow of a channel is only that I moved the grid from positive x quadrant to negative x quadrant. When the whol gid lies at a position that the x-coordinates are smaller than 0 the outflow works! Maybe this should be reported.
|
I changed p_rgh from type outletInlet outletValue uniform 0 to zeroGradient and the reflection of alpha1 at the outlet vanishes. Anyway I'd be happy for any explanation why a shift of the grid from negative to positive coordinate system quadrant can cause such behavior when outletValue uniform 0 is used for p_rgh.
|
All times are GMT -4. The time now is 17:20. |