A little help with compressibleInterFoam on OpenFoam2012
Hello to all,
I just compiled OpenFOAM v2012 in debug mode. I am trying to use compressibleInterFoam in a simple rectangle with (20 x 3 x 50)mm to simulate the filling of the plate with water and air. However, I am getting an error saying: Code:
--> FOAM FATAL ERROR: (openfoam-2012) Anyone had a similar problem? Thanks in advance |
Hi,
The difference is that v2012 has an extra guard (which doesn't exist in OF7) to prevent zero division errors in TensorI.H during tensor-inverse computations (`inv` function): Code:
#ifdef FULLDEBUG - You can compile the code in Opt mode - We can relax the constraint from `SMALL` to `VSMALL` |
Changed `SMALL` to `VSMALL`and got the problem solved!
Thanks! |
Quote:
I'm facing the same issue while running in debug mode. My solver is running without issues in regular mode but throws the same error as mentioned here while running in debug mode. I followed your suggestion and tried removing the line of code, tried relaxing the constraint from `SMALL` to `VSMALL, and even copied the corresponding segment of code from OF7's TensorI.H file and replaced that in my v2012's TensorI.H file and recompiled the code. But everytime, OpenFOAM throws the same error at me in debug mode. I go to the file location and check, the error line mentioned below is not even present in the header file. Please suggest what could be the issue. Code:
--> FOAM FATAL ERROR: (openfoam-2012) |
All times are GMT -4. The time now is 19:38. |