the sensibility of the number of the bodies
Hi, everyone
I want to make a simple example to simulate the behaviour of concrete under pressure load. I used the periodic boundary and I suffered a question. I found that the stress-strain relationship will dramatically altered as I changed the size of the periodic boundary(that is the number of the bodies), but I need the relative stability result to convince others. I want to know how many number of bodies will lead to a steady result that will not dramatically alter as the number of bodies continue increasing. The following is my code, and you can alter the initSize to change the size of the periodic boundary. Can you give me some suggestions? Thank you.
#######
#!/usr/bin/python
import string
from yade import plot,qt
from yade.pack import *
from yade import pack, plot
O.materials.
initSize=0.025
sp=pack.
O.periodic=True
sp.toSimulation()
O.dt=1e-7
plot.plots=
def plotAddData():
plot.addData(
sy=p3d.stress[1],
ey=p3d.strain[1],
ex=p3d.strain[0]
)
EnlargeFactor=1.5
EnlargeFactor=1.0
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
NewtonIntegrat
Peri3dController(
nSteps=4000, # how many time steps the simulation will last
# after reaching nSteps do doneHook action
# the prescribed path (step,value of stress/strain) can be defined in absolute values
# or in relative values
# if the goal value is 0, the absolute stress/strain values are always considered (step values remain relative)
# if ##Path is not explicitly defined, it is considered as linear function between (0,0) and (nSteps,goal)
# as in yzPath and xyPath
# the relative values are really relative (zxPath gives the same - except of the sign from goal value - result as yyPath)
# variables used in the first step
label='p3d'
),
PyRunner(
]
p3d.stressMask=
p3d.goal=
O.step()
bo1s.aabbEnlarg
O.run(); O.wait()
plot.plot(
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jan Stránský
- Solved:
- Last query:
- Last reply: