HyperWorks Solvers

Model/Save

Model/Save

Previous topic Next topic No expanding text in this topic  

Model/Save

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

SAVE

Usage

save (file=”string”)

Description

Argument

Description

file

String

Specifies the file in which the simulation state is to be saved. It must be a legal file name.

Example

# Create a model & do a simulation

m = CreateStewartPlatform (output=”Stewart-Platform”)

m.simulate (type="DYNAMICS", end=1.77, dtout=0.01, returnResults=True)

 

# Save the results at time t=1.77

m.save (file="Stewart-Platform-1.77”)

 

# Continue the simulation to t=2 and save again

m.simulate (type="DYNAMICS", end=2, dtout=0.01, returnResults=True)

 

# Save the results at time t=2.00

m.save (file="Stewart-Platform-2.00”)