pyroll-project / pyroll-core

PyRoll rolling simulation framework - core library.
https://pyroll.readthedocs.io
BSD 3-Clause "New" or "Revised" License
12 stars 7 forks source link

Bug in Generic_Elongation_Solvers #159

Closed ChRen95 closed 7 months ago

ChRen95 commented 7 months ago

Summary

When you use a ConstrictedBoxGroove using the follwing definition:

groove=ConstrictedBoxGroove( r1=1.805e-3, r2=6.859e-3, r4=31.5875e-3, depth=4.9565e-3, indent=0.361e-3, usable_width=24.2e-3, ground_width=17.5e-3, ), nominal_radius=160e-3, rotational_frequency=1, ), gap=2e-3,

the solver yields a negative usable_width resulting in an Error of the mandatory_positive_or_zero list.

PyRolL Version and Platform

pyroll-core 2.1.3

axtimhaus commented 7 months ago

Can you provide a drawing for this? I tried to draw the groove with your values in CAD and it seems to be geometrically impossible to me. So I suspect no bug, but invalid input...

ChRen95 commented 7 months ago

Seem's that I used the wrong dimensions. No Bug!