about crack in JCFpm

Asked by xjin

I use JCFpm to model rock, I get the crack_.txt.
In website:
https://yade-dev.gitlab.io/trunk/yade.wrapper.html#yade.wrapper.Law2_ScGeom_JCFpmPhys_JointedCohesiveFrictionalPM.recordCracks'

it says that the type (1 means shear break, while 0 corresponds to tensile break), However, in the crack_.txt, like below:
iter time p0 p1 p2 type size norm0 norm1 norm2 nrg
625922 0.252691857 0.011053731 -0.017682984 0.055897706 1 0.001622876 0.999320912 0.030593434 0.020536723 0.000347196
628772 0.25384259 0.014318209 -0.008904732 0.06093799 2 0.001627151 0.949036301 0.188148082 -0.252844612 0.000332757
628778 0.253845012 0.015703109 -0.011062294 0.060680984 2 0.001356471 0.572109002 -0.210408553 -0.792729166 0.0006661
628784 0.253847435 0.015466856 -0.01308546 0.062450073 2 0.001593502 0.641083191 0.250146731 0.725561131 0.00099732
628789 0.253849454 0.017309813 -0.006387149 0.060578823 2 0.001674372 0.603049764 -0.276868706 -0.748114097 0.002485202

I would like to inquire what type does the '2' means?
Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Luc Scholtès
Solved:
Last query:
Last reply:
Revision history for this message
Best Luc Scholtès (luc) said :
#1

Hi,

Thank you for your comment. There is a typo in the doc. "1" means "tensile crack" and "2" means "shear crack".

I'll try to amend the doc asap.

Luc

Revision history for this message
xjin (jpeng22) said :
#2

Thanks Luc Scholtès, that solved my question.