General Mechanical

General Mechanical

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

How to change material properties or material assignment in between steps

    • saad1996
      Subscriber

      Hello,

      I am running a structural analysis in which a beam is cooled down to a certain temperature and then reheated back to the original temperature. The temperature vs thermal strain relation is different for the heating and cooling stages. is there a way I can define these different material properties for the different steps

    • Vinayak Vipradas
      Ansys Employee
    • saad1996
      Subscriber
      Thanks For Your Response I tried applying the change in material properties as an apdl command as shown in the sample example and while the model runs, the results obtained for the second step are completely off. I have attached the apdl code I used below:
      MP,EX,2,60000
      MP,NUXY,2,0.2
      !EMODIF,ALL,MATID,2
      MPCHG,2,ALL
      Note that in this attempt, I only changed the elastic modulus from 30000 to 60000 for the purpose of trying out the command. Do you have any idea where I may have gone wrong?
      I highly appreciate your help
    • greg2835
      Subscriber
      To confirm, did you set the step number for the command as seen below from vviprada?


    • saad1996
      Subscriber
      hello Yes, I changed the step number as shown
    • greg2835
      Subscriber
      Are you trying to change modulus of specific elements? Or is the beam a single element? Did you deactivate thermal strain?
    • saad1996
      Subscriber
      The entire beam is a single element. I tried running the model with thermal strain on and off but both give garbage answers for the second step. Please let me know what other information might be helpful for solving this problem as I have been trying to figure it out for a while now.
      Thank you
    • greg2835
      Subscriber
      Not too sure. I ran it on a single element and got expected results (see below). Like you I just doubled the modulus and got half the deflection. Does your material have a temp vs modulus table in Engineering Data? If so I would remove that, not really sure what else it would be without seeing your setup


    • saad1996
      Subscriber
      I am sorry, i misunderstood your initial question, the beam is composed of several elements but I want to change the material for all elements. I defined the material and element type for the initial step as shown below. I have also attached the obtained results after the two time steps.
      ! Defining the element type
      ET,MATID,CPT215
      ! Elastic constants
      MP,EX,1,30000
      MP,NUXY,1,0.2

    • greg2835
      Subscriber
      Hmm I'm not sure what to tell you. I made a quick similar analysis and it works fine. Can you show how your loads and BCs are setup?
    • saad1996
      Subscriber
      The only load I applied for now is the standard earth gravity and the boundary conditions are defined as nodal displacements at each end. The center node at one face has a nodal displacement of zero in all three directions while the central node on the other side has a nodal displacement of zero in the x and y directions and is free to move in the z direction (along the axis of the member).
    • greg2835
      Subscriber
      Can you export the project and attach it? I might be able to take a quick look and figure it out (I have the day off anyway)
    • saad1996
      Subscriber
      I have attached the file. Thanks again for your help
    • greg2835
      Subscriber
      In your Command, change the 2's to 1's. You only have one MatID, which is 1. You also need to adjust your time steps. I was seeing some twisting on the first step which shouldn't be present.
    • greg2835
      Subscriber
      For reference below


    • saad1996
      Subscriber
      Thanks Greg. It works fine now. I will now try to adjust this approach to modify the thermal properties that I need.
Viewing 15 reply threads
  • The topic ‘How to change material properties or material assignment in between steps’ is closed to new replies.