JCFpmMat
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Yade |
New
|
Undecided
|
Unassigned |
Bug Description
When i trying to replace my spheres in a triaxial test by clumps with the material of JCFpmMat, i encounter this error:
RuntimeError: Body #14: Body::material type JCFpmMat doesn't correspond to Body::state type State (should be JCFpmState instead).
Please note that with no replacement with clumps, there is no problem. The other point is that if i reduce the Rmean to generate more spheres, then the script would not be run. I think it is a bug for this contact model and it should be modified from the source.
the MWE is as following:
from yade import pack,plot
from yade import export, ymport
import random
from yade import utils
#######
### DEFINING VARIABLES AND MATERIALS ###
#######
key='_Triax-J2_'
intRadius= 1
mn,mx=Vector3(
## create materials for spheres and plates
id_Mat=
Mat=O.materials
#frictionless walls
O.materials.
## create walls around the packing
walls=aabbWalls
wallIds=
## use a SpherePack object to generate a random loose particles packing
sp=pack.
sp.makeCloud(
O.bodies.
relRadList1=[1,1]
relPosList1=
templates= []
templates.
O.bodies.
#######
## DEFINING ENGINES ###
#######
triax=TriaxialS
thickness = 0,
stressMask = 7,
internalCompac
)
newton=
#######
#Modified engine
#######
O.engines=[
),
triax,
newton
]
triax.goal1=
O.step()
moved form https:/ /bugs.launchpad .net/yade/ +bug/1809688 to https:/ /gitlab. com/yade- dev/trunk/ issues/ 46