×
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

NASTRAN COMMAND

NASTRAN COMMAND

NASTRAN COMMAND

(OP)
Dear all ,

Can anyone tell me how to execute many *.bdf,s files using one NASTRAN command.I do have 800 *.bdf files for a perticular set of load cases.As a usual method, one can be executed at a time. Or create a batch file & execute all, for which all the input file name needs to be keyed in.Looking for a way to avoid keying all the file names. Any suggestions from anyone is welcome,

thanks in adavance

RE: NASTRAN COMMAND

Learn to use a scripting language like Python. It's very easy to learn, and it has lots of built-in tools for the file management type things you are describing.

RE: NASTRAN COMMAND

Even on a PC you should be able to knock up a batch file using  DIR *.bdf > files.bat  in CMD to get a list of all the .bdfs. It's then just a matter of editing the file to put in the NASTRAN command on each line. Python or Perl might be slightly more elegant (though some might be of the opinion that there's precious little elegant about Perl). Plus they're free.
 

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