yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #27939
[Question #702276]: Adding an attribute to a material
New question #702276 on Yade:
https://answers.launchpad.net/yade/+question/702276
I added the 'eta' attribute in ViscolasticCapillarPM (hpp. and cpp.) just like the way for example gamma was introduced in the code, then I tried to run my code containing eta as an input (just like gamma or en or...) as below:
mat=O.materials.append(
ViscElCapMat(frictionAngle=fr, density=rho, poisson=poi, young= yoM, Vb=vB, gamma=Gamma, eta=Eta, theta=Theta, Capillar=True, ...)
but it gives me the error:
No such attribute: eta.
So I think I have to introduce this attribute also in another place where the ViscElCapMat is introduced but I could not find it. Could you please help me with this?
Regards,
Roxana Saghafian
--
You received this question notification because your team yade-users is
an answer contact for Yade.