General Mechanical

General Mechanical

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

APDL Command to define material properties

    • Amin
      Subscriber

      Hi,

      I would like to ask how can I define the material properties for many elements in one apdl command in Ansys workbench.

      The constructed model contains three different materials. One of them contains about 200 elements modeled using solid65 elements. These 200 elements have the same material properties. I defined the material properties (elastic modulus, Poisson's ratio, tension stress, etc.) by adding an ADPL command for each element (Image bellow), then I paste the code that contained the material properties. This operation takes a long time to define the material properties for each element (about 200 repetitions).

      I would like to ask, how can I define the material properties for 200 elements in a single APDL command without doing the 200's repetition.

    • Govindan Nagappan
      Ansys Employee
      Create a named selection with all the bodies for which you need to assign the material
      For example: named selection is called my_bodies
      You can use commands similar to this under the analysis branch(static structural, modal etc)
      /Prep7
      cmsel,s,my_bodies
      !define your material using the MP commands
      emodif,all,mat,100 !where 100 is material number
      allsel
      /solu
      For more details on these commands, check the command reference manual Command Reference (ansys.com)
      • wancheng gao
        Subscriber

        Hello Govindan, i am facing a similar problem to define the material properties using command. May I ask what the material number 100 refers to. Is it a random number i have to assign?

Viewing 1 reply thread
  • The topic ‘APDL Command to define material properties’ is closed to new replies.