New question #404172 on Yade:
https://answers.launchpad.net/yade/+question/404172

Dear all,

         I want to do one compaction test of some polyhedron.  Error occurred : 
'module' object has no attribute 'vtkExporter'.....  What's wrong with this 
question?   Thanks a lot.

        Codes:

from yade import pack, plot, export, polyhedra_utils 
.....

O.engines=[
   ForceResetter(),
   
InsertionSortCollider([Bo1_Polyhedra_Aabb(),Bo1_Wall_Aabb(),Bo1_Facet_Aabb()], 
verletDist=0.01),
   InteractionLoop(
      [Ig2_Wall_Polyhedra_PolyhedraGeom(), 
Ig2_Polyhedra_Polyhedra_PolyhedraGeom(), Ig2_Facet_Polyhedra_PolyhedraGeom()], 
      [Ip2_PolyhedraMat_PolyhedraMat_PolyhedraPhys()], # collision "physics"
      [Law2_PolyhedraGeom_PolyhedraPhys_Volumetric()]   # contact law -- apply 
forces
   ),
   NewtonIntegrator(gravity=(0,0,-200),damping=0.5),
   PyRunner(command='checkUnbalanced()',realPeriod=2,label='checker'),
   
PyRunner(command="export.vtkExporter.exportPolyhedra(what=[('n','b.id')])",iterPeriod=50)
]


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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to