PrepareRVE for 3D problem
Hello,
I am trying to make a RVE for 3D problem and could not able to figure out where I am making mistake. I try to read the manual and still not able to understand.
Can someone help me .. how I can prepare the RVE for 3D. The first part of the code working well and I could see the 3D box with 9000 particles. The second part is giving me the problem (running for 3 days without any output).
1. For 3D problem I command #p.state.
2. I also changes stressMask=3 to stressMask=7 but still same problem.
3. May I know what is the following command does : O.engines = O.engines[
my python code as below...Appreciate your help.. Thanks Surej.
********
from yade import pack
O.materials.
sp = pack.SpherePack()
size =.24
sp.makeCloud(
sp.toSimulation()
O.cell.hSize = Matrix3(size,0,0, 0,size,0, 0,0,size)
print len(O.bodies)
for p in O.bodies:
#p.state.
p.state.mass = 2650 * 0.1 * pi * p.shape.radius**2 # 0.1 = thickness of cylindrical particle
inertia = 0.5 * p.state.mass * p.shape.radius**2
p.state.inertia = (.5*inertia,
O.dt = utils.PWaveTime
print O.dt
print 'packing-part-ok'
print ' starting 2nd part'
O.engines = [
ForceResetter(),
InsertionSor
InteractionLoop(
[
[
[
),
PeriTriaxCon
dynCell=True,
goal=
stressMask=3,
relStress
maxUnbala
maxStrain
doneHook=
label='triax'
),
NewtonIntegr
]
print 'checkstep2'
def term():
O.engines = O.engines[
print getStress()
print O.cell.hSize
setContactFr
O.cell.
O.cell.
for p in O.bodies:
p.state.vel = Vector3.Zero
p.
p.
p.
O.save(
O.pause()
O.run();O.wait()
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: