Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

NASTRAN COMMAND

Status
Not open for further replies.

shearlag

New member
Apr 13, 2007
30
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
 
Replies continue below

Recommended for you

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.
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor