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

Error code 255

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 17, 2018, 06:22
Default Error code 255
  #1
Member
 
Roy
Join Date: Sep 2017
Posts: 80
Rep Power: 9
ROY4 is on a distinguished road
Hello,
I'm modeling a CFX, MUSIG bubble column. I am running this program on 3 different systems, two of the systems give me the error i attached:

**************************************************
The Ansys CFX solver could not be started, or exited with return code 255.No results file has been created.
**************************************************
can some one please tell me what is this error about?
Is that the settings, because if it is why does the other system is running with this same settings and no error?
or is that due to bad installation of the software?
==============================================

another question I have and I don't want to open a thread for it, is that:

if I stop a transient run in the middle of it, How can I continue that again? because when I open the transient run I have stopped, then I want to run it again,I get the error below:
************************************************** *
The ANSYS CFX solver exited with return code 1. No results file has been
created.
==============================================
Thanks In Advance
Attached Images
File Type: jpg Capture.jpg (102.3 KB, 9 views)
ROY4 is offline   Reply With Quote

Old   February 17, 2018, 17:45
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The error codes in CFX are useless. There is no table to look them up so I do not know why they put them in there. So for us poor users you have to look at the error message around it and the context the error occurred in. So please attach your output file.

To restart a run you need the modelled variables and the mesh. If the run did not complete then you have to use trn files. If you have enough variables and the mesh in your trn files you can restart from them. If you missed anything you cannot restart and will need to start again from the beginning - except this time add transient results files with the mesh included so you can restart if it crashes next time.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   February 18, 2018, 04:19
Default
  #3
Member
 
Roy
Join Date: Sep 2017
Posts: 80
Rep Power: 9
ROY4 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
The error codes in CFX are useless. There is no table to look them up so I do not know why they put them in there. So for us poor users you have to look at the error message around it and the context the error occurred in. So please attach your output file.

To restart a run you need the modelled variables and the mesh. If the run did not complete then you have to use trn files. If you have enough variables and the mesh in your trn files you can restart from them. If you missed anything you cannot restart and will need to start again from the beginning - except this time add transient results files with the mesh included so you can restart if it crashes next time.
Dear ghorrocks
First of all thanks for your answer

about the Error I mentioned yesterday, I read some of the ideas in this site and some people have said that they removed the 1st mesh and created a new grid, Their problem was solved.Although I'm going to test it, I don't think that this would be the problem, because for me the same mesh file works on another system without sending an error.you said:"So please attach your output file", Do you mean my results?because I do not have any results.

about my second question I asked Ansys to write all variables included the mesh. But even when I start from the trn files I still get the error I said(and this time attached).The complete script of the error is:
==============================================
+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| When computing the Transient Statistic "TRNAVG(CVVOL)" the curren- |
| t iteration (****) is greater than the statistic Start Iteration |
| (****), but existing data cannot be found. Users should review th- |
| e specified start-stop values and, if this is a restart, the run |
| history continuation settings. |
| |
+--------------------------------------------------------------------+
----------------------------------
Error in subroutine CAL_TRNSTAT :
Error updating transient statistic.
GETVAR originally called by subroutine INIT_TRNSTAT

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

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

+--------------------------------------------------------------------+
| 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.

+--------------------------------------------------------------------+
| Warning! |
| |
| The ANSYS CFX Solver has written a crash recovery file. This file |
| has been saved as C:\Users\User\Desktop\dESKtOP\44800_002.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 |
| C:\Users\User\Desktop\dESKtOP\44800_002: |
| |
| mon |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| Warning! |
| |
| After waiting for 60 seconds, 1 solver manager process(es) appear |
| not to have noticed that this run has ended. You may get errors |
| removing some files if they are still open in the solver manager. |
+--------------------------------------------------------------------+


This run of the ANSYS CFX Solver has finished.
===============================================
In order to get a better view this time I attached the way I set solver output to get results(Just those settings I have done). I will be great full if you check them to see if I do it right.
Thank you so much
Attached Images
File Type: jpg 2.JPG (23.5 KB, 6 views)
File Type: jpg 3.JPG (47.4 KB, 8 views)
File Type: jpg 4.JPG (35.9 KB, 8 views)
File Type: jpg 7.JPG (80.6 KB, 10 views)
File Type: jpg 8.JPG (24.8 KB, 4 views)
ROY4 is offline   Reply With Quote

Old   February 18, 2018, 04:41
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The section of the output file you posted says exactly what the problem is. Read the first error message on it carefully.

When the solver starts it generates an output file. Even if it crashes you will still have the output file and I can see it in the background of your screen shot. The error codes and workbench error dialogs are useless, it is the output file which actually tells you the problem (hopefully).
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   February 18, 2018, 07:42
Default
  #5
Member
 
Roy
Join Date: Sep 2017
Posts: 80
Rep Power: 9
ROY4 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
The section of the output file you posted says exactly what the problem is. Read the first error message on it carefully.

When the solver starts it generates an output file. Even if it crashes you will still have the output file and I can see it in the background of your screen shot. The error codes and workbench error dialogs are useless, it is the output file which actually tells you the problem (hopefully).

By this I guess that the problem most be from the first iteration and last iteration that i used for arithmetic average(the 3rd picture I attached).because it is from 300 to 20000, it can not be started from 44800..
Am I right?
ROY4 is offline   Reply With Quote

Old   February 18, 2018, 15:57
Default
  #6
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,885
Rep Power: 27
Gert-Jan will become famous soon enough
If I were you, I would perform a test with more logical values for first and last iteration.
Gert-Jan is offline   Reply With Quote

Old   February 19, 2018, 02:53
Default
  #7
Member
 
