export dissipated energy in a vtk files

Asked by Yor1

Hello Yade users,

I want to output the distribution of the dissipated energy on a numerical sample with paraview.
And you know that paraview use vtk files to give these distribution.
So my question is : it is possible to implement which enables to record the dissipated energy in the sample in vtk files ?

In other words : it is possible to create a recorder ( like "bstresses", "spheres", "boxes", "intr" etc ... https://yade-dem.org/doc/yade.wrapper.html?highlight=bstresses) for the dissipated energy : cracks energy.

the cracks energy is included in the function : Law2_ScGeom_JCFpmPhys_JointedCohesiveFrictionalPM (https://yade-dem.org/doc/yade.wrapper.html?highlight=jointed#yade.wrapper.Law2_ScGeom_JCFpmPhys_JointedCohesiveFrictionalPM)

Best regards.
Jabrane.

Question information

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

Hello Jabrane,

You just have to add a column in the crack file that is generated from the simulation (the one where are defined their position, type, time of occurrence, etc... in JCFPM source files) and then to add an attribute in the dedicated VTK recorder (VtkRecorder source files). I did it already but I guess I did not commit my changes. I'll do it asap but I have to say that the results might be disappointing as cracks of similar origin (tensile or shear) are usually associated to similar energy values and finally it is generally more pertinent to visualise their type (tensile of shear).

Luc

Revision history for this message
Yor1 (jabrane-hamdi) said :
#2

Hi Luc,

Thank you for the suggestion.
I obtain the distribution of the dissipated energy with paraview
and that solve my problem.

Best ragards.
Jabrane