General Mechanical

General Mechanical

Changing reference temperature of a nonlinear material

    • helen.durand
      Subscriber

      Hello,

      In my transient structural simulation, I would like to change the reference temperature of some elements (but not others) at the end of each loadstep using a command object.

      The issue is that my material is nonlinear, so I cannot define two nonlinear materials (which differ only by the reference temperature) and then use the MPCHG command to switch between them (as the MPCHG command connot switch between nonlinear materials).

      Is there some way to change the reference temperature of specific elements without defining a new material?

      Thank you for your time!

    • Sean Harvey
      Ansys Employee

      Hello Helen,

      The MPCHG does allow the switch between nonlinear materials.  The help on MPCHG states "Changes the material number of the specified element. Between load steps in SOLUTION, material properties cannot be changed from linear to nonlinear, or from one nonlinear option to another."

      So we can not switch from say one plasticity model to another, but if all that is changing between them is say reft, or alpha, etc. then my tests show it works.  

      You use the esel or cmsel command to select the elements, then the mpchg to change to the alternate material.

      Here I have a cube with a uniform thermal condition, but just the top layer of elements has a material with a different reft (defined vy the mp,reft command) At time = 2, I use a command object of mpchg,1,all, which changes the material of the top layer from material 2 to 1, which is now the same as the rest of the block and the thermal strain adjusts as expected.  The model has plasticity and I see the plastic strains develop and persist so for my limited testing it is working as expected.

      While my simple test of showing MAPDL is accepting the change, you will need to double-check on your end that you see the expected results.

       

      I hope this helps!

      Regards,
      Sean

       

       

    • Sean Harvey
      Ansys Employee

      Hi Helen,

      Just to close the loop. If you do try to change the nonlinear option, such as one plasticity model to another you will get this type of error.

       *** FATAL ***                           CP =     191.328   TIME= 14:33:48
       Change a nonlinear material model, 2, to another nonlinear material    
       model, 1, is not allowed for element type 186.                     

       

       

      Regards,

      Sean

Viewing 2 reply threads
  • You must be logged in to reply to this topic.