← Back to team overview

yade-users team mailing list archive

Re: [Question #691584]: About periodic simple shear

 

Question #691584 on Yade changed:
https://answers.launchpad.net/yade/+question/691584

    Status: Solved => Open

Lei Hang is still having a problem:
Hello,

When I study the yade script about periodic simple shear test, I don't
understand some places. The periodic simple shear script link is
following:

https://gitlab.com/yade-dev/trunk/blob/master/doc/sphinx/tutorial/04
-periodic-simple-shear.py

I want to ask several questions:
1.What is the meaning of "O.cell.hSize=Matrix3(2,0,0, 0,2,0, 0,0,2)"? What is the meaning of the numbers in the Matrix?

2."pack.regularHexa(pack.inAlignedBox((0,0,0),(2,2,2)),radius=.1,gap=0,color=(0,0,1))".
What is the meaning of the "color=(0,0,1)"? In some other scripts I also
see "color=(1,1,1)"

3.What is the meaning of "O.cell.velGrad=Matrix3(-.1,0,0, 0,-.1,0,
0,0,-.1)"? What is the meaning of the numbers in the Matrix? In the
"Checkstress()" part, it changes to "O.cell.velGrad=Matrix3(0,0,.1,
0,0,0, 0,0,0)"

4.What is the meaning of "O.cell.trsf[0,2]" in the "checkDistorsion"
part? What do the numbers in the "trsf" mean?

5.In
"plot.addData(exz=O.cell.trsf[0,2],szz=stress[2,2],sxz=stress[0,2],tanPhi=(stress[0,2]/stress[2,2])
if stress[2,2]!=0 else 0,i=O.iter)" part,What is the meaning of the
number in the "streess[]"? For example, "stress[2,2]" or "stess[0,2]"

Thank you very much for your kindly help!

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.