Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

What is wrong with this syntax of this material

    • ehud.septum766
      Subscriber

      I am trying to define a new material to be imported to my Ansys project with Create/Edit Materials -> User Defined Database

      Browsing the scm file and importing it I get the error

      Error: GENERAL-CAR-CDR: invalid argument [1]: improper list

      Error Object: myMaterial

      The file content is

      ;;; File Created by John Doe
      ;;;
      (myMaterial solid
      (chemical-formula . #f)
      (density (constant . 800))
      (specific-heat (constant . 3600))
      (thermal-conductivity (constant . 5e-01))
      )

      ;;; End of File


      Any help would be very welcome

    • ehud.septum766
      Subscriber

      Add a ( and trailing ) around the material:

      ;;; File Created by John Doe
      (
      (materialName solid
      (chemical-formula . #f)
      (density (constant . 800.))
      (specific-heat (constant . 3600.))
      (thermal-conductivity (constant . 5e-01))
      )
      )
      ;;; End of File
Viewing 1 reply thread
  • You must be logged in to reply to this topic.