General Mechanical

General Mechanical

Error Reading Tutorial .inp files

    • BSwartzell
      Subscriber

      Hello,


      I am having trouble opening a .inp file in ANSYS. The file is one of the tutorial files from "4.1 Magnetic Analysis of a Solenoid Actuator" in ANSYS Help Veiwer, which I attached a screenshot of. The file itself is given when one downloads ANSYS and is located here:


      "drive" ANSYS Incv182ansysdatamodels


      The file is called "solenoid.inp"


      When I open it I get the error code "unkown file type". I've heard great things about ANSYS and I don't understand why they would put tutorial files in the program that you can't open, as it is very frustrating.


       


      -Ben

    • Sandeep Medikonda
      Ansys Employee

      Ben,


        I am not sure what is going on at your end but I was just able to open this file without problems:



      Are you able to locate and open that particular file in a text editor? Do you see anything in it? Its located at this location on a windows machine:


      C:Program FilesANSYS Incv182ansysdatamodels

      The code in this file is really small, try either inputting these commands or saving them in a file and opening it again.



      /PREP7  


      RECTNG,0,2.75,0,0.75,   


      /PNUM,KP,0  


      /PNUM,LINE,0


      /PNUM,AREA,1


      /PNUM,VOLU,0


      /PNUM,NODE,0


      /PNUM,TABN,0


      /PNUM,SVAL,0


      /NUMBER,0   


      !*  


      /PNUM,ELEM,0


      /REPLOT 


      !*  


      RECTNG,0,2.75,0.75,3.5, 


      RECTNG,0.75,2.25,0,4.5, 


      RECTNG,1,2,1,3, 


      RECTNG,0,2.75,0,3.75,   


      RECTNG,0,2.75,0,4.5,


      FLST,2,6,5,ORDE,2   


      FITEM,2,1   


      FITEM,2,-6  


      AOVLAP,P51X 


      SAVE




      Regards,
      Sandeep
      Best Practices to post on the Student Community

    • BSwartzell
      Subscriber

      Thanks!

Viewing 2 reply threads
  • You must be logged in to reply to this topic.