Hi Jerome,

No, we are not loosing anything since everything is now available directly
from the law functor (see nbTensCracks, nbShearCracks, totalTensCracksE and
totalShearCracksE defined in the
Law2_ScGeom_JCFpmPhys_JointedCohesiveFrictionalPM).

Doing so, you don't have to loop aver bodies to obtain the information
about crack type and number. You can get these informations directly by
calling the law functor (e.g. labelOfLawFunctor.nbShearCracks). It makes
more sense to me. Actually, I just kept the damage index on bodies to keep
it simple when visualizing the particles in paraview but I don't use it
anymore since cracks are explicitly available from the crack.vtu files. If
you think that it is useless, I can decommit but, IMO, it is much better
like that.

Luc

2017-05-11 15:31 GMT+02:00 Jerome Duriez <[email protected]>:

> Hi Luc,
>
>
> From what I understand, you're replacing the old pair "tensBreak" and
> "shearBreak" JCFpmState attributes with a unique "nbBrokenBonds" such
> that nbBrokenBonds (in new code) = tensBreak + shearBreak (from old code).
>
>
> Plus similar things for new "damageIndex" vs old "tensBreakRel" and "
> shearBreakRel".
>
>
> It seems to me we're losing information here. What were your motivations
> for these changes ?
>
>
> Cheers,
>
>
> Jérôme
>
>
>
> --------------------------------------------------
>
> Jerome Duriez, Research Associate
>
> University of Calgary, Dpt of Civil Engineering
>
> +1 403 220 7367 <(403)%20220-7367>
>
>
> ------------------------------
> *From:* Yade-dev <yade-dev-bounces+jerome.duriez=ucalgary.ca@lists.
> launchpad.net> on behalf of [email protected] <[email protected]>
> *Sent:* May 11, 2017 6:19 AM
> *To:* Yade developers
> *Subject:* [Yade-dev] [Branch ~yade-pkg/yade/git-trunk] Rev 4040: update
> of the JCFPM particle model with new or adapted functionalities to record
> number of cracks...
>
> ------------------------------------------------------------
> revno: 4040
> committer: luc scholtes <[email protected]>
> timestamp: Thu 2017-05-11 13:42:34 +0200
> message:
>   update of the JCFPM particle model with new or adapted functionalities
> to record number of cracks and associated released energy. An example
> script will be provided.
> modified:
>   pkg/dem/JointedCohesiveFrictionalPM.cpp
>   pkg/dem/JointedCohesiveFrictionalPM.hpp
>   pkg/dem/VTKRecorder.cpp
>
>
> --
> lp:yade
> https://code.launchpad.net/~yade-pkg/yade/git-trunk
> git-trunk : Code : Yade - Launchpad
> <https://code.launchpad.net/~yade-pkg/yade/git-trunk>
> code.launchpad.net
> This branch is an import of the HEAD branch of the Git repository at git://
> github.com/yade ...
>
>
> Your team Yade developers is subscribed to branch lp:yade.
> To unsubscribe from this branch go to https://code.launchpad.net/~
> yade-pkg/yade/git-trunk/+edit-subscription
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp
>
>
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to