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

Subject: Re: XANS: HELP: ANSYS5.5 /INPUT COMMAND
Author: Dan Bohlen
Date: 1998-12-23 08:36:00

Have you tried enclosing the parameter filein in "%". ie. %filein%?

Tony Deng wrote:

> Dear xansys,

> The following commands worked fine in a interactive macro which was
> written using ANSYS5.4. However, in ANSYS5.5, command "/input,filein"
> looks for file "filein" instead of the filename input by the user
> (default "bar.in"). Is there a way to fix this?

> Thanks in advance.

> *ask,usefile,"Do you want to input data from file? (y=yes n=no)",'n'
> *if,usefile,eq,'y',then
> *ask,filein,"Enter parameter input file name:",'bar.in'
> /input,filein
> *endif

> Tony Deng
> Structual Integrity, Heat Transfer
> Environmental Control Systems
> AlliedSignal INC.

Dan Bohlen Phone: (513) 243-4645 / Dial Comm [8*332-4645]
Stress Analyst Email: dan.bohlen@a... M/D K-105
GE Aircraft Engines Fax: (513) 243-4888 or 243-4886