CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   STAR-CCM+ (http://www.cfd-online.com/Forums/star-ccm/)
-   -   File .sim~ (http://www.cfd-online.com/Forums/star-ccm/66804-file-sim.html)

sarav July 24, 2009 06:55

File .sim~
 
Hi everybody,
I would like to know how I can set starrccm+ in order to NOT CREATE the .sim~ file when I save a simulation.
I don't know if it is possibile.
Thanks

kyle July 24, 2009 15:35

It would be pretty dangerous to not save the .sim~ file. What if you ran out of disk space while saving? What if you were saving to a remote disc and the connection gets interrupted? You would lose everything. Disc space is much cheaper than having engineers do work twice.

Maddin July 27, 2009 05:07

Only delete them after the simulation is closed.
I had destroyed some sim file with deleting them before saving and closing the ".sim" filme.

f-w July 28, 2009 20:01

Hopefully it'll be an option in a future release, which I'm requesting.

sarav August 4, 2009 03:02

Quote:

Originally Posted by kyle (Post 224075)
It would be pretty dangerous to not save the .sim~ file. What if you ran out of disk space while saving? What if you were saving to a remote disc and the connection gets interrupted? You would lose everything. Disc space is much cheaper than having engineers do work twice.

My problem is that on the cluster I've to use there is not enough memory and I can't delete anything! :(

sarav August 4, 2009 03:06

Quote:

Originally Posted by f-w (Post 224487)
Hopefully it'll be an option in a future release, which I'm requesting.

Ok,thanks!
I would need this function now.....:confused:

Maddin August 4, 2009 03:36

Save it local and then send it to the cluster?!

sarav August 4, 2009 10:26

Quote:

Originally Posted by Maddin (Post 225180)
Save it local and then send it to the cluster?!

The problem is saving the solution file on the cluster.
On it, there is memory enough for the file.sim created on the lab's computer, but there is not enough memory to save the file.sim (with the solution) and the file.sim~ after the simulation has run!

aerospaceman November 18, 2009 20:43

What is this .sim~ file?
 
It is great to know that other people also have this problem.

What exactly is this blasted .sim~ file?

It seems to be created automatically and takes up a huge amount of memory.

Any help would be great.

Thanks.

kyle November 18, 2009 21:47

The .sim~ file is the backup file. This is not unique to Star-CCM+, many programs do this. Most text editors save a backup copy with a ~ suffix, Prostar saves *.bak file, even MS Office applications save a backup file.

When you save the simulation, the previous saved file is moved to *.sim~ and a new file is written at *.sim. If you were to turn this off, what would happen if there were a problem while saving? What would happen if you ran out of disk space while saving? You would have lost your only copy of the simulation. Even if you could turn this off, you would not want to. Disk space is extremely cheap.

Maddin November 19, 2009 04:51

MS Office often didn't create a backup file which is 1-2GB...

kyle November 19, 2009 12:40

It creates a backup that is the same size as the document. CFD simulations just happen to be several gigabytes.

Maddin November 19, 2009 13:17

Make a big mesh, save it. Then make some steps and you have the problem when your linux account don't allows much more space.

aerospaceman November 20, 2009 21:33

Right, thanks a lot Kyle.

So essentially the sim~ file is the second last version to be saved, is that correct?

This make a lot of sense.


All times are GMT -4. The time now is 00:10.