Users Forum

ADONIS Category => Bugs and Problems => Topic started by: geotugrz on August 23, 2022, 02:06:18 pm

Title: Python Element Class stress == strain? [Solved]
Post by: geotugrz on August 23, 2022, 02:06:18 pm
I was checking out the new Python scripting functionality (which I am very happy about in general btw!) but I may have found 2 issues so far:

1. (documentation bug) the page in the documentation that describes the adonis.element object (Scripting Language > Python > Element) names "adonis.node.list()" as a function which is the same as in the description for the adonis.node object (Scripting Language > Python > Node). I suppose it should say here instead "adonis.element.list()", shouldn't it?

2. I was trying to get the element strain increment and the element total stress for various components of the respective tensors from the element.Element object but it seems like both functions return the same values? I have attached a script that runs a simple model and then checks all elements for if stress = strain. Am I doing it wrong or is there something actually wrong?
Title: Re: Python Element Class stress == strain?
Post by: Roozbeh on August 23, 2022, 09:59:55 pm
Hi

Both of your comments were valid. I did fix both of them. Please go ahead and download the revised version of the program and give it a try. Please let me know if you still see the same issues.

Thanks for your comment. Hope you find ADONIS helpful.

-Roozbeh
Title: Re: Python Element Class stress == strain? [Solved]
Post by: geotugrz on August 24, 2022, 03:14:42 am
Thank you for the quick fix, now it works!