Roy
Join Date: Sep 2017
Posts: 80
Rep Power: 9
ROY4 is on a distinguished road
Quote:
Originally Posted by Gert-Jan View Post
If I were you, I would perform a test with more logical values for first and last iteration.
Dear Gert-Jan
Thanks for your answer, But can you explain more?
I am using arithmetic average because my data need to be time averaged. I feel that this must have caused this problem. If i want to continue this run what should I do? is it possible or not? should I change settings? Or somehow can I use this run as an initial guess? Because I have tried this even and I got no results, again the same error.
ROY4 is offline   Reply With Quote

Old   February 19, 2018, 04:53
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You need to make the start and end values something sensible. If you are doing a restart don't forget that it is probably appending the iteration number and simulation time onto the initial condition. So if your averaging start and end times are before your initial condition then that would make the averaging badly defined and probably cause an error. This is the type of error you are looking for.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   February 19, 2018, 07:00
Default
  #9
Member
 
Roy
Join Date: Sep 2017
Posts: 80
Rep Power: 9
ROY4 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
You need to make the start and end values something sensible. If you are doing a restart don't forget that it is probably appending the iteration number and simulation time onto the initial condition. So if your averaging start and end times are before your initial condition then that would make the averaging badly defined and probably cause an error. This is the type of error you are looking for.
Dear ghorrocks,
I made it, I could do it with changing arithmetic average settings and since it may be other peoples problem I would like to say my solution here:
************************************************** ********
1) 1st of all it is essential to know that ansys could not continue my transient run because of the time average, as it was said in error.

2) I asked a friend of mine, who had a transient solution without time average, and he said that in order to continue a run, he just needed to define the .res file of the last run so that it would be continued. to test it I deleted my time average settings and did a simple transient solution. I stopped it. and again ran the program with defining .res file. it was ok and the run continued. so i got sure that it is due to time average settings.

3)my last .trn file that i have saved was 44800, so I opened CFX-Pre and in arithmetic average part I wrote the start iteration 44800 and did not change the end iteration. then I ran my case.

4) when I transfered to the define run window, I set the 44800.trn as my initial guess. and started the run.

5) Bon Appetite...the run was continued from 44800.

So the whole time the only thing I should have done was to CHANGE THE START ITERATION OF ARITHMETIC AVERAGE to the number of the last .trn file I have saved IN MY CFX-Pre and then introduce the last .trn file generated as the Initial guess.It is essential to mention y=that you should have a .res file from your last run in order to continue it.

=============================================
Now the only question remained for me is still error 255 which is the subject of the thread I started, The complete error that CFX gave to me is:
+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX solver could not be started, or exited with return |
| code 255: . No results file has been created. |
+--------------------------------------------------------------------+

End of solution stage.

+--------------------------------------------------------------------+
| The following transient and backup files written by the ANSYS CFX |
| solver have been saved in the directory |
| C:\Users\jamshidian\Desktop\TEST 7\PBM new mesh\newMESHforPBM_001: |
| |
| 0.trn |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| The following user files have been saved in the directory |
| C:\Users\jamshidian\Desktop\TEST 7\PBM new mesh\newMESHforPBM_001: |
| |
| pids, mon |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| Warning! |
| |
| After waiting for 60 seconds, 1 solver manager process(es) appear |
| not to have noticed that this run has ended. You may get errors |
| removing some files if they are still open in the solver manager. |
+--------------------------------------------------------------------+


This run of the ANSYS CFX Solver has finished.
============================================
Can anyone understand anything of it?
I have Ansys 17.1 on windows 7 and 8 and they both give me this error after some time steps. The other system which is a computational system server 2012 is running without giving any errors, I even changed the mesh but the problem still remains. I'm currently uninstalling ANSYS to install it again and see if the problem is from installation.
Please If any one can give any answer to this error, tell me what should I do?
ROY4 is offline   Reply With Quote

Old   February 20, 2018, 05:29
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
255 error: As previously mentioned, the error codes in CFX are useless as there is no table to look them up. The only way users can figure out the problem is by reading the error message in context of where the solver is up to at the time. So please update your full CCL file, or enough of the output file that we know the context of the error and what you are trying to solve.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   February 20, 2018, 11:44
Default
  #11
Member
 
Roy
Join Date: Sep 2017
Posts: 80
Rep Power: 9
ROY4 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
255 error: As previously mentioned, the error codes in CFX are useless as there is no table to look them up. The only way users can figure out the problem is by reading the error message in context of where the solver is up to at the time. So please update your full CCL file, or enough of the output file that we know the context of the error and what you are trying to solve.
I wrote the error that is written in console, isnt that enough to notice the problem?

Unfortunately I do not understand what else should i share here so that you can understand what the problem is. It just seems that one of the solvers suddenly stops working.
ROY4 is offline   Reply With Quote

Old   February 20, 2018, 17:02
Default
  #12
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You can get the CCL from CFX-Pre, go File/export/CCL. You can get the output file from the solver manager or just get it directly from the directory CFX ran in.

The error messages from workbench are not very helpful. All the detailed information is in the output file. This is Why most experienced users of CFX do not run it in workbench, they just run it directly and avoid the unnecessary overhead of workbench.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Reply

Tags
#errorcode255


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
Error code 255 in cfx ? nitheshkumble CFX 9 December 28, 2021 09:15
[General] GroupDatasets for more than 255 objects Samourai ParaView 1 February 16, 2017 05:44
Error in CFX Solver Leuchte CFX 5 November 6, 2010 06:12
Refiner Error 255 a.m. CFX 11 August 8, 2010 04:22
error message 255 jon CFX 2 February 1, 2007 09:56


All times are GMT -4. The time now is 21:44.