CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Auto-save and exits everytime

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2016, 23:12
Default Auto-save and exits everytime
  #1
New Member
 
Jesse
Join Date: Apr 2016
Posts: 3
Rep Power: 6
jkleve is on a distinguished road
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?
jkleve is offline   Reply With Quote

Old   April 24, 2016, 15:53
Default
  #2
New Member
 
Owain Parry
Join Date: Apr 2016
Location: Northampton
Posts: 6
Rep Power: 6
Owain_Parry is on a distinguished road
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.
Owain_Parry is offline   Reply With Quote

Reply

Tags
java, macro, saving

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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



All times are GMT -4. The time now is 01:13.