PDFEngine
Hi All,
I want to use the PDFEngine in my simulation, and I found an answer, but it seems not to work.
here is my MWE:
from yade import pack, plot, export
import math
O.bodies.
sp=pack.
sp.makeCloud(
sp.toSimulation()
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
PyRunner(
#PyRunner(
#PyRunner(
#PyRunner(
#PyRunner(
NewtonIntegrat
#PDFEngine(
PDFEngine(
]
O.dt=.5*
print(len(
def checkUnbalanced():
if unbalancedForce
O.pause()
#plot.
def addPlotData():
plot.addData(
#plot.plots=
#plot.plot()
###################
when I run this, here is the error:
Welcome to Yade 2018.02b
TCP python prompt on localhost:9000, auth cookie `udeyas'
XMLRPC info provider on http://
Running script test.py
Traceback (most recent call last):
File "/usr/bin/yade", line 182, in runScript
execfile(
File "test.py", line 22, in <module>
PDFEngine(
NameError: name 'PDFEngine' is not defined
https:/
I did as they said, but the error said that I didn't define the name.
best,
yong
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: