HOW TO RUN HYPERMESH CFD IN BATCH MODE?

Enrico Lorenzi
Enrico Lorenzi Altair Community Member
edited April 12 in Community Q&A

Hi everyone, 

i'm trying to create a script loop where i have to run hypermesh CFD in batch mode. I've already written the TCL code and if i put it directly into the TCL Comand on Hypermesh CFD it works without any problem.

But when i try to run Hypermesh CFD with the TCL script from batch (cmd) with the following command (C:\Program Files\Altair\2023.1\hwdesktop\hm\bin\win64\hmbatch.exe" -tcl "C:\Users\enrico.lorenzi\Desktop\Lavoro\CFDTrial\Iteration5\Comand_Script.tcl)  it returns me errors (image attached below) because it doesn't recognize the commands contained into the tcl script .

Seems as running hmbatch.exe start a session of hypermesh but not a session of hypermesh CFD so it doesn't recognize the hypermesh CFD comands. Is there a specific comand to run hypermesh CFD in batch mode from cmd? 

Thank you,

Enrico 

image

Answers

  • acupro
    acupro
    Altair Employee
    edited April 12

    If you are able - please attach the script itself, as well as the files (geometry, etc) the script accesses.

  • Enrico Lorenzi
    Enrico Lorenzi Altair Community Member
    edited April 12

    yes here you go the tcl script