|
[Sponsors] |
September 1, 2011, 01:39 |
How to recover an unfinished solver run?
|
#1 |
New Member
|
Hello expertens,
Does anyone how to recover an unfinished CFX solver run? When my transient simulation is running in Solver, it's suddenly stopped due to my computer's HDD free space. The I really one either: - To continue the run after freeing up more space, or - To generate a .res file with all finished trn results files. Here I attached an image, please help me, this is very important for me, Thank you a lot! |
|
September 1, 2011, 03:01 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
It looks like you were saving full transient results files. You will have to go to the last successfully saved full transient results file. You will be able to recover all results up to that point from there, but anything after that will be lost.
|
|
September 1, 2011, 03:23 |
|
#3 | |
New Member
|
Quote:
I did as you said and luckily, I recovered my simulation result. Thanks a lot, this is very nice!!! |
||
September 1, 2011, 13:37 |
|
#4 |
Senior Member
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21 |
Hi altomos,
The fact is you shouldn't be saving full transient files. That is equivalent of saving full result files everytime and is probably not what you're looking for. Besides it is both to disk space and time consuming. Instead, try changing you transient result file option to 'Selected Variables' and save only the variables you're interested in. You'll save plenty of space doing that. Cheers |
|
September 1, 2011, 15:01 |
|
#5 | |
New Member
|
Quote:
|
||
September 1, 2011, 22:48 |
|
#6 | |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
Quote:
Once a run is set up and going well then it makes sense to cut the results file back down only to what is needed. But blanket statements saying you should not save full files are not correct. |
||
September 1, 2011, 23:20 |
|
#7 |
Senior Member
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21 |
Hi Glenn,
Sorry, but it's not a blanket statement. A CFX results file is filled with dozens (sometimes hundreds) of different 3D fields that are important during the solver calculation. But I find it hard to believe that an engineer will need to analyze every single one of these fields in order to draw conclusions. Saving only the variables you're interested in do save time and disk space. In my opinion, even for debugging saving the full results is a bad procedure, since CFX will save some (or lots of?) complete 3D fields of unneeded stuff. For instance, saving the mesh every timestep on a fixed domain simulation is a true waste of space. Same goes for material properties for fluids with constant properties. The list could go on. Last, it's amazing how many people run long simulations without a clue of what to look for (not your case, of course). Saving only some variable forces the user into thinking what he wants from the simulation from the beginning. So yes, I maintain my idea that users shouldn't generally save full transient files. Cheers. |
|
September 1, 2011, 23:37 |
|
#8 | |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
Quote:
If you do not save the mesh in the results file and the run crashes you will not be able to recover anything. You need the mesh in final results file to read the intermediate ones. And as I previously said, if the run completes OK and they are not needed then you just delete them. But if you need them they come in very handy. If you save lots of full results files and don't delete the ones you don't need and don't use reduced results files where suitable then yes, you will fill your hard drive pretty quickly. |
||
September 1, 2011, 23:52 |
|
#9 |
Senior Member
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21 |
I think we're talking about different things. I was talking about transient intermediate files, which I don't believe should be saved with full results settings. I agree you might need complete results for restarts, but that's why CFX has backup files (and different tabs and settings for transient, backup and results files). Saving full backup files is obviously a good practice, and full result files needs no comments.
|
|
September 2, 2011, 02:20 |
|
#10 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
No, we are talking about the same thing.
Previous releases of CFX had problems with backup results files in transient runs. I think it was fixed way back in V5, but since then I had never used backup files in transient runs. I understand that bug is fixed now and they work fine, but I am set in my ways I commonly setup two sets of results files in a transient run, a minimum set of results files with the variables I always use (velocity, pressure, temperature) at a time interal suitable for later animations, and a second set of results files which are a full results file simply to act as a backup in case the run crashes or the computer goes down. |
|
September 3, 2011, 16:07 |
problem in Transient simulation
|
#11 |
Member
Mina
Join Date: Apr 2011
Posts: 88
Rep Power: 15 |
Dear CFX users
I am running a transient file in Workbench ansys. when i stop simulation and then continue that, it seems that in the time step that i stoped solving and then contine there is a jump in MONITOR FILES, which i don't know why it happens. it looks that just in this point it goes by a line to the first time and then continues. Does anybody have the same experience? |
|
September 3, 2011, 21:20 |
|
#12 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
Can you post an image of what you are seeing?
|
|
September 4, 2011, 05:55 |
|
#13 |
Member
Mina
Join Date: Apr 2011
Posts: 88
Rep Power: 15 |
Unfortunately not
because every time it happened i reran it from the first time step. |
|
September 7, 2011, 19:39 |
|
#15 |
Member
Mina
Join Date: Apr 2011
Posts: 88
Rep Power: 15 |
I also got this note:
| The CFX results that are being used to initialise this | | simulation were generated at a time value that is inconsistent | | with the Coupling Initial Time value set in the CFX Input File. | | Please review results carefully. | | CFX results time : 5.2400E-02 | | Coupling Initial Time : 0.0000E+00 | i am solving a fluid structure interaction problem and after this notice i have jump in my result , can you please some body help me? |
|
September 7, 2011, 23:21 |
|
#16 |
Senior Member
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21 |
Hi Mina,
What's happening is that CFX is not restarting your simulation with the correct initial time. Start checking the 'Simulation Type' definition of your simulation. You probably have an error like that on the ANSYS side as well. Restarting FSI simulations is not straighforward. You will need to set extra MFX commands on your ANSYS input file. Take a look at both ANSYS and CFX documentation. They have a section regarding what you'll need to do. Cheers |
|
September 8, 2011, 05:32 |
|
#17 |
Member
Mina
Join Date: Apr 2011
Posts: 88
Rep Power: 15 |
Thanks for you reply
Yes when i restart the run apparently initial time in Ansys goes to Zero while in CFx it is Ok and sets according to previous simulation time, and i don't know how to manage it |
|
December 21, 2011, 22:24 |
|
#18 |
Member
Lingdeer
Join Date: Jul 2011
Posts: 49
Rep Power: 15 |
I have the exactly same problem as you Mina_Shahi. Happy and sad at the same time! :P
Anyone know the solution to this? I tried to change the restart time step on ANSYS but it kept on restarting from 0. Also, since the .rdb is written the beginning of the run and never get updated later, would that be a problem? (I have all the .Rnnn files though). Thanks in advance!!! |
|
December 22, 2011, 08:04 |
|
#19 |
Senior Member
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21 |
Elaine and Mina,
Restarting an FSI run that did not come to a clean stop is not straighforward and has its requirements, the most important (and obvious one) being that there needs to be a backup file from both CFX and ANSYS at the same timestep. You might also need to play with some APDL restart commands. Just follow the instructions from the documentation (section 2.6.7 on the CFX help) and you should be good to go. Cheers |
|
December 22, 2011, 12:37 |
|
#20 |
Member
Lingdeer
Join Date: Jul 2011
Posts: 49
Rep Power: 15 |
Thanks Brunoc.
I tried that but still the ANSYS restart from step 0. Even though I added: (Let's say the timestep is stopped is at the middle of 188, my time step size is 0.01 so it's the 1.87s) MFRSTART, 187, MULT and ANTYPE,4,RESTART,187,,CONTINUE I have two rnnn files, that get overwritten every two time steps. So I have .r001 and .r002 Which .r001 is the step which 187 is written and .r002 is the step which 188 is written but this time step is not finished. I tried to rename to .r187, but still, ANSYS still show an error that it cannot find the rnnn file of the time step specified. If I use -1 in MFRSTART, it will start with the 0th coupling step. Did I do anything wrong? Also, the rdb is not updated everytime step and is only written at the beginning of the run. Would that be a problem? |
|
Tags |
cfx, error, recover, solver |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
different results between serial solver and parallel solver | wlt_1985 | FLUENT | 11 | October 12, 2018 09:23 |
OpenCL linear solver for OpenFoam 1.7 (alpha) will come out very soon | qinmaple | OpenFOAM Announcements from Other Sources | 4 | August 10, 2012 12:00 |
Symmetry plane error in solver | Santiago Orrego. | CFX | 6 | January 31, 2007 08:09 |
Help, can't stop solver run...Windows OS | ben akih | CFX | 2 | November 13, 2006 11:05 |
Convergence with coupled implicit solver | Henrik Ström | FLUENT | 1 | October 29, 2005 04:57 |