LS Dyna

LS Dyna

Topics related to LS-DYNA, Autodyn, Explicit STR and more.

LSDYNA with powershell

TAGGED: ,

    • Ailin Chen
      Subscriber

      Hi:

      I am trying to use Windows Powershell to automatically execute lsdyna cfile ( have successfully executed the input k file using i=input.k) but also run into error and issue. Here is what I call
      Setting the environment: ANSYS_DIR=D:\Program Temps\ANSYS Inc\v211\ANSYS
      Executing "D:\Program Temps\ANSYS Inc\v211\ANSYS\bin\winx64\lsdyna_sp.exe"  c=lspost.cfile
      And seems like lsdyna.exe is opened but get the following:
      forrtl: severe (64): input conversion error, unit -5, file Internal Formatted Read
      Image              PC                Routine            Line        Source
      lsdyna_sp.exe      00007FF79B23777D  Unknown               Unknown  Unknown
      lsdyna_sp.exe      00007FF79B1F0619  Unknown               Unknown  Unknown
      lsdyna_sp.exe      00007FF7955BE6E4  QLINK                     689  atemp.F
      lsdyna_sp.exe      00007FF7954D20B0  LSDYNA1                   598  dynm.F
      lsdyna_sp.exe      00007FF7954D1D33  MAIN__                   1752  dynm.F
      lsdyna_sp.exe      00007FF79E2B40DE  Unknown               Unknown  Unknown
      lsdyna_sp.exe      00007FF79EE6DA00  Unknown               Unknown  Unknown
      KERNEL32.DLL       00007FFCB4EB7344  Unknown               Unknown  Unknown
      ntdll.dll          00007FFCB607CC91  Unknown               Unknown  Unknown
      Press Enter to exit:
      And idea how to solve this? Or how can I ask lsdyna to run multiple cfiles without going into the GUI? Thank you!

    • Ushnish Basu
      Ansys Employee

       

      The command-line parameter “c=lspost.cfile” is for LSPP, not LSDYNA. For LS-DYNA, you will have to provide an input file using “i=input.k”

       

Viewing 1 reply thread
  • The topic ‘LSDYNA with powershell’ is closed to new replies.