← Back to team overview

yade-users team mailing list archive

Re: [Question #694148]: why my particles don`t show in paraview?

 

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

Mahdeyeh posted a new comment:
Hi 
these codes are for saving data in file which can be opened with Paraview:


os.mkdir(O.tags['id'])
O.engines=O.engines+[PyRunner(iterPeriod=10000,command='VTKview()',label="VTKview")]
ClumpVtkData = expt.VTKExporter(O.tags['id']+'/'+'clumpData')
def VTKview():
    ClumpVtkData.exportSpheres(ids='all', what={('color','b.shape.color')})
    ClumpVtkData.exportFacets(ids='all', what={('color','b.shape.color')})

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