Ip2_FrictMat_FrictViscoMat_FrictViscoPhys() law body assignation problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Yade |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I was working with the Ip2_FrictMat_
I think the bug comes from this assignation of the material 1 and 2 in the C++ code but I'm not enough familiar with it to solve it.
I'm working with yadedaily : Yade 2017.01a-
Loïc
Here's the script:
#######
from yade import qt, plot
from yade.gridpfacet import *
import gts, os, locale, sys
import numpy as np
O.engines=[
ForceResett
InsertionSo
Interaction
NewtonInteg
]
R = 0.008
##### Materiaux #####
FrictViscoMat = O.materials.append( FrictViscoMat(betan = 1,young=5e9, poisson=0.3, frictionAngle=
FrictMat = O.materials.append( FrictMat(young=5e9, poisson=0.3, frictionAngle=
#### Option 1 => Not Working
s1 = O.bodies.
s2 = O.bodies.
O.bodies[
O.bodies[
#### Option 2 => Working
#s1 = O.bodies.
#s2 = O.bodies.
#O.bodies[
#O.bodies[
#######
v=qt.Controller()
v=qt.View()
v.viewDir = (0,1,0)
v.eyePosition = Vector3( 0, -5,1)
O.run()
O.dt = 1e-7
O.saveTmp()
#######
description: | updated |
Hi Loic,
thanks for reporting. I found the problem. Will try to fix it.
Klaus