MercuryDPM
0.10
|
Classes | |
class | KAndDisp |
return type specifically for fuctions returning k and disp at once More... | |
class | KAndDispAndKtAndDispt |
return type specifically for fuctions returning k, disp, kt, dispt at once More... | |
Functions | |
KAndDisp | computeKAndDispFromCollisionTimeAndRestitutionCoefficientAndEffectiveMass (Mdouble tc, Mdouble r, Mdouble mass) |
Set disp and k such that is matches a given collision time tc and restitution coefficient r for a collision of effective/reduced mass m. More... | |
KAndDispAndKtAndDispt | computeDisptFromCollisionTimeAndRestitutionCoefficientAndTangentialRestitutionCoefficientAndEffectiveMass (Mdouble tc, Mdouble r, Mdouble beta, Mdouble mass) |
Set disp, k, dispt and kt such that is matches a given collision time tc and a normal andtangential restitution coefficient r, beta for a collision of effective/reduced mass m. More... | |
Mdouble | getCollisionTime (Mdouble k, Mdouble disp, Mdouble mass) |
Calculates collision time for two copies of a particle of given disp, k, effective mass. More... | |
Mdouble | getRestitutionCoefficient (Mdouble k, Mdouble disp, Mdouble mass) |
Calculates restitution coefficient for two copies of given disp, k, effective mass. More... | |
Mdouble | getMaximumVelocity (Mdouble k, Mdouble disp, Mdouble radius, Mdouble mass) |
Calculates the maximum relative velocity allowed for a normal collision of two particles of radius r and particle mass m (for higher velocities particles could pass through each other) More... | |
helperFunc::KAndDispAndKtAndDispt helperFunc::computeDisptFromCollisionTimeAndRestitutionCoefficientAndTangentialRestitutionCoefficientAndEffectiveMass | ( | Mdouble | tc, |
Mdouble | r, | ||
Mdouble | beta, | ||
Mdouble | mass | ||
) |
Set disp, k, dispt and kt such that is matches a given collision time tc and a normal andtangential restitution coefficient r, beta for a collision of effective/reduced mass m.
from Deen...Kuipers2006, eq. 43 and 30
From Deen...Kuipers2006, eq. 43 and 30
Definition at line 221 of file ExtendedMath.cc.
References helperFunc::KAndDispAndKtAndDispt::disp, helperFunc::KAndDispAndKtAndDispt::dispt, helperFunc::KAndDispAndKtAndDispt::k, helperFunc::KAndDispAndKtAndDispt::kt, constants::pi, and sqr.
helperFunc::KAndDisp helperFunc::computeKAndDispFromCollisionTimeAndRestitutionCoefficientAndEffectiveMass | ( | Mdouble | tc, |
Mdouble | r, | ||
Mdouble | mass | ||
) |
Set disp and k such that is matches a given collision time tc and restitution coefficient r for a collision of effective/reduced mass m.
Definition at line 212 of file ExtendedMath.cc.
References helperFunc::KAndDisp::disp, helperFunc::KAndDisp::k, constants::pi, and sqr.
Calculates collision time for two copies of a particle of given disp, k, effective mass.
Definition at line 232 of file ExtendedMath.cc.
References constants::pi, and sqr.
Referenced by getRestitutionCoefficient().
Calculates the maximum relative velocity allowed for a normal collision of two particles of radius r and particle mass m (for higher velocities particles could pass through each other)
Definition at line 269 of file ExtendedMath.cc.
References sqr.
Calculates restitution coefficient for two copies of given disp, k, effective mass.
Definition at line 264 of file ExtendedMath.cc.
References getCollisionTime().