Once the flow engine is used, the particles run out of the wall
There was no problem when I just simulated the triaxial test, but when I activated the FlowEngine, the particles moved out of the wall and the error Failed to triangulate body with id=104 ....
Can someone help with this problem? Thank you for your attention to this matter!
This is my code:
#-*- coding: utf-8 -*-
##______________ First section, generate sample_________
from __future__ import print_function
from yade import pack, qt, plot
from math import *
from builtins import range
nRead=readParam
## model parameters
## material parameters
young=2e8,
poisson=.2,
alphaKtw=0,
competaRoll=.22,
etaTwist=0,
## fluid parameters
## control parameters
damp=0,
## output specifications
)
from yade.params.table import *
mn,mx=Vector3(
# create materials for spheres
#shear strength is the sum of friction and adhesion, so the momentRotationL
O.materials.
O.materials.
walls=aabbWalls
wallIds=
# generate particles packing
sp=pack.
sp.makeCloud(
sp.toSimulation
#check the number of bodies
number_
for i in range(number_
if not O.bodies[i]:
O.engines=[
),
# specify target values and whether they are strains or stresses
# type of servo-control, external walls compaction
),
]
qt.View()
import sys
while True:
O.run(
unb=
print(
if unb<stabilityTh
break
setContactFrict
height=
print(aabbDim(
#B. Activate flow engine and set boundary conditions in order to get permeability
flow.dead=0
flow.defToleran
flow.meshUpdate
flow.useSolver=3
flow.permeabili
flow.viscosity=10
flow.bndCondIsP
flow.bndCondVal
flow.boundaryUs
O.dt=0.1e-3
O.dynDt=False
O.run(1,1)
Qin = flow.getBoundar
Qout = flow.getBoundar
print("Qin=",Qin," Qout=",Qout)
#check the number of bodies
number_
for i in range(number_
if not O.bodies[i]:
print(number_
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Robert Caulk
- Solved:
- Last query:
- Last reply: