Grading leads to simpleFoam crash
I'm currently doing some research on wall functions with a empty 2D domain.
The Mesh is generated by blockmesh and the simpleFoam solver ist used. Everything is working well in parallel and serial, but if I turn on the Grading in the z-direction (perpendicular to the ground) the Solver crashes producing this Error message:
Time = 1
smoothSolver: Solving for Ux, Initial residual = nan, Final residual = nan, No Iterations 1000
smoothSolver: Solving for Uz, Initial residual = nan, Final residual = nan, No Iterations 1000
GAMG: Solving for p, Initial residual = nan, Final residual = nan, No Iterations 1000
time step continuity errors : sum local = nan, global = nan, cumulative = nan
smoothSolver: Solving for epsilon, Initial residual = nan, Final residual = nan, No Iterations 1000
smoothSolver: Solving for k, Initial residual = nan, Final residual = nan, No Iterations 1000
ExecutionTime = 0.53 s ClockTime = 1 s
--> FOAM FATAL IO ERROR:
wrong token type - expected Scalar, found on line 0 the word 'nan'
file: /local/huangya/OpenFOAM/huangya-2.2.0/run/foam/2d_mesh_para_empty_grading/system/data.solverPerformance.U at line 0.
From function operator>>(Istream&, Scalar&)
in file lnInclude/Scalar.C at line 91.
This happens only for the grading in z-direction and not for the x-direction. Are there any limitations that I missed using simpleFoam with graded meshs?
Thanks for your time!
Welcome to the forum! For us to help us, you should provide a little bit more information.
Could you give us the output of 'checkMesh'? Which are the boundary conditions that you impose? What are the discretization schemes (fvSchemes)?
Here is the output of CheckMesh:
I solved the problem. There was a mistake with the BC at the Inlet.
|All times are GMT -4. The time now is 14:29.|