General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

Workbench Mechanical – APDL command – matID

    • reza.taheri
      Subscriber

      Hi fellas,

      I have several material defined in Engineering Data. In workbench Mechanical, how can I assign material to parts using APDL commands instead of choosing from the material section? I assume I have to insert a command under the geometry and use matID, but don't know how to write the command. Any help is appriciated :)

       

    • Erik Kostson
      Ansys Employee

       

      Hi

      The commands to look at are, MP, etc.

      So to define material properties needed for structural analysis we need at least the three commands, that can be added in a command snippet under a part:

      MP,EX,MATID,200E9          ! Define Elasticity Modulus

       

      MP,NUXY,MATID,0.3           ! Define Poisson’s ratio     

      MP,DENS,MATID,7800       ! Density

      All the best

      Erik

       

       

      • reza.taheri
        Subscriber

        Thanks Erik. Is there a way to only link the part with the material definition in Engineering Data rather than defining individual properties? As in like assign 'material 2' definition to 'geometry 1' using commands?

    • Rohan Sharma
      Subscriber

      Hey there,

      To assign materials to parts in Workbench Mechanical using APDL commands, you can indeed use the MATID command under the geometry. Here's an example command:

      ! Assuming your material ID is 1 and part number is 2
      MP, EX, 1, 2, Youngs_Modulus, Poissons_Ratio

      Replace Youngs_Modulus and Poissons_Ratio with the appropriate numerical values for your material. This command sets the material properties (Young's Modulus and Poisson's Ratio) for material ID 1 assigned to part 2.

      Remember to replace the placeholder values with your specific material properties and devops course part numbers.

      Hope this helps!

    • Awoke Kelemu
      Subscriber

      how can i get user manual or help manual of ANSYS software. please support me. Thank you.

      • Erik Kostson
        Ansys Employee

         

        hi see this post on how to view the help manual:

        /forum/forums/topic/how-to-access-the-ansys-online-help/

        closing this post as it is old and not related to the question you have.

        Ansys Help

        use the help link above as suggested here:

        /forum/forums/topic/how-to-access-the-ansys-online-help/

         

         

Viewing 3 reply threads
  • The topic ‘Workbench Mechanical – APDL command – matID’ is closed to new replies.