Run OptiStruct in batch mode

User: "FabioC"
Altair Community Member
Updated by FabioC

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

Find more posts tagged with

Sort by:
1 - 4 of 41
    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    Just run :   

     

    optistruct -help 

     

    to get help informations about command line options:  

    Unable to find an attachment - read this blog

    User: "FabioC"
    Altair Community Member
    OP
    Updated by FabioC

    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

    User: "Adeline War_20893"
    Altair Community Member
    Updated by Adeline War_20893

    @FabioC Can you please send me your email address?

    User: "Adeline War_20893"
    Altair Community Member
    Updated by Adeline War_20893

    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?