Can i queue up multiple cases to ruin simulations one after another.

Feroz
Feroz Altair Community Member
edited June 2022 in Community Q&A

I have multiple cases that I want to run overnight. is there a way to set up a queue, such that, when one simulation finishes convergence the next can auto start.

Many thanks in advance,

Answers

  • acupro
    acupro
    Altair Employee
    edited June 2022

    If you export the multiple jobs into the same directory, you can use Altair Compute Console to point to multiple input files, then the jobs will run one after the other.

    If you export the multiple jobs into different directories, you'll need to create your own batch script to run through the different jobs one after the other.

    Here is sample content for a windows batch script:

    cd D:\test\pipe1
    call acuRun -pb pipe1 -np 2
    call acuTrans -pb pipe1 -to h3d
    call acuHeatBalance -pb pipe1
    cd D:\test\pipe2
    call acuRun -pb pipe2 -np 2
    call acuTrans -pb pipe2 -to h3d
    call acuHeatBalance -pb pipe2

    Let's say you put this into a file called:   acuBatch.bat

    Then you simply need to open the AcuSolve Cmd Prompt, change directory to where you've saved that acuBatch.bat file, type    acuBatch.bat   and Enter - to launch that script.