Not able to apply DOF constraints
Hi all,
I tried to move a sphere(Cpmmat) using a utilsbox acting as a wall(Frictmat). I want to restrain the degrees of freedom in the other two directions but when I do that, the wall tends to fly away after bouncing on the sphere. Here is a MWE of that phenomenon. Kindly help me to understand where I have gone wrong.
########
from yade import pack, qt, export, ymport, plot
O.reset()
concrete_
young = 1e10,
density=1400,
poisson = 0.25,
frictionAngle = radians(40),
epsCrackOnset = 1e-4,
relDuctility = 10,
sigmaT = 1e18,
label=
)
mat1=O.
#O.materials.
O.bodies.append([
sphere(
])
O.materials.
O.engines=[
ForceResett
InsertionSo
Interaction
[Ig2_
[Ip2_
[Law2_
),
NewtonInteg
#CpmStateUp
GlobalStiff
]
O.step()
U_box= utils.box(
O.bodies.
U_box.state.mass=1
U_box.state.inertia = (1,1,1)
U_box.state.
U_box.state.
yade.qt.View()
O.saveTmp()
######
Many thanks in advance - Arun
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: