Sol 601 Contact analysis fatal error

Creator
Creator

Hi,

 

I am doing a contact analysis with NX nastran sol 601. I keep getting this fatal error:

 

  *** ADVANCED NONLINEAR ANALYSIS *** *** FATAL ERROR: INPUT FILE advnlin.op2 NOT FOUND. *** PLEASE MAKE SURE THE NASTRAN INPUT FILE CONTAINS THE FOLLOWING LINE ASSIGN OUTPUT2='advnlin.op2',UNIT=21 *** AT THE BEGINNING OF THE FILE. *** ISHELL PROGRAM 'NXNA' COMPLETED *** ^^^ USER FATAL MESSAGE ^^^ ERROR IN ADVANCED NONLINEAR MODULE 0 ^^^SOL601 FAILED 

 

It is saying that advnlin.op2 is missing however it is in my model. I also tried other models, but i keep getting this error What can be the cause of this error, and how can I solve this?

 

In attachments the .dat and .f06 files are given.

8 REPLIES 8

Re: Sol 601 Contact analysis fatal error

Siemens Phenom Siemens Phenom
Siemens Phenom

Something must be messed up with your OS environemnt/path/etc.

 

  • The necessary ASSIGN statement is in the input deck
  • You can see in the .f04 that advnlin.op2 appears in the SUMMARY OF PHYSICAL FILE INFORMATION
  • You can see in the .f06 file that Nastran is writing the appropriate datablocks to this file

 

The .f06 shows that the adina solver is called via the following ISHELL command:

 

C:\Program Files\Siemens\NX 11.0\nxnastran\bin\nxna.bat <arguments omitted>

 

Examining that script, the very first thing it does is checks for the existence of advnlin.op2:

 

rem Check that input file is ok
rem
set NASTBF=advnlin.op2
if not exist %NASTBF% (
  echo *** FATAL ERROR: INPUT FILE %NASTBF% NOT FOUND.
  echo *** PLEASE MAKE SURE THE NASTRAN INPUT FILE CONTAINS THE FOLLOWING LINE
  echo ASSIGN OUTPUT2='advnlin.op2',UNIT=21
  echo *** AT THE BEGINNING OF THE FILE.
  exit %iret%
)

 

So, for some reason, "if not exist %NASTBF%" is evaluating to a logical false on your system. This is a standard Windows batch file command.

 

One possibility is that the script is not being executed in an environment where the working directory is the directory containing advnlin.op2. You could try modifying C:\Program Files\Siemens\NX 11.0\nxnastran\bin\nxna.bat and add a line containing pwd just prior to the 'if' statement. This should echo the present working directory to the output, i.e.:

 

rem Check that input file is ok
rem
set NASTBF=advnlin.op2
pwd
if not exist %NASTBF% (
  echo *** FATAL ERROR: INPUT FILE %NASTBF% NOT FOUND.
  echo *** PLEASE MAKE SURE THE NASTRAN INPUT FILE CONTAINS THE FOLLOWING LINE
  echo ASSIGN OUTPUT2='advnlin.op2',UNIT=21
  echo *** AT THE BEGINNING OF THE FILE.
  exit %iret%
)

Re: Sol 601 Contact analysis fatal error

Creator
Creator

Thank you for the reply, I included the 'pwd' in the file (see attachement). I ran the results again and still got the same error. 

Re: Sol 601 Contact analysis fatal error

Siemens Phenom Siemens Phenom
Siemens Phenom

please post the .log/.f04/.f06 files from the run, not the updated nxna.bat

 

note that 'pwd' should be on a line by itself in the nxna.bat file

 

Highlighted

Re: Sol 601 Contact analysis fatal error

Creator
Creator

Here are the files as requested.

Re: Sol 601 Contact analysis fatal error

Siemens Phenom Siemens Phenom
Siemens Phenom

please add the .log file as requested

Re: Sol 601 Contact analysis fatal error

Creator
Creator

Here is log file.

Re: Sol 601 Contact analysis fatal error

Siemens Phenom Siemens Phenom
Siemens Phenom

That is the NX syslog, not the Nastran .log file (model1_sim1-solution_1.log)

 

Re: Sol 601 Contact analysis fatal error

Creator
Creator

Again the file. Did I insert the 'pwd' wrong? (sorry I am very inexperienced with all this stuff)

 

"Defaulting to Windows directory. 'pwd' is not recognized as an internal or external command, operable program or batch file."