forked from lijiext/lammps
One more bug in pair_granular.cpp, where JKR cutoff was incorrectly computed. Thanks to Ishan Srivastava for finding this one
This commit is contained in:
parent
0673f6f2b9
commit
6088f2a6a2
|
@ -1728,7 +1728,7 @@ double PairGranular::pulloff_distance(double radi, double radj,
|
|||
if (Reff <= 0) return 0;
|
||||
coh = normal_coeffs[itype][jtype][3];
|
||||
E = normal_coeffs[itype][jtype][0]*THREEQUARTERS;
|
||||
a = cbrt(9*MY_PI*coh*Reff/(4*E));
|
||||
a = cbrt(9*MY_PI*coh*Reff*Reff/(4*E));
|
||||
return a*a/Reff - 2*sqrt(MY_PI*coh*a/E);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue