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

CFX5.5 Solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2002, 03:28
Default CFX5.5 Solver
  #1
Sara
Guest
 
Posts: n/a
Hi all,

I would like to ask the function of "restart current run" in CFX5.5 Solver.

For my situation, sometimes there is a electricity problem in my office, so it will terminate my running in the solver before the runnung finished. There's only .out file in my directory and no corresponding .res file.

So, can I use the "restart current run" for the unfinished running? If yes, how can I activate that function (because the function is in grey)? Anyone can help me please? Thank you in advance.

Regards, Sara
  Reply With Quote

Old   July 4, 2002, 05:26
Default Re: CFX5.5 Solver
  #2
Bouke
Guest
 
Posts: n/a
Hi Sara,

As I understand it:

The "restart run" command is just a shortcut for defining a new run with the same .def file as the one you are viewing using the latest .res file as initial values file. If there is no .res file, CFX cannot 'restart' the run so the option will be grayed out.

Your real problem seems to be that the intermediary calculation results are not saved before your machine drops out.

You will probably want to check out the solver backup frequency option in Build under Solver Control / Options. If you set it to a non-zero value, intermediary dat will be saved every so many iterations & you can restart from that data later on (Please read the corresponding section in CFX help for details).

good luck,

Bouke
  Reply With Quote

Old   July 4, 2002, 06:19
Default Re: CFX5.5 Solver
  #3
Sara
Guest
 
Posts: n/a
Hi Bouke,

I've just experienced the same problem again before getting your advice...! So, really thanks for your response and advice. Hope it helps me to fix this "FREQUENT" problem! Hahaa...Kidding!^^

Thanks again.

Sara
  Reply With Quote

Old   July 4, 2002, 10:05
Default Re: CFX5.5 Solver
  #4
Bob
Guest
 
Posts: n/a
Question for you both, if you set the out put frequency to a non zero then you will get multiple result files ? Once a run is finished can you then just delete these (as space will become an issue) or do you have to keep them ? I've found in CFD Post that you need to keep all transient result files labeled .trn, even if you are not interested in the majority of the results. If you don't keep all the files then Post will not allow you to view the results. Has anyone else found this ?
  Reply With Quote

Old   July 4, 2002, 11:14
Default Re: CFX5.5 Solver
  #5
Bouke
Guest
 
Posts: n/a
Bob,

You indeed get multiple result files. It would be a nice feature if you could choose to generate only one and overwrite it, so save space / allow more frequent backups as a protection against e.g. power failures, but I don't think this is currently possible.

For transient simulations, you do not specify the backup frequency but create transient result files instead, but this is more or less the same thing, provided you use full result files (containing all flow data) and not minimal ones (containing data only for selected variables).

For restarting a crashed simulation you need to keep only the last of these files. (Although in transient cases you probably want to keep several anyway for post-processing).

I have not experienced your problem with trn files in CFX Post. I did have some trouble using Timestep selector (it looks in a wrong directory when loading trn files) so I use "Load results" to read in trn files. This may be tedious if you need to look at many different time steps, but I guess it should always be possible (provided the trn file is not corrupted). I have not tried this with minimal result files, however.

Hope this helps,

Bouke

  Reply With Quote

Old   July 4, 2002, 17:54
Default Re: CFX5.5 Solver
  #6
steve
Guest
 
Posts: n/a
Try the expert parameter "delete backup files".
  Reply With Quote

Old   July 5, 2002, 08:08
Default Re: CFX5.5 Solver
  #7
Sara
Guest
 
Posts: n/a
Hi,

There is one more question that if i'm running a transient simulation and there's a sudden power failure, how can I do? There're some .trn files but no .res file in the directory. So, can I restart from where it was stopped? And it seems that we can't set the "solver backup frequency" for the transient simulation. So, any suggestions to me for the sudden power failure when running a transient simulation? Thanks!

Regards, Sara
  Reply With Quote

Old   July 9, 2002, 09:58
Default Re: CFX5.5 Solver
  #8
Bob
Guest
 
Posts: n/a
Hi Sara, I think you can specify in the transient result output section of Build, to specify either a full results output or a minimal output. The full output will allow you to restart from it. However this will take up more disk space as there is more information in the file than in the minimal results file. Bob
  Reply With Quote

Old   July 12, 2002, 07:49
Default Re: CFX5.5 Solver
  #9
TheOneOnTheRight
Guest
 
Posts: n/a
Yes, the transient results files are stored in a subdirectory from your working directory and should have a similar name to the run you are doing. If you COPY the last (full) transient results file saved from the sub-directory and put it in you working directory you can use this as your restart file. I would rename it to something more useful and give it a .res extension. I would probably also get your electrics looked at as well
  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
A New Solver for Supersonic Combustion nakul OpenFOAM Announcements from Other Sources 19 February 27, 2024 10:44
[Other] A New Solver for Supersonic Combustion nakul OpenFOAM Community Contributions 20 February 22, 2019 10:08
Quarter Burner mesh with periosic condition SamCanuck FLUENT 2 August 31, 2011 12:34
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 15:08


All times are GMT -4. The time now is 23:02.