← Back to team overview

yade-users team mailing list archive

Re: [Question #204014]: Not sure about utils.PWaveTimeStep()

 

Question #204014 on Yade changed:
https://answers.launchpad.net/yade/+question/204014

    Status: Open => Answered

Jan Stránský proposed the following answer:
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

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.


Follow ups