← Back to team overview

yade-users team mailing list archive

[Question #685222]: updating properties for an existing contact

 

New question #685222 on Yade:
https://answers.launchpad.net/yade/+question/685222

Hello,

I want to change the properties of an existing contact while still taking in consideration its "history".

Is storing the previous state of each contact the most reasonable solution if you are not too worried about efficiency?

For example, let's say the Young modulus of the material changes due to plasticity and I need to update the contact kn.
However, as
 F = kn * u * n (1)
updating the value of kn changes the contact force based on the current displacement, as if the material always had the updated young modulus. 

What I actually need is 

F(step) = F(step-1) + kn * (u (step)-u(step-1)  * n (2)

Is there any build-in method to do so in Yade or I need to implement (2) with python? As far as I know, most contact laws are derived from ElasticContactLaw.cpp, which uses (1), which may suggest there is no such method.

Thank you for your time.


-- 
You received this question notification because your team yade-users is
an answer contact for Yade.