← Back to team overview

yade-users team mailing list archive

Re: [Question #247006]: Writing a new constitutive law

 

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

Jan Stránský proposed the following answer:
Hi Behzad,


> But, for example in which of those mentioned files are the simple
> equation of f=k*deltaU?
>
> Imagine I want to double the contact force in the simple elastic-elastic
> contact! It means let say instead of f=k*deltaU I wanna put
> f=2*k*deltaU.


what you want is evaluation of forces, i.e. what you need is Law2 (see also
previous email or user's manual). Specifically
pkg/dem/ElasticContactLaw.cpp, function
void Law2_ScGeom_FrictPhys_CundallStrack::go

cheers
Jan

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