meshing in batch mode

User: "Enrico_20294"
Altair Community Member
Updated by Enrico_20294

Hi All,

I have to run in batch mode a tcl file, in which a meshing process is recorded.

Is there a guide or some tutorials?

The tcl is perfectly working if i run it from Hypermesh, but it doesn't if I use hmbatch.exe

 

Thanks,

Enrico

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "Imoto"
    Altair Employee
    Updated by Imoto

    Hello @Enrico

     

    In most cases you have to load the template file, instead of select UserProfile.

    Please try to add the this line for beginning of your script.


    *templatefileset [file join [hm_info -appinfo ALTAIR_HOME] templates feoutput optistruct optistruct]

    Note: If you are not using OptiStruct profile, please change to your user-profile.

     

    Thanks,
    Imoto

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi All,

    I have to run in batch mode a tcl file, in which a meshing process is recorded.

    Is there a guide or some tutorials?

    The tcl is perfectly working if i run it from Hypermesh, but it doesn't if I use hmbatch.exe

     

    Thanks,

    Enrico

     

    Hmbatch.exe will call hmopengl.exe

     

    So you can call hmopengl.exe directly and hide its GUI by prepending this line:

    wm withdraw .

    And append 'exit' 

     

     

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

    Thank you!