Jacobi: error (divergence) solving for Velocity
Posted: Mon May 09, 2016 5:35 pm
Hi everybody,
I am using Code_Saturne V.4.0.4 and my goal is to determine the cavitation aspect in the case of a venturi. For simplifying the problem I decided at first, to use a 2D geometry.
I have run my case without cavitation effect for 90000 iterations, I have observed some bad joining and/or bad mesh (paraview pictures are attached), however the simulation have been finished, the pressure and velocity are converged and the results are pretty good.
Then, I made use of this case for a cavitation simulation, so I applied the restart option in GUI and run another case from 90000th iteration where cavitation effect is activated (icavit = 1 in parameters subroutine).
The calculation started without problem, nevertheless I get the following error output after 2 iterations:
*******************************************************************
Jacobi [Jacobi]: divergence after 2 iterations:
initial residual: 2.6908e+06; current residual: 2.1288e+11
/home/firozi/code_saturne-4.0.4/src/alge/cs_sles_it.c:3934: Fatal error.
Jacobi: error (divergence) solving for Velocity
Call stack:
1: 0x2b820277854e <cs_sles_solve+0x28e> (libsaturne.so.0)
2: 0x2b8202a28ef9 <__cs_c_bindings_MOD_sles_solve_native+0x1ed> (libsaturne.so.0)
3: 0x2b8202558826 <coditv_+0x12da> (libsaturne.so.0)
4: 0x2b8202638561 <predvv_+0x6d91> (libsaturne.so.0)
5: 0x2b8202622c7e <navstv_+0x1ebe> (libsaturne.so.0)
6: 0x2b8202653cb0 <tridim_+0x4800> (libsaturne.so.0)
7: 0x2b82025318a1 <caltri_+0x2b41> (libsaturne.so.0)
8: 0x2b820251a875 <cs_run+0x3e5> (libsaturne.so.0)
9: 0x2b820251a9b5 <main+0x115> (libsaturne.so.0)
10: 0x3baf81ecdd <__libc_start_main+0xfd> (libc.so.6)
11: 0x4024e9 <> (cs_solver)
End of stack
*******************************************************************
I don`t know if this is right, but I suppose this may be due to bad mesh.
Has someone an idea how to fix this problem?
Listing is also attached.
Thank you very much in advance.
Best regards,
Amir
I am using Code_Saturne V.4.0.4 and my goal is to determine the cavitation aspect in the case of a venturi. For simplifying the problem I decided at first, to use a 2D geometry.
I have run my case without cavitation effect for 90000 iterations, I have observed some bad joining and/or bad mesh (paraview pictures are attached), however the simulation have been finished, the pressure and velocity are converged and the results are pretty good.
Then, I made use of this case for a cavitation simulation, so I applied the restart option in GUI and run another case from 90000th iteration where cavitation effect is activated (icavit = 1 in parameters subroutine).
The calculation started without problem, nevertheless I get the following error output after 2 iterations:
*******************************************************************
Jacobi [Jacobi]: divergence after 2 iterations:
initial residual: 2.6908e+06; current residual: 2.1288e+11
/home/firozi/code_saturne-4.0.4/src/alge/cs_sles_it.c:3934: Fatal error.
Jacobi: error (divergence) solving for Velocity
Call stack:
1: 0x2b820277854e <cs_sles_solve+0x28e> (libsaturne.so.0)
2: 0x2b8202a28ef9 <__cs_c_bindings_MOD_sles_solve_native+0x1ed> (libsaturne.so.0)
3: 0x2b8202558826 <coditv_+0x12da> (libsaturne.so.0)
4: 0x2b8202638561 <predvv_+0x6d91> (libsaturne.so.0)
5: 0x2b8202622c7e <navstv_+0x1ebe> (libsaturne.so.0)
6: 0x2b8202653cb0 <tridim_+0x4800> (libsaturne.so.0)
7: 0x2b82025318a1 <caltri_+0x2b41> (libsaturne.so.0)
8: 0x2b820251a875 <cs_run+0x3e5> (libsaturne.so.0)
9: 0x2b820251a9b5 <main+0x115> (libsaturne.so.0)
10: 0x3baf81ecdd <__libc_start_main+0xfd> (libc.so.6)
11: 0x4024e9 <> (cs_solver)
End of stack
*******************************************************************
I don`t know if this is right, but I suppose this may be due to bad mesh.
Has someone an idea how to fix this problem?
Listing is also attached.
Thank you very much in advance.
Best regards,
Amir