CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   ANSYS CFX solver exited with return code 2 (https://www.cfd-online.com/Forums/cfx/87516-ansys-cfx-solver-exited-return-code-2-a.html)

vmlxb6 April 21, 2011 18:07

ANSYS CFX solver exited with return code 2
 
Does any one know the "Return code 2 error" ?????????????

Thank you

ghorrocks April 26, 2011 22:10

Unfortunately CFX has lots of undocumented error codes. You have to read the error in the context of what is happening at the time. Can you post the out file around the error message?

vmlxb6 April 26, 2011 23:02

In my FORTRAN subroutine I had assumed that NLOC is 1 so I had defined the O/p as RET(1,1). I rectified it later. Thanks though.

One more question:

http://www.cfd-online.com/Forums/cfx...using-cfx.html

Thanks

jfmorissette July 25, 2011 15:46

Hi Vmlxb6,

I have the same problem you had, with a return code 2 using fortran subroutine.

I also asume that my output is only RET(1,1). It is not? How do you know what is NLOC value?

And how do you solve your probleme exactly? You just said you rectified it but how?

Thank you!

vmlxb6 July 25, 2011 16:01

So I used the loop the way they use it in the Air-conditioning tutorial. Just parameters like Nloc is all determined by CFX.

Hope that helps

amiribra July 26, 2016 09:05

ANSYS Solver terminated unexpectedly with return code 1792
 
Hello,

I am getting the Return 2 exit error along with

+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| ANSYS Solver terminated unexpectedly with return code 1792 |
+--------------------------------------------------------------------+

I am trying to run a steady state two-way FSI simulation by coupling CFX and Transient Structural using Ansys Multi-field (MFX).

I have checked the error message and it contains no useful information.
All it says is "/COM,ANSYS RELEASE Release 17.1 BUILD 17.1 UP20160404 13:53:26
"

Has anyone managed to fix that error?

Thanks!
Amir.

Sunny Chitti June 22, 2017 18:01

Quote:

Originally Posted by amiribra (Post 611422)
Hello,

I am getting the Return 2 exit error along with

+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| ANSYS Solver terminated unexpectedly with return code 1792 |
+--------------------------------------------------------------------+

I am trying to run a steady state two-way FSI simulation by coupling CFX and Transient Structural using Ansys Multi-field (MFX).

I have checked the error message and it contains no useful information.
All it says is "/COM,ANSYS RELEASE Release 17.1 BUILD 17.1 UP20160404 13:53:26
"

Has anyone managed to fix that error?

Thanks!
Amir.

Hi Amir,

Did you solve the problem? I am getting same error.


All times are GMT -4. The time now is 14:19.