Calculate the induced stress

Asked by Yor1

Hello

I want to calculate the increase in stored energy Uc.

Uc=0.5*strain_rate*stress_induced*volume(sample)+strain_rate*stress_previous*volume(sample)

To apply the stress on the sapmle i use TriaxialStressController.
To calculate stress_induced i use this formula
stress_induced=stress(k)-stress(k-1) with k is the iteration number.
In the script i get stress(k) with "stress"
https://yade-dem.org/doc/yade.wrapper.html?highlight=triaxialstresscontroller#yade.wrapper.TriaxialStressController.stress
and i get stress(k-1) with "previousStress"
https://yade-dem.org/doc/yade.wrapper.html?highlight=triaxialstresscontroller#yade.wrapper.TriaxialStressController.previousStress

The problem is previousStress=0 during the simulation wheras in the reality the previousStress >0.

Best regard
Jabrane

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bruno Chareyre (bruno-chareyre) said :
#1

My suggestion is (assuming the triaxial engine is labeled "triax"):
triax.externalWork
It is accumulated when iterating.

Can you help with this problem?

Provide an answer of your own, or ask Yor1 for more information if necessary.

To post a message you must log in.