×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

reading .mac file in loop

reading .mac file in loop

reading .mac file in loop

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources