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

Res-file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2005, 01:39
Default Res-file
  #1
DAK565656
Guest
 
Posts: n/a
Hi! Please tell me how can I run def-file in cfx-solve with writing res-file after each iteration?
  Reply With Quote

Old   November 30, 2005, 04:33
Default Re: Res-file
  #2
Kramer
Guest
 
Posts: n/a
Hi there, just define that you want to backup results (full) every iteration. You can do so in CFX-Pre. By the way, why do you want to do that? You will need much hard disk space if you are using many cells.

Kramer
  Reply With Quote

Old   November 30, 2005, 04:54
Default Re: Res-file
  #3
DAK565656
Guest
 
Posts: n/a
Because calculation time is about 4 days. And if something happens with power I wouldn't be able to recover results
  Reply With Quote

Old   November 30, 2005, 06:16
Default Re: Res-file
  #4
siv
Guest
 
Posts: n/a
hi if you write result for each iteration it will take lot of time to finish the simulation. By default it will automatically over writes the old result file with new one. So you can overcome hard disk space problem.
  Reply With Quote

Old   November 30, 2005, 08:17
Default Re: Res-file
  #5
longbow
Guest
 
Posts: n/a
First of all, you need intermediate result in case your job stops abnormally. However, it may not be necessary to save an intermediate result at end of each iteration because it will increase total simulation time. Saving intermediate result will also hurt parallel performance. The more partition you have, the longer saving result will take. The frequency of saving intermediate result depends on how long the running time you can afford to loss. If you don't want to loss more than one- or two-hour running time and solver can complete N iterations in this period, you need to save result every N iterations.
  Reply With Quote

Old   November 30, 2005, 09:10
Default Re: Res-file
  #6
Rui
Guest
 
Posts: n/a
Hi,

As Kramer and Siv said, in Pre (Output Control, Backup Results) you can choose to backup (full) results every N iterations. This will create a file k*N_full.bak when the iteration k*N is completed. By default, when this backup file is created, the last backup file (k-1)*N_full.bak is delected.

Rui
  Reply With Quote

Old   November 30, 2005, 22:37
Default Re: Res-file
  #7
rajit
Guest
 
Posts: n/a
hi all, i just want to confirm wat rui said.if it is goin to delete the the previous bak up file while creating the new one then what if i want to post process the results intermediately.then in tht case wat do i do?.

thanx rajit
  Reply With Quote

Old   November 30, 2005, 23:20
Default Re: Res-file
  #8
Neale
Guest
 
Posts: n/a
When you use the "interval" option previous backup file is deleted after the latest one has been successfully written.

You can post process the previous one until it's deleted I suppose. You can post process the latest one once it is written...??

Neale
  Reply With Quote

Old   December 1, 2005, 06:45
Default Re: Res-file
  #9
Kramer
Guest
 
Posts: n/a
You can just choose to keep all backup files (option in cfx-pre, again watch for your hard disk space; for my last simulation the bak-files (full) were aboute 600 MB, 3M Hexas). Just set the backup interval (cfx-pre) to a good compromis between safety, hard disk usage and speed. The writing of the backup-files can take about 15 min on a big simulation, especially when solving parallel.

When you do so, you will be able to analyse all the intermediate steps in your simulation.

Kramer
  Reply With Quote

Old   December 2, 2005, 10:24
Default Re: Res-file
  #10
Stevie Wonder
Guest
 
Posts: n/a
As long as the backup isn't bigger than 2GB the default operation is to delete the older files. It seems that there's an issue in the code that I had to delete manually my older backup files. My system is a linux 32bit with ext3 filesystem. I had res files up to 3.5GB. Big runs.
  Reply With Quote

Old   December 3, 2005, 06:41
Default Re: Res-file
  #11
R P
Guest
 
Posts: n/a
DAK

If at all you have space on your drive and if you want NOT TO DELETE old backup files, use expert parameters option in CFX pre and say to the software not to delete the old backup files.

Be careful, you should have space on your drive else, you cannot get the latest results file also

R P
  Reply With Quote

Old   December 4, 2005, 11:07
Default Re: Res-file
  #12
ali
Guest
 
Posts: n/a
II just want to add to all the pervious.

1- Check your mesh. Bad quality mesh results in difficulty in coverage. It takes more time to reach required residuals.

2- Upgrade the memory. This'll save a lot of time. In my computer, memory upgrade from 1 to 2 GB reduced calculation time from 4-6 days to 10-12 hours!!

3- If you have a parallel license, run the simulation as local parallel on your machine. This also save time.

Ali

  Reply With Quote

Old   December 5, 2005, 09:16
Default Re: Res-file
  #13
Stevie Wonder
Guest
 
Posts: n/a
According to your item 2) it looks like you've got 4-6 days running the simulation using the virtual memory. Poor hard disc.
  Reply With Quote

Old   December 6, 2005, 09:44
Default Re: Res-file
  #14
ali
Guest
 
Posts: n/a
I don't think virtual memory affect simulation time. I incresed it but it didn't help.

Ali
  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
tecio compilation errors in latest 1.6.x rsamuel OpenFOAM Bugs 2 June 25, 2021 08:10
[OpenFOAM.com] OpenFOAM 1.7.1 installation on LINUX UBUNTU 10.10 electrosin OpenFOAM Installation 40 May 31, 2016 05:11
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 BlGene OpenFOAM Meshing & Mesh Conversion 10 August 6, 2009 04:26
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise mbeaudoin OpenFOAM Installation 20 June 17, 2008 06:43
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24


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