SedFoam / sedfoam

SedFoam solver for OpenFoam toolbox
https://sedfoam.github.io
GNU General Public License v3.0
84 stars 60 forks source link

Scaling issue #167

Closed AndreyBritov closed 1 year ago

AndreyBritov commented 1 year ago

Hi, First thing first - thank you for such useful solver. I have tried to apply it for my task, which represented by 2D scour around subsea construction. Tutorial 2DPipelineScour was taken as example. When it was scaled by 100 times, I faced an issue - scour formed not beneath cylinder but near outlet patch (attached picture). Is it can be fixed? What kind of parameter and where (I found that some parameters such as U.a, U.b and alpha.a must be changed) I need to change, to make tutorial works for cases that 100 times bigger, than initial? image

jchauchat commented 1 year ago

Dear Andrey, We never tried full scale applications. The issue you are facing is probably due to the cell size near the outlet, we already face this type of problem even at small scale. Maybe you can try to refine the grid near the outlet around the bed interface. Please keep us posted about the result. Best regards, Julien

AndreyBritov commented 1 year ago

Dear Julien, Thank you for your reply! I have tried to refine mesh near the outlet , but problem is not ran out. Sooner or later case in crushing with tremendous velocity at down-right corner. Maybe there is some kind of scaling factor or constant in equations, that allow to make simulation only for small scale applications? image image

jchauchat commented 1 year ago

If I remember correctly, there must be a wall at the bottom part of the outlet ? If not try that, the velocity should not increase like that at the corner of two walls. Best regards, Julien

AndreyBritov commented 1 year ago

Yes, you are right, bottom patch is the wall with fixed value 0, but velocity increasing a little above the bottom. Also, the rbgh pressure seems weird. image

image

AndreyBritov commented 1 year ago

Dear Julien, Thank you for an excellent idea! I have devided outlet patch into two parts, make down patch a wall and rise it to a level of deviding line. Now everything works fine!

CyrilleBonamy commented 1 year ago

Very good news. So i close the issue 👍