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/)
-   -   SimpleFoam diverge problem (https://www.cfd-online.com/Forums/openfoam-solving/241795-simplefoam-diverge-problem.html)

WARMACHINEX March 20, 2022 17:03

SimpleFoam diverge problem
 
1 Attachment(s)
Hi,

I am trying to simulate the wind around a cube using the k-omega SST model to get the C_p value around the cube. When I run the solver, divergency happens after hundreds of timesteps, and I got high timestep errors, this is the error I got:

Time = 512

smoothSolver: Solving for Ux, Initial residual = 0.076812, Final residual = 6.03472e-07, No Iterations 3
smoothSolver: Solving for Uy, Initial residual = 0.077275, Final residual = 9.05036e-07, No Iterations 3
smoothSolver: Solving for Uz, Initial residual = 0.0608148, Final residual = 6.76609e-07, No Iterations 4
GAMG: Solving for p, Initial residual = 4.63556e-06, Final residual = 7.43667e-07, No Iterations 2
GAMG: Solving for p, Initial residual = 6.24736e-07, Final residual = 6.24736e-07, No Iterations 0
time step continuity errors : sum local = 31338.4, global = 1258.35, cumulative = 14145.1
smoothSolver: Solving for omega, Initial residual = 0.0005501, Final residual = 1.36789e-07, No Iterations 2
smoothSolver: Solving for k, Initial residual = 0.104849, Final residual = 8.41271e-07, No Iterations 3
bounding k, min: -6664.56 max: 3.28718e+25 average: 1.24281e+19
ExecutionTime = 1555.62 s ClockTime = 1559 s


I think most likely the problem is in boundary conditions but I still attached my mesh check file, any idea where should I look into it? The bounding K seems to be a problem, should I just look at the boundary condition for k or U and omega as well? A lot of thanks.

Regards,
Zian


All times are GMT -4. The time now is 15:30.