rhoSimpleFoam error while run with turbulence
When i try to run rhoSimpleFoam or steadyCompressibleFoam (foam-extend-4.1) with turbulence models (kEpsilon or kOmegaSST), i get this error.
My case is transonic flow over NACA0012. It run fine with laminar or other version like OpenFOAM-v2112 or OpenFOAM-dev. How can i solve this? Is it a bug? Code:
Selecting RAS turbulence model kEpsilon |
Seems like a division by zero -> rhok is probably zero some where
|
Thank you for reply.
I tried to initiate all turbulence variable with difference value but still get floating point at start :( |
Usually one adds a small value to the denominator to avoid divisions by zero
|
i tried add 0.1 value at wall and internalField, but still get the error. I did same with other field and nothing change :(
Code:
"(WALL3|WALL4)" |
The small value like 1.0e-04 should go in the denominator in the source code
|
Thank you but i did not solve the problem. Here is my 0 file:
alphat: Code:
dimensions [1 -1 -1 0 0 0 0]; Code:
boundaryField Code:
dimensions [1 -1 -1 0 0 0 0]; Code:
//omegaInlet 10; |
The keyword value is just a placeholder since the boundary conditions are derived from a fixedValue b.c. you have to modify the source code to avoid a floating point exception
|
All times are GMT -4. The time now is 19:39. |