Running batch mode
Running batch mode
(OP)
Hi
I would like to run multiple consecutive runs in Ansys. I am unfamiliar with DOS. I cannot understand the Help file:
set ANSYS100_PRODUCT=ANE3FL
set ANS_CONSEC=YES
"C:\Program Files\Ansys Inc\V100\ANSYS\bin\intel
\ansys100" -b -i vm1.dat -o vm1.out
"C:\Program Files\Ansys Inc\V100\ANSYS\bin\intel
\ansys100" -b -i vm2.dat -o vm2.out
"C:\Program Files\Ansys Inc\V100\ANSYS\bin\intel
\ansys100" -b -i vm3.dat -o vm3.out
I have figured out the vm1.dat would be the input file, and vm1.out the output file. Do not know what '-b -i' refer to.
Also, is the path given in the example the place where Ansys is installed? Do I alter that?
Thanks
I would like to run multiple consecutive runs in Ansys. I am unfamiliar with DOS. I cannot understand the Help file:
set ANSYS100_PRODUCT=ANE3FL
set ANS_CONSEC=YES
"C:\Program Files\Ansys Inc\V100\ANSYS\bin\intel
\ansys100" -b -i vm1.dat -o vm1.out
"C:\Program Files\Ansys Inc\V100\ANSYS\bin\intel
\ansys100" -b -i vm2.dat -o vm2.out
"C:\Program Files\Ansys Inc\V100\ANSYS\bin\intel
\ansys100" -b -i vm3.dat -o vm3.out
I have figured out the vm1.dat would be the input file, and vm1.out the output file. Do not know what '-b -i' refer to.
Also, is the path given in the example the place where Ansys is installed? Do I alter that?
Thanks





RE: Running batch mode
-b switch is for batch mode execution. Don't remember -i, but if I remember well it should inhibit any call for user input in dialogs or so (e.g. in case of warnings or so).
The path in the example do is undoubtly where Ansys is installed. The input and output files can be written without the absolute path because they'll take the path from where the .BAT file will be launched. However, I seem to recall that you can write the full path as well (but there is a limitation in length).
There is also another way to start a batch execution: write a directives-file in APDL, then start the Ansys Program Launcher, choose "batch" and specify in- and out-put files as you would do with the "dos" method.
Regards
RE: Running batch mode
RE: Running batch mode
Cbrn, yes I use the second option you suggest already, but that is only for 1 run. I will try multiple batch runs now using DOS.