← Back to team overview

yade-users team mailing list archive

Re: [Question #681115]: How to plot vector plot in Paraview for particle displacement of simulation run in Yade?

 

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

    Status: Needs information => Open

Nicholas Ng gave more information on the question:
Hi Jan,

I attach the engine commands I used in my script together with the
vtkExporter command for your reference.

=======================================================

O.engines=[
	ForceResetter(),
	InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Box_Aabb(),],verletDist=.05*radius_mean),
	InteractionLoop(
		[Ig2_Sphere_Sphere_ScGeom(),Ig2_Box_Sphere_ScGeom()],
		[Ip2_FrictMat_FrictMat_FrictPhys()],
		[Law2_ScGeom_FrictPhys_CundallStrack()]
	),
	PyRunner(iterPeriod=100, command='doExport()')
    
]
O.dt=5e-2*PWaveTimeStep()

def doExport():
	vtk= export.VTKExporter('.../101_dspl-')
	vtk.exportSpheres(useRef=True,what=[('dspl','b.state.displ()')])

===========================================================================

Do I make any mistake in command?


Regards,
Nicholas

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