yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #12357
Re: [Question #290070]: TesselationWrapper and porosity
Question #290070 on Yade changed:
https://answers.launchpad.net/yade/+question/290070
behzad posted a new comment:
yes the equation is fine. How to export it however, is not clear to me.
I'd like to get the triangulated scene with this parameter (porosity) assigned to them.
The following script does not work!
v_s=1.13e-4 # this is the volume of the spheres (it's a monosize
assembly)
O.engines=O.engines+[PyRunner(command="vtkExporter.exportSpheres(what=['porosity','1-v_s/TW.volume(i.id)'])",
iterPeriod=100)]
TW=TesselationWrapper()
TW.triangulate()
TW.computeVolumes()
vtkExporter=export.VTKExporter('test')
--
You received this question notification because your team yade-users is
an answer contact for Yade.