Run OptiStruct in batch mode
Good morning
I use Optistruct for topology optimization.
Since I need to do everything automatically, I have created a Tcl script which gives me back the *.hm and *.fem files.
I have tested the script manually and it works!
The next step is to use a batch file to run the optimization. In the batch file I use the following commands:
hmbatch -b -tcl osmacro.tcl (this line to run the Tcl macro)
optistruct_14.0_win64 macro.fem -analysis (this line to run the analysis)
It runs the analysis, I get the *.h3d file. But I am not able to understand how to run the optimization.
Could you please help me?
Thanks
Fabio
Answers
-
Just run :
optistruct -help
to get help informations about command line options:
0 -
Thanks for your answer!
I have performed the optimization with the following line:
optistruct_14.0_win64 macro.fem -license=OPT
instead of using -analysis
Regards
0 -
@FabioC Can you please send me your email address?
0 -
FabioC said:
Thanks for your answer!
I have performed the optimization with the following line:
optistruct_14.0_win64 macro.fem -license=OPT
instead of using -analysis
Regards
Can you please tell me if you wrote the code "hmbatch -tcl" in Matlab and the "optistruct.bat" -.fem
in the tcl file of hypermesh to call the .fem file?
0