a problem about micro-stress computing
I am trying to run a packing model,and try to use TesselationWrap
My specific script is like tihs:
-------
O.reset()
O.bodies.
from yade import pack
sp=pack.
sp.makeCloud(
sp.toSimulation()
O.engines=[
ForceResetter(),
InsertionSor
InteractionLoop(
[
[
[
),
NewtonIntegr
]
O.dt=0.
-------
Then I reset the Δt=5.0e-05。Then I type following script:
-------
O.run(6343)
TW=TesselationW
TW.computeVolumes()
s=bodyStressTen
stress=
#These codes are written exactly as the YADE manualy(https:/
-------
I get message:
-------
unsupported operand type(s) for ** or pow(): 'Matrix3' and 'float'
-------
Can someone help me?Thanks very much!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- xjin
- Solved:
- Last query:
- Last reply:
This question was reopened
- by xjin