CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

The solver failed with a non-zero exit code of : 2

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By paul115

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 12, 2015, 06:57
Default The solver failed with a non-zero exit code of : 2
  #1
New Member
 
P
Join Date: Mar 2015
Posts: 21
Rep Power: 11
paul115 is on a distinguished road
Hello,

Is someone can help me with this error.

Update failed for the Solution component in Fluid Flow (CFX). The solver failed with a non-zero exit code of : 2

I'm getting that error window when I want to make Solution in Ansys.

https://www.sendspace.com/file/ydk5fk

I was reading that topis but I have no idea what they are talking about.

http://www.cfd-online.com/Forums/cfx...-code-2-a.html

Can someone explain me what should I do to make it work. I very need it to work.

P.S I'm analysing fluid flow through the pipe with baffels. I made geometry using SolidWorks. Idk if this information will help in solving problem.
paul115 is offline   Reply With Quote

Old   March 12, 2015, 11:25
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
Open the output file (not the results file) from CFX, and see if there is an error message before the software exit. The exit code errors after a solver failure, and can be summarized as 0 (success), not 0 (not success before returning control to the operating system). The list of non-zero codes is platform dependent as far as I have seen.
Opaque is offline   Reply With Quote

Old   March 12, 2015, 13:06
Default
  #3
New Member
 
P
Join Date: Mar 2015
Posts: 21
Rep Power: 11
paul115 is on a distinguished road
I got sth like that

Details of error:-
----------------
Error detected by routine MAKDAT
Illegal data area length CDANAM = NTOTALS_EST CDTYPE = INTR ISIZE = 0
CRESLT = SIZE

Current Directory : /INTERP/NEW/NAMEMAP

+================================================= ===================+
| ****** PROBLEM REPORT ****** |
|--------------------------------------------------------------------|
| Subsystem: Input and Output |
| Subroutine name: ErrAction |
| Severity level: Fatal Error |
| Error message number: 001100279 |
|--------------------------------------------------------------------|
| Message: |
| |
| Stopped in routine MEMERR |
| |
| |
| |
| |
| |
+================================================= ===================+

+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| Error interpolating results onto the new mesh: C:\Program |
| Files\ANSYS Inc\v150\CFX\bin\winnt-amd64\solver-pcmpi.exe exited |
| with return code 1. |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| The following user files have been saved in the directory |
| E:/Ansys/3_pending_tasks/dp0_CFX_Solution/Fluid Flow CFX_011: |
| |
| job |
+--------------------------------------------------------------------+


This run of the ANSYS CFX Solver has finished.


What should I do to deal with ?

P.S I've found topic with the same problem but still can't solve it

http://www.cfd-online.com/Forums/cfx...-new-mesh.html
jonpewpew likes this.

Last edited by paul115; March 12, 2015 at 14:10.
paul115 is offline   Reply With Quote

Old   March 13, 2015, 10:12
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
The failure has occurred in the interpolator step while restarting the simulation with some kind of initial values file.

It seems it failed to estimate the incorrect size of something. Have you been successful restarting run previously ? Have you changed some specific between the previous run, and the one with the failure ?
Opaque is offline   Reply With Quote

Old   March 13, 2015, 12:01
Default
  #5
New Member
 
P
Join Date: Mar 2015
Posts: 21
Rep Power: 11
paul115 is on a distinguished road
I am working on that case all day long and since I've started my simulation succeed only once just a minutes ago. I made a geometry one more time and I realized that problem could be in geometry. When I changed shaft lenght and between this shaft and inlet or outlet surfaces there aren't any small empty spaces solver works correctly. On the other hand when I made this shaft longer a bit so that it stick out of fluid inside my tube then it doesn't works.

Why it happens ?

P.S photo of my project: https://www.sendspace.com/file/vrvyyl
paul115 is offline   Reply With Quote

Old   March 13, 2015, 15:41
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I do not understand your question and your link is broken. Please attach the image to the forum post.
ghorrocks is offline   Reply With Quote

Old   March 13, 2015, 16:03
Default
  #7
New Member
 
