Wrong permeability values during compaction
Hello everyone;
Hope you are doing well.
I am using the PFV model for obtaining the permeability of saturated porous media during compaction.
I add a vertical load after the triaxial compaction for my purpose.
As you know, with decreasing the porosity the permeability should decrease. But I gained weird values for permeability.
# iter permeability porosity
9000 0.0040769404267505 0.41192028080767573
14000 11.74354284652612 0.4030884727731015
19000 13.343426253310719 0.3923362673334938
24000 23.84251322618248 0.37979613643988935
29000 7.022957721808432 0.3660237961115663
34000 7.727306935671516 0.352379674082547
39000 13.325689621243457 0.3405623832436381
I do not know what the reason is. Maybe it is because of the wrong wall number. After combining the models, there are more than 6 walls around the sample !!!
Would you please let me know which walls I should select for Qin = flow.getBoundar
Here is my code:
###
from __future__ import print_function
from builtins import range
from yade import pack, plot
from yade import export
num_spheres=400# number of spheres
young=1e6
compFricDegree = 3 # initial contact friction during the confining phase
finalFricDegree = 30 # contact friction during the deviatoric loading
mn,mx=Vector3(
O.materials.
O.materials.
walls=aabbWalls
wallIds=
psdSizes,
sp=pack.
sp.makeCloud(
sp.toSimulation
triax=TriaxialS
maxMultiplier=
finalMaxMultip
thickness = 0,
stressMask = 7,
max_vel = 0.005,
internalCompac
)
newton=
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
FlowEngine(dead=1, label="flow"), #introduced as a dead engine for the moment, see 2nd section
GlobalStiffnes
triax,
newton
]
triax.goal1=
while 1:
O.run(1000, True)
unb=unbalance
if unb<0.001 and abs(-10000-
break
setContactFrict
#B. Activate flow engine and set boundary conditions in order to get permeability
flow.dead = 0
flow.defTolerance = 0.3
flow.meshUpdate
flow.useSolver = 3
flow.permeabili
flow.viscosity = 10
flow.bndCondIsP
flow.bndCondValue = [0, 0, 1, 0, 0, 0]
flow.boundaryUs
O.dt = 0.1e-3
O.dynDt = False
def get_permeability():
Qin = flow.getBoundar
Qout = flow.getBoundar
permeability = abs(Qin) / 1.e-4 #size is one, we compute K=V/∇H
print("Qin=", Qin, " Qout=", Qout, " permeability=", permeability)
return permeability
# walls
walls = aabbWalls()
top = walls[5]
O.bodies.
# apply oedometric compression
top.state.vel = (0, 0, -0.06)
# porosity
O.engines += [PyRunner(
def plotAddData():
porosity = utils.porosity()
perm = get_permeability()
plot.
plot.
# run
O.stopAtIter = 40100
O.run()
##
Many thanks in advance.
Best regards,
Soheil
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Soheil Safari
- Solved:
- Last query:
- Last reply: