PeriIsoCompressor.sigma different from getStress()
Hello,
I am trying to compact a cloud in a periodic cell using PeriIsoCompressor.
At first it seems to work well : the cloud gets denser until PeriIsoCompress
Please see below a mwe and its output when using yade at git revision 4852d5601.
Am I correctly using PeriIsoCompressor ?
Thanks in advance,
Sacha
## MWE ##
O.periodic = True
O.cell.setBox((1, 1, 1))
sp=pack.
sp.makeCloud(
sp.toSimulation()
iso_comp = PeriIsoCompress
O.engines = O.engines + [iso_comp]
O.run(wait=True)
print("\nPIC mean stress: ", iso_comp.
print("getStress mean stress: ", getStress(
## Output with yade 4852d5601 ##
Welcome to Yade 2021-06-
Using python version: 3.6.9 (default, Jan 26 2021, 15:33:00)
[GCC 8.4.0]
TCP python prompt on localhost:9000, auth cookie `yecssk'
XMLRPC info provider on http://
Running script mwe.py
PIC mean stress: -99503.28987122637
getStress mean stress: -3824.356053577036
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Sacha Duverger
- Solved:
- Last query:
- Last reply: