I'm trying to run a linear statics problem (sol 101) and the solver just refuses to run. For troubleshooting purposes, I've created a simple beam type problem (cantilever beam, one end fixed, other end loaded). I get "0 errors, 0 warnings" but the solver immediately exits. Only the .dat and .diag files are written, neither of which seem to indicate errors.
If I open an existing .sim file (one that was initially set up and run about a month ago), the solver will run normally. I can't seem to find any differences in the solver setup options.
Solved! Go to Solution.
It could be many reasons:
• Make sure you are working in a sort PATH like C:\MODELS and all your model files there (*.prt files, *.fem, *.sim, etc..).
• Also check the nastran resources file (is an ASCII file to open with NOTEPAD.EXE) is located under <your_nx_dirextory>nxnastran\conf\nast9.rcf and make sure the nastran SCRATCH directory exist and you have rights to write on it. My suggestion is to use something like:
• Any license error you have is wrtitten in both the LOG or F06 files, take a look to them.
The .prt, .fem, and .sim files are all saved in the same folder on my C drive. The scratch location is set to my temp folder (also on my C drive). There are no .log or .f06 files created, only .dat and .diag; neither of which seem to indicate that any error has occurred.
Having absolutely no files created is a symptom of SDIR pointing to a non-accessible location.
To manually test, do the following:
Any execution errors not recorded in the .log/.f06 should show up in this command window.
Here is the line from the syslog:
C:\Program Files\Siemens\NX 9.0\nxnastran\bin\nastran.exe -sld.2_sim1-solution_1.dat prog=bundle old=no scratch=yes sys442=1 | mode background
It choked on the spaces in the path, so I changed the command to:
"C:\Program Files\Siemens\NX 9.0\nxnastran\bin\nastran.exe" -sld.2_sim1-solution_1.dat prog=bundle old=no scratch=yes sys442=1 | mode background
This gives 2 errors:
I changed it to remove the "background" command:
"C:\Program Files\Siemens\NX 9.0\nxnastran\bin\nastran.exe" -sld.2_sim1-solution_1.dat prog=bundle old=no scratch=yes sys442=1
It still gives the "input data file must be specified on the command line" error. I added the full path to the "-sld.2_sim1-solution_1.dat" file and it ran to completion.
So, how do I get NX to pass the correct parameters to the solver?
Does your .sim file name start with '-', i.e. -sld.2_sim1.sim?
The leading '-' might be throwing off the command line parser.
Your last iteration (without the " | mode background") is the correct command line for Nastran.
The fact that it ran with the full path indicates that Nastran or the file system is having a hard time dealing with the leading - in the filename. My guess is that if you rename the .sim and remove the leading '-', everything will start working.
Do the NX 8.5 and NX 10 version .sim files that worked also include the leading '-'?
Sometimes it's the simple things that you overlook.
In NX 8.5 and 10, our customer default options give a temp name to a new file in the format: model-sld_n
Apparently we forgot to set the prefix "model" name in NX 9 and it creates a new file with just -sld_n
Thanks to your sharp eyes, the problem is now fixed.