×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Running batch mode

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
 

RE: Running batch mode

Hi,
-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

I think -i and -o stand for "flags" for input and output files, respectively. So when you write -i it means that the file path following that is your input file to execute. And whatever comes after -o is the output file.

RE: Running batch mode

(OP)
Thanks cbrn and slumdogengineer.

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources