Hi,
I'm interested in extracting the damping components of the normal and tangential forces from the Hertz-Mindilin contact model.
For this, I'm using a custom API that simply extracts the so-called usNormalForce and usTangentialForce from the NCalcForceTypesV3_0_0 header.
My current simulation setup is simple, I only have a ball that falls down with an angle to a plate geometry. In other words, a simple bounce with an angle.
Upon extracting the values via the API, I'm getting some values that I'm finding very hard to understand. Thus, I decided to simply extract the normalForce and tangentialForce vectors from the same header and I'm noticing that I'm getting different results to those that EDEM normally returns when visualizing the contact normal and tangential forces. In other words, the "classic" normal force that one can extract in any simulation is not the same as the one I'm extracting via the API (by a huge amount).
This is not making any sense to me. I've been trying to see if I can find any problem in my code, but even so, ultimately I'm simply extracting these two vectors. The custom variable is defined as
double force_normal = contactResults.normalForce.length();
The difference in values between the API-value and the classic value is staggering. The classic value everyone can extract gives me a reasonable value of say, 40 [N], whereas the custom value extracted from the API is giving me a value of 12,000 [N]. Naturally, this is nonsense and I can't figure out what it is that is making the aforementioned variable return such values.
Is there anyone that can support me/guide me with this?
Thanks in advance.