← Back to team overview

yade-users team mailing list archive

Re: [Question #656498]: WireMat -> Change Force Displacement curve during simulation

 

Question #656498 on Yade changed:
https://answers.launchpad.net/yade/+question/656498

    Status: Open => Answered

Klaus Thoeni proposed the following answer:
Hi,

here my short answers:

add 1: in order to create an interaction you need to execute 1 step, i.e., just createInteraction(id1,id2) is not enough. In your case you are deleting an equilibrium state and adding a new state. What about the equilibrium in the new state?
add 2: just changing these values would not work. You would have to update all variables in the physics and the contact law (history etc.), i.e., you would have to replicate the C++ code in your script to some extent.

Now I have a question, why would you like to change the stress-strain
behaviour during a simulation? Are you looking a time-dependent
behaviour? I am just trying to better understand what you are trying to
do and what the best options could be.

Klaus

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