← Back to team overview

yade-users team mailing list archive

Re: [Question #632448]: How to plot energy variables, breaks and contacts in a JCFpm model?

 

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

    Status: Open => Answered

Robert Caulk proposed the following answer:
Hello Yashar,

You can use the 'jcfpm' and 'cracks' [1] recorders to collect most of
this information. You will need to activate 'recordCracks'[2] in the
argument of Law2_SCGeom_JCFpmPhys_JointedCohesiveFrictional. These
settings will generate .vtu/.vtk/.vtp files for paraview's consumption.

As for energy: I do not use it, but I have seen the energyTracker [3]
hanging around the class reference. It might be of use to you if you are
looking for total energy changes in the system. However, this other
thread [4] makes an important point. Different laws dissipate energy in
different ways, and therefore the laws themselves would need to compute
the dissipated energy. And you are in luck, Luc just 3 days ago added
some really easy functionality for getting the energy dissipated by
shear and tensile breaks in JCFpm[5].

Best,

Robert


[1]https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.VTKRecorder.recorders
[2]https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Law2_ScGeom_JCFpmPhys_JointedCohesiveFrictionalPM.recordCracks
[3]https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.EnergyTracker
[4]https://answers.launchpad.net/yade/+question/271596
[5]https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Law2_ScGeom_JCFpmPhys_JointedCohesiveFrictionalPM.totalShearCracksE

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.