×
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

Submitting Nastran Jobs in batch mode on Windows

Submitting Nastran Jobs in batch mode on Windows

Submitting Nastran Jobs in batch mode on Windows

(OP)

thread2-270689

This is in response to the query that OP has asked for in the above thread. Although the response suggested "somewhat" answers the question posed, here is a more elegant way of doing it in MS-DOS.

Copy & paste the following line in a notepad window and save it as "run.bat" (for example) in your working directory where you have the nastran input files in *.dat extn

**********
for %%i in (*.dat) do call C:\MSC.Software\MD_Nastran\20101\bin\mdnastran.exe scr=y old=n news=n %%i

**********

Execute the file, by double-clicking on "run.bat"

The path that you see there is the path for the mdnastran exceutable on my machine. Should be changed to whatever "nastran.exe" path the user might have on their machines. If you have the nastran files in *.bdf extension, replace the (*.dat) in the line to (*.bdf)

This runs for any number of nastran I/P files that you may have.

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