I would like to run a set of independent input files in ANSYS consecutively. Can anyone explain how to do this? I found the help in the Ansys manual a little confusing.
You could always run the separate input files within one deck as a "maclib" or <name>.mac (MACro LIBrary) file (a macro is a subroutine within an input deck). See:
Firstly create an input file <name>.inp which will point to the macros in the <name>.mac file. The mac file will contain a list of macros/subroutines, which will be called in the <name>.inp just like calling Fortran subroutines. Your mac file will contain these "headers" which can be called, i.e. the header below is "model1" and is contained within a mac file e.g. "drej.mac":
model1
fini
/clear
/prep7
csys,5
dsys,0
n,1,0.,0.
n, ...
.
.
ET, 1, MPC184
.
.
your *.inp file will identify your mac file and call "model1" by:
*ULIB,drej,mac,, $ USE,model1,<arg1>,<arg2>,...
hope this helps, and apologies for the long reply
-- drej --
I am tried running a bash file using the same layout as in the help file.
When I call ansys70 (with several of the different tags) I get a message that says: "Checkout failed for the above prouduct Flexlm error message: License does not support this feature." Does this mean that I am unable to use a batch setup as the license is set up? or am I calling the wrong file? I tried tansys70 but that only brings up the launcher.
The example he has given assumes that you are using ansys multiphysics which, by the looks of your output window, FlexLm is telling you you don't have.
Refer to your licence file to see which licence you have and replace Ane3fl (multiphysics) with whatever ansys licence you have (kept in your licence.dat file)
USE DFLIB
LOGICAL(4) result
RESULT=SYSTEMQQ('e:\ansys\ansys71 -b -p ane3fl -i user01 -o user01out.txt')
or:
RESULT=SYSTEMQQ('e:\ansys\ansys71 -b -p ane3fl -i user01.txt -o user01out.txt')
But when I run the program,it says "the input file name does not exit".
I am sure the name "user01" is correct and it lies in \ansys. It's a txt file which was written by ADPL language.
My FORTRAN is visual fortran 6.5 and ANSYS is ANSYS7.1.
Hope your help!