force chain in paraview
Hello All,
I want to model force chain in the paraview, but I have problem to do it. I have the error that "NameError: name 'VTKExporter' is not defined". I was wondering if you could give me an example to solve my problem. Thank you very much.
Best Regards
Alireza
P.S. my code is :
from yade import utils, plot
from yade import pack, qt
from datetime import datetime
qtr=qt.Renderer()
qtr.bgColor=(1,1,1)
#======
#======
#======
O.periodic=True
O.cell.
#======
#================= define the materials =======
#======
O.materials.
#======
#======
#======
nums=['t']
mats=['Coke']
coke=(5e-3,150)
nums=pack.
nums.makeCloud(
O.bodies.
sigmaIso=-1e5
#======
#======
#======
vtkExporter = VTKExporter(
#======
#======
#======
O.engines=[
ForceReset
InsertionS
Interactio
),
PeriTriaxC
goal=
dynCell=
maxUnbalanced
doneHook=
),
NewtonInte
PyRunner(
]
O.dt=1e-6
O.saveTmp()
O.run(200000,True)
def compactionFinis
print 'Finished'
O.pause()
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Alireza Sadeghi
- Solved:
- Last query:
- Last reply: