Can the modeling method of 'randonDensePack' be used in PFV model?
Hello everyone:
I am a beginner in PFV, i have a bit of problem with modeling in PFV. I changed the modeling method (makeCLoud to randomDensePack) in [1], but this caused an error in my program, and i do not know what caused it. Whether the 'randomDensePack' method cannot be used in the PFV .
There is my code:
#######
from yade import pack, ymport
import numpy as np
import time
radiuscyl=.05
heightcyl=.25
dP=4.347e3 #Pa
visc=1e-3 #Pa.sec - taken from Catalano, Chareyre, Bathelemy (2014)
density=1000 #kg/m3
g=9.81 #m/s2
spheresRadius = 0.05
young=1e6
O.materials.
O.materials.
pred=pack.
sp=pack.
sp.toSimulation
mn,mx=utils.
walls=aabbWalls
wallIds=
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
FlowEngine(
GlobalStiffnes
#triax,
#PyRunner(
#PyRunner(
#SnapshotEngin
newton
]
flow.dead=0
flow.defToleran
flow.meshUpdate
flow.useSolver=3
flow.permeabili
flow.viscosity=10
flow.bndCondIsP
flow.bndCondVal
flow.boundaryUs
#O.engines=
O.dt=0.1e-8
O.dynDt=False
#######
[1]oedometer.py file (the example file for PFV)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Liu Changdong
- Solved:
- Last query:
- Last reply: