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:
I tried to work through the description and did the following:
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
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:
- Create a solver input file for each analysis, noting its file name and
location. - 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. - Name the text file multipleruns.dat and save it in the same directory as
the first input file in the list. - 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.
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
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
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 notMy 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
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