Performing ANSYS Solutions Remotely
in Batch Under Windows XP

DRD highly recommends solving models in batch so it is easy to look at the output from the solver to acquire model statistics and debug a poorly solving nonlinear analysis. ANSYS provides a method for solving analyses in the background using the launcher. However, it is convenient at times to run a job from Windows Explorer or even from home while dialed into your XP system. This can be done by creating a 'dialin.bat' file that consists of this single line:

start /b ansys60.exe -b -p struct -m 300 -db 200  -i run.inp -o out.txt

This will start ANSYS and echo the output from the solver to a text file called 'out.txt'. The -p refers to the ANSYS product variable you are executing and in the example above is ANSYS/Structural. Consult page 4-8 of the ANSYS Installation and Configuration Guide for Windows for the proper product variable.

You may desire to run a series of solutions back to back overnight. This can be done by slightly modifying the dialin.bat file to include a wait statement:

start /b /wait ansys60.exe -b -p struct -m 300 -db 200  -i run1.inp -o out.txt
start /b /wait ansys60.exe -b -p struct -m 300 -db 200  -i run2.inp -o out.txt

The lines above from the dialin.bat file also refer to an input file called 'runx.inp'. This is the input deck with ANSYS commands to solve the model. The contents from a sample input file is below:

resu,model,db
/prep7
mplist...
fini

/solu
nlgeom,on

! apply forces to model
f,.....
f,......
nsubs,...
outres,all,all
eqslv,...
solve

! modify forces in second load step
f,......
solve

! adjust forces again, etc.
f,......
solve

finish
/exit

Back to Top