ERROR:root:Unable to guess python type from cxx type 'vector<shared_ptr<Body> >'
dear all,
The terminal outputs "ERROR:root:Unable to guess python type from cxx type 'vector<
besides, I am new to yade and try to use yade to simulate fibre reinforced soil, is there any script from which I can how to model the fibre reinforced soil?
sincerely appriciate your help.
best regrads,
xxxe
please see script below:
#!/usr/bin/python
# -*- coding: utf-8 -*-
"Beam-like behaviour with cylinderConnections for roots interaction with spheres."
from yade import pack
from yade.gridpfacet import *
#### Parameter ####
young=4.0e6
poisson=3
density=1e3
frictionAngle1=
frictionAngle2=
frictionAngle3=
#### Engines ####
O.engines=[
ForceResetter(),
InsertionSortC
Bo1_Box_Aabb(),
Bo1_Sphere_
Bo1_GridConne
]),
InteractionLoop([
Ig2_Sphere_
Ig2_Box_
Ig2_GridNode_
Ig2_Sphere_
Ig2_GridConne
],
[
Ip2_CohFrictM
Ip2_FrictMat_
],
[
Law2_
Law2_
Law2_
Law2_
]
),
GlobalStiffnes
NewtonIntegrat
]
#### Spheres ####
O.materials.
Ns=90
sp=pack.
if os.path.
print "loading spheres from file"
sp.load(
else:
print "generating spheres"
Ns=sp.
sp.save(
O.bodies.
#### Walls ####
O.materials.
walls=aabbWalls
wallIds=
#Assemble cylinders in sinusoidal shapes
O.materials.append( CohFrictMat( young=10*
O.materials.append( FrictMat( young=young,
Ne=30 # number of cylinders
dy=0.03
dx=0.2
dz=0.2
Nc=1 # number of additional cylinderConnection
nodesIds=[]
cylIds=[]
for j in range(-Nc, Nc+1):
dyj = abs(float(j))*dy
dxj = abs(float(j))*dx
dzj = float(j)*dz
vertices=[]
for i in range(0, Ne+1):
omega=
px=float(
vertices.
cylinderConnec
O.bodies[
O.bodies[
#### For viewing ####
from yade import qt
qt.View()
Gl1_Sphere.
#### Allows to reload the simulation ####
O.saveTmp()
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- _guessWhat
- Solved:
- Last query:
- Last reply: