Engine Error (JCFpmMat)
Hi guys,
I tried to model the triaxial with JCFpmMat, but when I run it I faced the attached error. I know the problem comes from the engine but I modified it for thousand times but still is not working properly. Please help me to settle this issue.
Thanks
The error:
Number of elements: 75006
Box Volume: 4.01057204585e-312
Friction: 28.5 porosity: 1.0FATAL /build/
Body #5006: Body::material type JCFpmMat doesn't correspond to Body::state type State (should be JCFpmState instead).
ERROR /build/
Traceback (most recent call last):
File "/usr/bin/yade", line 182, in runScript
execfile(
File "j2triaxial-
O.run(5000,1)
RuntimeError: std::exception
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view (use h-key for showing help), F10 both, F9 generator, F8 plot. ]]
And part of my script:
# The following 5 lines will be used later for batch execution
nRead=readParam
num_spheres=5000,# number of spheres
compFricDegree =30, # contact friction during the confining phase
key='_Triax-J2_', # put you simulation's name here
unknownOk=True
)
from yade.params import table
num_spheres=
key=table.key
targetPorosity = 0.48 #the porosity we want for the packing
frictionAngle = 30# contact friction during the deviatoric loading
finalFricDegree = 30
rate=-0.02 # loading rate (strain rate)
stabilityThresh
iterper=1000
young=4.5e5# contact stiffness
poisson=0.25
cohesion=20e6
tensileStrength = 7e6
density = 1950
intRadius= 1
damp=0.1 # Newton damping
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.
#######
#Modified engine
#######
O.engines=[
),
GlobalStiffness
(active=
triax,
]
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 Sam for more information if necessary.