Engineering analysis + design software

User Area > Advice

How do I run multiple Solver analyses on a PC?

This is achieved by creating a file with an extension .bat (a DOS batch command file) containing a series of LUSAS commands.

Because the LUSAS Solver is run using a batch file, the "CALL" command is required to ensure that command is returned to the calling batch file after the first Solver run is complete. For example, to run three jobs called FILE1.DAT, FILE2.DAT and FILE3.DAT, create a batch file called RUN.BAT (say) containing the following lines:

For LUSAS versions 15.2 and earlier

CALL C:\lusas152\programs\LUSAS_s.bat C:\0Work\FILE1.dat
CALL C:\lusas152\programs\LUSAS_s.bat C:\0Work\FILE2.dat
CALL C:\lusas152\programs\LUSAS_s.bat C:\0Work\FILE3.dat

The entry "C:\lusas152\programs\LUSAS_s.bat" is an example and should be the full path name to the batch file that LUSAS supply to run the Solver. The final parameter "C:\0Work\FILE1.dat" is also an example of the full path name to the data file that is to be run.

To run the batch file simply type RUN at the DOS prompt or double click the file from Windows Explorer.

For LUSAS versions 16.0 onwards

CALL "C:\ProgramData\LUSAS170\x86\lusas_S.bat" "C:\0Work\FILE1.dat"
CALL "C:\ProgramData\LUSAS170\x86\lusas_S.bat" "C:\0Work\FILE2.dat"
CALL "C:\ProgramData\LUSAS170\x86\lusas_S.bat" "C:\0Work\FILE3.dat"

The entry "C:\ProgramData\LUSAS170\x86\lusas_S.bat" is an example and should be the full path name to the batch file that LUSAS supply to run the Solver. The final parameter "C:\0Work\FILE1.dat" is also an example of the full path name to the data file that is to be run.

To run the batch file simply type RUN at the DOS prompt or double click the file from Windows Explorer.

 


innovative | flexible | trusted

LUSAS is a trademark and trading name of Finite Element Analysis Ltd. Copyright 1982 - 2022. Last modified: November 29, 2022 . Privacy policy. 
Any modelling, design and analysis capabilities described are dependent upon the LUSAS software product, version and option in use.