XANSYS Message: 20728 [Go back to message list]
[bookmark on del.icio.us]
No rating yet
Rate item:

Subject: Re: ANSYS batch command
Author: Man Liu
Date: 2001-02-01 04:02:00

You can simply combine the two commands (ansys first, followed by your code)
into a batch file.
Upon the completion of ANSYS session, your code will be launched to further
process ANSYS results.

Rajnikanth Gedhada on 31/01/2001 20:22:17

To: "'xansys '"
cc: (bcc: Man LIU/ART/TECHNOLOGY/GECALSTHOM)

HI Bill, Thanks for your reply. The ANSYS I have is on windows98 and the
command
c:ansysed55binintelansys -b out.txt

is working with all the other parameters as default (-m and -db etc). My
problem is I am interfacing this ansys software with my own code and would
like to use the output from the Ansys to do some other analysis not
available in Ansys. I want to run the above command many times but when I
do that, the batch process is being done in the background and my code is
trying to access a file which is in the process of creation by ansys and
am getting access violation error. I would like to use a command which
makes Ansys run in foreground so that my program would not start accessing
the output files of ANsys untill ansys has completed its process. do u
have any suggestions on that

raj

PS: it is kind of weird that the command "c:ansys56binintelansys56 -m
256 -db 32 -i batch.inp -o batch.out" which is for windows is giving me
error and the command "c:...ansys -b out.txt" meant for unix
is working.

On Wed, 31 Jan 2001, William Bulat wrote:

> Try this

> c:ansys56binintelansys56 -m 256 -db 32 -i batch.inp -o batch.out

> Bill
> OMM
> -----Original Message-----
> From: Rajnikanth Gedhada [mailto:rgedhada@e...]
> Sent: Wednesday, January 31, 2001 9:30 AM
> To: xansys
> Subject: [xansys] ANSYS batch command

> HI I want to run ansys from MSDOS prompt in the foreground. I have a input
> file which works fine in the interactive mode. Now I want to run the same
> using command line batch commands. I am running it on Windows 98 and using
> ANSYS ED 55. The following command works fine but it does it in back
> ground. but I want to do it in foreground.
> C:ansysed55binintelansys -b output.txt

> any suggestions...

> raj


Posts possibly associated with message #20728AuthorDateScore
20693ANSYS batch commandRajnikanth Gedhada rgedhada@2001/01/31 
20701Re: ANSYS batch commandBill Bulat2001/01/31 
20702Re: ANSYS batch commandErik Bardy erbardy@2001/01/31 
20704Re: ANSYS batch commandRajnikanth Gedhada rgedhada@2001/01/31 
20720Re: ANSYS batch commandChris Kennedy2001/01/31 
20728Re: ANSYS batch commandMan Liu2001/02/01