← Back to team overview

yade-users team mailing list archive

Re: real-time visualization

 

Thanks again, Anton, I have nice arrows now!  :)

But.. I had to modify the code in VTKRecorder because only the option 'spheres' seemed to work properly (saving position and id), while option 'all' gave back a segFault, and 'Velocity' -the one I was interested in- gave back no error, but any *vtu file was recorded as output. So, I de-commented some test to include in the option 'sphere' the velocity recorder, but..?
May you probably test all the options when you have time?

Bye, Ema.


On 07/13/2010 06:46 PM, Emanuele Catalano wrote:
I'm trying to use Yade to create the *vtu file I need,
I added the engines as it follows:

O.engines=[
    ForceResetter(),
BoundDispatcher([Bo1_Sphere_Aabb(),Bo1_Box_Aabb(),Bo1_Facet_Aabb(),Bo1_Wall_Aabb()]),
    InsertionSortCollider(nBins=5,sweepLength=mean_rad*0.05,binCoeff=2),
    ...,
   newton
    ,VTKRecorder(fileName='prova',iterPeriod=5,recorders='spheres')
]

obtaining this error:

7671 ERROR yade.VTKRecorder /home/3S-LAB/ecatalano/Yade/yade/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:52 action: Unknown recorder named `s' (supported are: all, spheres, velocity, facets, color, stress, cpm, intr, id, clumpId, materialId). Ignored. 47671 ERROR yade.VTKRecorder /home/3S-LAB/ecatalano/Yade/yade/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:52 action: Unknown recorder named `p' (supported are: all, spheres, velocity, facets, color, stress, cpm, intr, id, clumpId, materialId). Ignored. 47671 ERROR yade.VTKRecorder /home/3S-LAB/ecatalano/Yade/yade/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:52 action: Unknown recorder named `h' (supported are: all, spheres, velocity, facets, color, stress, cpm, intr, id, clumpId, materialId). Ignored. 47671 ERROR yade.VTKRecorder /home/3S-LAB/ecatalano/Yade/yade/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:52 action: Unknown recorder named `e' (supported are: all, spheres, velocity, facets, color, stress, cpm, intr, id, clumpId, materialId). Ignored. 47671 ERROR yade.VTKRecorder /home/3S-LAB/ecatalano/Yade/yade/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:52 action: Unknown recorder named `r' (supported are: all, spheres, velocity, facets, color, stress, cpm, intr, id, clumpId, materialId). Ignored. 47671 ERROR yade.VTKRecorder /home/3S-LAB/ecatalano/Yade/yade/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:52 action: Unknown recorder named `e' (supported are: all, spheres, velocity, facets, color, stress, cpm, intr, id, clumpId, materialId). Ignored. 47671 ERROR yade.VTKRecorder /home/3S-LAB/ecatalano/Yade/yade/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:52 action: Unknown recorder named `s' (supported are: all, spheres, velocity, facets, color, stress, cpm, intr, id, clumpId, materialId). Ignored.

I don't understand why, and do not succed to make it works.

Ema


On 07/13/2010 03:08 PM, Anton Gladky wrote:
How did you get that vtk-file? From Yade?



_______________________________________________
Mailing list:https://launchpad.net/~yade-users
Post to     :yade-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe :https://launchpad.net/~yade-users
More help   :https://help.launchpad.net/ListHelp


_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Follow ups

References