yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #14946
Re: [Question #633047]: calculate the overall energy in JCFpmMat
Question #633047 on Yade changed:
https://answers.launchpad.net/yade/+question/633047
Luc Scholtès proposed the following answer:
Hi Xavier,
In addition to Robert's comment I must say that you need to call the
functionality correctly.
Yade does not "know" what is totalShearCracksE if you don't mention that
it is coming from the law functor.
You have to:
1) define a label for the law functor:
Law2_ScGeom_JCFpmPhys_JointedCohesiveFrictionalPM(recordCracks=True,
label='lawFunctor')
2) call it using:
lawFunctor.totalShearCracksE
I thought I uploaded a working script to illustrate this when I commited
this functionality but it does not appear in the
/examples/jointedFrictionalPM directory... I'll try another time.
Luc
--
You received this question notification because your team yade-users is
an answer contact for Yade.