CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   Auto-save and exits everytime (https://www.cfd-online.com/Forums/star-ccm/169901-auto-save-exits-everytime.html)

jkleve April 19, 2016 22:12

Auto-save and exits everytime
 
I'm trying to save my simulation at the end of the loop before increasing the angle of attack and redoing the simulation. I'm saving by using the following line
Code:

sim.saveState(resolvePath(job_name + "_A" + a + ".sim"));
Everytime on the first angle of attack it runs the line before this but then saves a file in the format of wing@01000.sim where wing.sim was the original file. Looking at the output file it says
'Auto save: wing@01000.sim
Saving: wing@01000.sim
Simulation saved to wing@01000.sim (xxxGB in xx.xxxs).
Server process exited with code 0'

Does anyone know why this is happening. I've used this command before and it's worked fine but lately I've been unable to get this to work.

Also not that I did a test where I got rid of the meshing, run, and save plot commands so that the macro was only increment alpha and then save the file and it saved the file correctly for each angle of attack I ran it for. Has anyone seen this before?

Owain_Parry April 24, 2016 14:53

Hi,

It sounds like you've enabled the simulation "Auto Save". You can easily check by going to the "Auto Save" menu that resides in the "File" tab. With the menu open, expand the "Update" node and check if you have a tick in the box next to "Enabled". If you don't want to autosave then this should be unticked.

Hope that helps.


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