Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

reading .mac file in loop

Status
Not open for further replies.

sachin46

Marine/Ocean
Jun 12, 2013
33
Dear All,
I am writing a macro for ansys classsic where , I have many "time_0.001.mac","time_0.002.mac" ,files where 0.001,0.002 corresponds to the time at particular instant .And this files I am instreseted to read in another macro by writing following command

*do ,i, 1,4,0.001
/INPUT,'time_%i%','mac','',1,0


But I am facing problem that ANSYS is not reading time_0.001 or time_0.002 macro file .It is saying that the time_0.001 file does not exist. I think this is limition of ansys .

I have tried for reading file time_0.1 ,where it sucessfully read.
Anybody knows how to read file at syntax 0.001 ?

Thanking you in Advance.

Regards,
SACHIN46
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor