Batch file for multiple runs [APDL]
Batch file for multiple runs [APDL]
(OP)
thread569-238844: Running batch mode
Hi all!
I am trying to set up a batch file that will allow me to run a series of analyses overnight - similar to the problem posted in the thread referenced above. As with the original post I am unfamiliar with DOS and I cant quite follow the directions in the Help file for creating the batch file.
set ANSYS121_PRODUCT=ANE3FL
set ANS_CONSEC=YES
"C:\Program Files\Ansys Inc\V121\ANSYS\bin\<platform>
\ansys121" -b -i vm1.dat -o vm1.out
"C:\Program Files\Ansys Inc\V121\ANSYS\bin\<platform>
\ansys121" -b -i vm1.dat -o vm1.out
etc...
Is this the only bit of code I need to write and save as a .BAT file?
In particular, I dont quite follow the definition of the input/output files. Do I enter the location of each file? If anyone could offer some insight or post a sample/link to a completed batch file so I could figure it out I would greatly appreciate the help.
I am using Ansys 12.1 with an academic research licence with Windows XP SP2 x64.
Thanking you,
Dave
Hi all!
I am trying to set up a batch file that will allow me to run a series of analyses overnight - similar to the problem posted in the thread referenced above. As with the original post I am unfamiliar with DOS and I cant quite follow the directions in the Help file for creating the batch file.
set ANSYS121_PRODUCT=ANE3FL
set ANS_CONSEC=YES
"C:\Program Files\Ansys Inc\V121\ANSYS\bin\<platform>
\ansys121" -b -i vm1.dat -o vm1.out
"C:\Program Files\Ansys Inc\V121\ANSYS\bin\<platform>
\ansys121" -b -i vm1.dat -o vm1.out
etc...
Is this the only bit of code I need to write and save as a .BAT file?
In particular, I dont quite follow the definition of the input/output files. Do I enter the location of each file? If anyone could offer some insight or post a sample/link to a completed batch file so I could figure it out I would greatly appreciate the help.
I am using Ansys 12.1 with an academic research licence with Windows XP SP2 x64.
Thanking you,
Dave





RE: Batch file for multiple runs [APDL]
RE: Batch file for multiple runs [APDL]
Thanks for the reply. So would I just create the .BAT file in the same directory as the input files in the following manner:
set ANSYS121_PRODUCT=aa_r
set ANS_CONSEC=YES
"C:\Program Files\Ansys Inc\V121\ANSYS\bin\WINX64
\ansys121" -b -i RUN1.dat -o RUN1.out
"C:\Program Files\Ansys Inc\V121\ANSYS\bin\WINX64
\ansys121" -b -i RUN2.dat -o RUN2.out
etc...
I think this might be right. Il try it today, Thanks again for the reply.
Dave
RE: Batch file for multiple runs [APDL]
That works fine for me now. Thanks for the directions!
Dave
RE: Batch file for multiple runs [APDL]
"C:\Program Files\Ansys Inc\V121\ANSYS\bin\WINX64
\ansys121" -b –j RUN1 -i RUN1.dat -o RUN1.out
regards
Jalil