Compression of a packing created using RegularOrtho
Hi,
I performed a uniaxial compression of a packing created using regularOrtho (https:/
Can you tell me what happed to my model ? Here is a sgement of my code:
Thanks in advance.
Xavier
####### My code #######
# !/usr/bin/python
# -*- coding: utf-8 -*-
from yade import utils
from yade import pack
from yade import plot
from yade import qt
# input parameters
porosity = 0.4764012244
Young = 1.0e11 # 100Gpa
FrictAng = radians(18)
Density = 2640/(1-porosity)
Poisson = 1/3.0
Cohesion = 4.5e7 # pa
TensileStr = 4.5e6 # pa
rock = JCFpmMat(
steel = JCFpmMat(
for Mat in (rock,steel):
O.materials.
# regularOrth packing
pred = pack.inAlignedB
assembly = pack.regularOrt
O.bodies.
# aabbWalls
wall = O.bodies.
# delete other walls only save walls in z axis
O.bodies.
O.bodies.
O.bodies.
O.bodies.
# fixed the bottom wall
bottom_wall = O.bodies[wall[4]]
bottom_
# set velocity for upper wall
upper_wall = O.bodies[wall[5]]
upper_wall.
upper_wall.
#######
# ENGINES
#######
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
# VTKRecorder(
GlobalStiffnes
NewtonIntegrat
]
O.trackEnergy=True
O.step()
#set an optimal timestep
O.dt = utils.PWaveTime
O.usesTimeStepper = True
#3D view and controller
try:
qt.Controller()
qt.View()
except:
pass
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 Xavier Thurman for more information if necessary.