|
[Sponsors] |
November 30, 2005, 01:39 |
Res-file
|
#1 |
Guest
Posts: n/a
|
Hi! Please tell me how can I run def-file in cfx-solve with writing res-file after each iteration?
|
|
November 30, 2005, 04:33 |
Re: Res-file
|
#2 |
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 |
|
November 30, 2005, 04:54 |
Re: Res-file
|
#3 |
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
|
|
November 30, 2005, 06:16 |
Re: Res-file
|
#4 |
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.
|
|
November 30, 2005, 08:17 |
Re: Res-file
|
#5 |
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.
|
|
November 30, 2005, 09:10 |
Re: Res-file
|
#6 |
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 |
|
November 30, 2005, 22:37 |
Re: Res-file
|
#7 |
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 |
|
November 30, 2005, 23:20 |
Re: Res-file
|
#8 |
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 |
|
December 1, 2005, 06:45 |
Re: Res-file
|
#9 |
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 |
|
December 2, 2005, 10:24 |
Re: Res-file
|
#10 |
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.
|
|
December 3, 2005, 06:41 |
Re: Res-file
|
#11 |
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 |
|
December 4, 2005, 11:07 |
Re: Res-file
|
#12 |
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 |
|
December 5, 2005, 09:16 |
Re: Res-file
|
#13 |
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.
|
|
December 6, 2005, 09:44 |
Re: Res-file
|
#14 |
Guest
Posts: n/a
|
I don't think virtual memory affect simulation time. I incresed it but it didn't help.
Ali |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |