when i give a zero strain at the first step
when i give a [0,0,0] strain to the Yade, the Yade gives back a stress that is not zero, and then give a zero strain to Yade, and Yade will give back a different stress.
the question is when i set different young of the balls, i think the stress is no doubt different, however, when i give a strain like[1e-
part of the code is as shown below:
.......
O.load(
O.dt=1e-8
# see the example of peri3dcontroller, 1.5 is used to speed up the computation
EnlargeFactor=1.5
EnlargeFactor=1.0
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
NewtonIntegrat
O.cell.
O.step()
bo1s.aabbEnlarg
.......
for b in O.bodies:
b.material.young = 1.0001*17e10 #change it to get different stress
ag = [0]*3
ag[0] = arr[0] - arrcc[0] #arr means current step stain and arrcc means last step strain
ag[1] = arr[1] - arrcc[1]
ag[2] = arr[2] - arrcc[2]
ns=100
dstrain = utils.Matrix3(
O.cell.
O.run(ns,True)
stressValue=
stressxx=
stressyy=
stressxy=
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask dan.wang for more information if necessary.