yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #06319
Re: [Question #204014]: Not sure about utils.PWaveTimeStep()
Hello Christian,
i tried to find all of the calculations in the yade code! And i found a
> lot of formulas for different calculations. But i don't know exactly
> where i can find the class Law2_ScGeom_FrictPhys_CundallStrack because
> there is for example a class Law2_Dem3Dof_CSPhys_CundallStrack in the
> CundallStrack.hpp/cpp.
>
>
pkg/dem/ElasticContactLaw.xpp
hint: you can use linux "grep" command (assuming you are in yade top
directory)
grep -R "class Law2_ScGeom_FrictPhys_CundallStrack" .
> Furthermore i don't know where i can find a calculation for the mass
> from the density value. But the computer have to know how to calculate
> it.
>
>
the mass can be assigned independently on density, but if it is computed
from density, it is done in py/utils.py file, in _commonBodySetup function
(this function is used by utils.sphere or utils.chainedCylinder functions
for example).
hope it will help you
Jan
Follow ups
References