|
[Sponsors] |
April 19, 2016, 23:12 |
Auto-save and exits everytime
|
#1 |
New Member
Jesse
Join Date: Apr 2016
Posts: 3
Rep Power: 10 |
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")); '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? |
|
April 24, 2016, 15:53 |
|
#2 |
New Member
Owain Parry
Join Date: Apr 2016
Location: Northampton
Posts: 6
Rep Power: 10 |
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. |
|
Tags |
java, macro, saving |
|
|