Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
General Mechanical

General Mechanical

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

Change material properteis for specific steps in ANSYS transient

    • ansysuser
      Subscriber

      Hello,


      I have a simulation where I have a material that is compressing and stretching alternately.  I want to be able to compress the material in step one and compress it in step two.  But after the first step, when the material is compressed, if I change the material properties in the Engineering Data screen the simulation forgets where it is and wants to start over.  Is there a way to apply the total deformation which is calculated at the end of the fist step to a new material for the next step?  Thanks!

    • dinhan0394
      Subscriber

      Yes, you can change the material of the body between load steps by using APDL commands.


      You can search for the command: MPCHG and how to use it.

    • dinhan0394
      Subscriber

      You can refer this video: https://www.youtube.com/watch?v=Qz2lbF_grkQ

    • ansysuser
      Subscriber

      I looked into it and now I see it is much more involved than a simple one-line command.  Would anyone have a sample script file I could easily modify to accomplish this task?   I know a bit of Python, so I think I could figure it out.

      Thank you!

    • dinhan0394
      Subscriber

      In Workbench Mechanical, you can using Commands Object to do it.


      in Commands Object will included 2 steps:



      • First: define new material model with specify ID

      • Second: select the body through Named Selection that you want to change the material, then use command: MPCHG, material_id, all


      In this command, material_id is ID of the material that defined in first step.

    • Swen Groen
      Subscriber

       

      Hello,

      I was wondering whether this can be re-opened. The option to the youtube channel requires costs. I am doing a project for studies and would prefer to save money.

      I have 3 questions

      1: I have rather complex material properties and would prefer not to have to program them using a command object. Is there a way to obtain the ID of the material properties taken from workbench?

      2: How do I change the material properti at a specific timestep. AKA is there an IF statement required or first specifiy the timestep when I want to change the material property. In this case I want to change the material property from timestep 6

      3. Is it correct to link the command object to the geometry or should it be somewhere in the analysis?

      Kind regards,

      Swen

       

Viewing 5 reply threads
  • The topic ‘Change material properteis for specific steps in ANSYS transient’ is closed to new replies.
[bingo_chatbox]