SedFoam / sedfoam

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

Velocity Increasing Drastically #186

Open risktaker5 opened 4 months ago

risktaker5 commented 4 months ago

I am working on a project, and try to run the simulation with sedfoam solver. But my velocity is increasing very drastically in the initial stage of the simulation. Please help me regarding that. Attaching my 0_org files, constant, system files with this. Also attaching a sample diagram, what we want to achieve with this simulation. WhatsApp Image 2024-03-19 at 01 31 54_f9fc6acc

prob.zip

CyrilleBonamy commented 3 months ago

I played quickly with your case. I think you need to defined the patches, and in particular the step should be a wall patch In addition, you need to run a 2D simulation and therefor consider an empty patch for the front and rear sides.

And i have the feeling that the inlet boundary conditions are not right : they are not consistent with your initialization and are not the solution of a free channel computation. Perhaps you could consider a 1D2C (one dimensional, two components) computation and impose is as the inlet boundary condition.