×
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

Queue up simulations in NX Advanced Simulation for NX Nastran solver

Queue up simulations in NX Advanced Simulation for NX Nastran solver

Queue up simulations in NX Advanced Simulation for NX Nastran solver

(OP)
Hello!

I am trying to queue up some simulations I prepared in NX Advanced Simulation for overnight calculation with NX Nastran. The softwareversion is Siemens NX 6.

During my search on the web I found a description of how to solve it with a file named "multipleruns.dat". The way is described in the document "What's new in NX 6". According to it you have to do the following steps:
  1. Create a solver input file for each analysis, noting its file name and
    location.
  2. Using a text editor, create an ASCII text file that lists the input files in
    the order in which they should be solved. Include the full path with each
    input file name, and use a new line for each input file path/name.
  3. Name the text file multipleruns.dat and save it in the same directory as
    the first input file in the list.
  4. Solve the input file for the first analysis. The other input files listed in the
    text file are automatically solved in sequence.

I tried to work through the description and did the following:
  • First I created two different parts, meshed them and put some constraints to them
  • I exported a solver input by: File -> Export -> Simulation: [Path]\FIRST.dat
  • I did this also for the second solution: ... [Path]\SECOND.dat
  • After that I opened Notepad and typed the following:
    • \\[Path]\Testing Parts
    • FIRST.dat
    • \\[Path]\Testing Parts
    • SECOND.dat
  • Then I saved the file under multipleruns.dat in the same file, where the input files are saved
  • Finaly I imported the file multipleruns.dat by: File -> Import -> Simulation: Choosed "NX Nastran" , searched for "FIRST.dat" and pressed "OK". After confirming the solution paths, the calculation began.
The result: The first Solution has been solved. The other not.


Does anybody know, how to queue simulations, so that one can solve them overnight? Perhaps someone knows or sees a mistake in my way.

I would be very glad, if someone will help me with this.

If the problem is unclear or informations are missing, please ask.

Kind regards,

Sandcor

RE: Queue up simulations in NX Advanced Simulation for NX Nastran solver

Dear Sandcor,

I am not sure but I think you need to have the path name and the file name on the same line.

I will check and see if this is the case.

Marilyn Tomlin

RE: Queue up simulations in NX Advanced Simulation for NX Nastran solver

(OP)
Hi Marilyn Tomlin and all the others,

first of all: Thank you for your answer Marilyn!

But I still didn't solve the problem

When I read my post again, I realized a big mistake myself. I imported the input files. I didn't confirm a solution but the path to save the "new" model I imported.
Till now I didn't send a solver input file to Nastran manually. I always started my simulations by clicking on the Solve Button and confirmed the following message.

My second try:

  • To create an solver input file, I clicked the button "Solve". Then I changed the dropdown menu to "Write Solver Input File" and got the information "Nastran Deck Successfully Written"
  • I repeated that for the second model I want to get solved by the routine
  • I wrote both Filenames included with there path into the "multipleruns.dat" like the following:
    • C:\NX_Test\firstpart_sim1-solution_1.dat
    • C:\NX_Test\secondpart_sim1-solution_1.dat
  • Now I had both files opened and pressed the "Solve" button.
  • In the next window I changed the dropdown menu entry to "Solve Input File"
  • When I clicked the "OK" Button, the solver started its work-
  • The "Analysis Job Monitor" and the "Solution Monitor" confirm the correct solution of the first part
  • BUT only the solution of the part in which I started the solution gets done
The effect is still the same: One solutions gets done, the other not

My main questions remains: Does anybody know, how to queue simulations, so that one can solve them one after another?

Thanks for any help,

Sandcor

RE: Queue up simulations in NX Advanced Simulation for NX Nastran solver

(OP)
Hi,

finaly the problem is solved.

The way it works:
  • Create the "Solver Input Files"
  • Create a file with an text editor like notepad with an entry like the following for each simulation to solve. It could look like:
    • "C:\UGS\NX6\NXNASTRAN\bin\nastran.exe" progr=bundle C:\[Path to file]\[Name of "Solver Input File 1"].dat
    • "C:\UGS\NX6\NXNASTRAN\bin\nastran.exe" progr=bundle C:\[Path to file]\[Name of "Solver Input File 2"].dat
  • Save it as [filename].bat
  • To solve the input file you just have to doubleclick the .bat file
Sandcor

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