P
Join Date: Mar 2015
Posts: 21
Rep Power: 11
paul115 is on a distinguished road
You have to see this on picture to understand jh
When that small cylinder which is in the middle of geometry goes outside pipe (crosses inlet of tube) solver doesn't work but I made it shorter and it is inside pipe it's OK. It's my question
Attached Images
File Type: jpg aaa.jpg (16.2 KB, 144 views)
paul115 is offline   Reply With Quote

Old   March 14, 2015, 03:57
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
This looks like a simple moving mesh simulation. But I still don't understand what your problem is. Can you show an image of what it looks like just before it fails?
ghorrocks is offline   Reply With Quote

Old   March 14, 2015, 08:26
Default
  #9
New Member
 
P
Join Date: Mar 2015
Posts: 21
Rep Power: 11
paul115 is on a distinguished road
I marked it on those pictures
Attached Images
File Type: jpg aaa1.jpg (19.1 KB, 101 views)
File Type: jpg aaa2.jpg (18.9 KB, 74 views)
paul115 is offline   Reply With Quote

Old   March 15, 2015, 04:23
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
With some careful rejigging of your domains you can get this to handle when the central stick leaves the pipe. Can you post a cross section of your mesh through the central stick and the end of the pipe and I will suggest some ideas.
ghorrocks is offline   Reply With Quote

Old   March 15, 2015, 08:26
Default
  #11
New Member
 
P
Join Date: Mar 2015
Posts: 21
Rep Power: 11
paul115 is on a distinguished road
Thank You very much for help. I've just adjusted size of mesh and everything is working.
paul115 is offline   Reply With Quote

Old   October 30, 2017, 22:14
Question CFX error message
  #12
New Member
 
Ziqi Zheng
Join Date: Oct 2017
Posts: 1
Rep Power: 0
Dorothy625 is on a distinguished road
Hello! Excuse me, are your problem solved? I am sorry I have a similar problem with you, Can you help me how to solve it ? thank you very much! The error message is as follow.
CFD Solver started: Tue Oct 31 11:11:19 2017


+--------------------------------------------------------------------+
| Convergence History |
+--------------------------------------------------------------------+

================================================== ====================
| COUPLING STEP = 1 |
================================================== ====================

----------------------------------------------------------------------
| COUPLING/STAGGER ITERATION = 1 |
----------------------------------------------------------------------

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| cplg_SendCommand failed to send the command: NEXTSP |
| |
| |
| |
| |
| |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| CFX encountered the error: Read. |
| |
| |
| |
| |
| |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| cplg_SendCommand failed to send the command: ERROR -- CFX encount- |
| ered the error: Read. |
| |
| |
| |
| |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| Writing crash recovery file |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Stopped in routine cplg_SendCommand |
| |
| |
| |
| |
| |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX solver exited with return code 1. No results file |
| has been created. |
+--------------------------------------------------------------------+

End of solution stage.

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


+--------------------------------------------------------------------+
| The results from this run of the ANSYS solver have been written to |
| G:\Results\Workbench\jiare-1030-2105_pending\dp0_CFX_Solution_1\F- |
| luid Flow CFX_004.ansys |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| Warning! |
| |
| The ANSYS CFX Solver has written a crash recovery file. This file |
| has been saved as |
| G:/Results/Workbench/jiare-1030-2105_pending/dp0_CFX_Solution_1/F- |
| luid Flow CFX_004.res.err and may be an aid to diagnosing the |
| problem or restarting the run. More details should be available |
| in the solver output section of the output file. |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| The following user files have been saved in the directory |
| G:/Results/Workbench/jiare-1030-2105_pending/dp0_CFX_Solution_1/F- |
| luid Flow CFX_004: |
| |
| mon |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| For CFX runs launched from Workbench, the final locations of |
| directories and files generated may differ from those shown. |
+--------------------------------------------------------------------+


This run of the ANSYS CFX Solver has finished.
Dorothy625 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
Problems installing OpenFOAM 2.3.0, 1.6-ext and foam-extend 3.0 sam.ho OpenFOAM Installation 35 April 5, 2014 15:31
ansys solver terminated with returne code -1 raj.091603.bme CFX 1 February 13, 2014 10:52
Exit code 247 Adam CFX 1 February 5, 2009 08:26
free C code for large sparse matrix linear solver ztdep Main CFD Forum 7 May 24, 2007 14:14


All times are GMT -4. The time now is 00:35.