mpacts.contact.models.deprecated. ellipsoid_contact_force

In order to be able to use this module import it like this:

import mpacts.contact.models.deprecated.ellipsoid_contact_force
#or assign it to a shorter name
import mpacts.contact.models.deprecated.ellipsoid_contact_force as ell
mpacts.contact.models.deprecated.ellipsoid_contact_force.F1(A, B)
mpacts.contact.models.deprecated.ellipsoid_contact_force.F2(A, B)
mpacts.contact.models.deprecated.ellipsoid_contact_force.Hertz_ellipsoid(overlap, Ehat, r1_maj, r1_min, r2_maj, r2_min, alpha=0)

Calculates the Hertz force according to an approximate solution found in Zheng2013: Contact Forces between Viscoelastic Ellipsoidal Particles. alpha is the angle between the principal axes of curvature in the contact plane between the bodies.

mpacts.contact.models.deprecated.ellipsoid_contact_force.Hertz_force(Ehat, Rhat, overlap, Fcorr=1)
mpacts.contact.models.deprecated.ellipsoid_contact_force.Re(A, B)
mpacts.contact.models.deprecated.ellipsoid_contact_force.calc_A_B(r1_maj, r1_min, r2_maj, r2_min, alpha=0)
mpacts.contact.models.deprecated.ellipsoid_contact_force.eccentricity(A, B)