edemyp: Custom Porperty for calculation of the actual Geometry mass

Hi everyone,
I am trying to write a Custom Geometry Property with edempy, which allows me to Export the Geometry mass of a Geometry for every timestep. The Mass is shrinking, because I am simulating a wear process. I've already written a Python-Script which, allows me to calculate the Mass of the Geometry correct, but the Problem is, that when running the simulation, and then calculating the Geometry mass from the Coords and Triangle nodes of the Geometry, something doesn't get updated correct and so also the Mass doesn't shrink. Only at points where the simulation was finished the Mass get updated. So it seems, that only in these points the Coords and tirangle nodes are updated?
Can someone help me with this? And is it maybe even possible to access the intern Mass calculation from the EDEM creator directly? Things like Moment of inerta etc. are available there directly… Maybe that would already solve my problem.
I've atteched my Python-Skript below for better debugging
Best regards HE
Best Answer
-
Actually, I found a solution to this by myself. Found that there are more Coords in the h5-Files (deformed local coords), which work to calculate the volume correct
0
Answers
-
Actually, I found a solution to this by myself. Found that there are more Coords in the h5-Files (deformed local coords), which work to calculate the volume correct
0 -
Hi ,
I would suggest a simple option is use either Archard wear and Oka wear based and enable geometry deformation, so that you get deformed geometry with respect to time and if you're able to calculate volume from that and multiple with the density you obtain mass of the retained geometry and mass of worn out material.
hope this helps.
Thanks,
Prasad A
0