Why I can't get stress?
I’m using PeriTriaxController to get packing with desired porosity.But when I used ‘triax.stress' to get average stresses ,it showed (0,0,0).And it's weird this script can work.So where should I change?Here is my script:
r=1.75e-05
O.periodic=True
O.cell.
0,41*r,0,
0,0,41*r)
O.materials.
sp=pack.
sp.makeCloud(
O.bodies.
#######
triax=PeriTriax
#######
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
PyRunner(
triax,
NewtonIntegrat
]
O.dt=PWaveTimeS
def controlporosity():
targateporosit
a=utils.porosity()
if a<targateporosity:
O.pause()
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- 张文卿
- Solved:
- Last query:
- Last reply: