Permeability
Hello all;
greetings from brazil. I wrote a code that's supposed to calculate the permeability of a rock matrix using the coupled method DEM-DFN.
The rock is a cubic set fo spheres [1] and the is a plane of fracture where the fluid will flow along [2] by an imposed pressure on the bottom facet of the cube.
My goal is to measure the permeability through the rock by using the following:
O.run(1,True)
# getBoundaryFlux get the total discharge [m3/s]
Qin = flow.getBoundar
Qout = flow.getBoundar
# if Qout is the total discharge, we can compute k=Q*nu*
# if Qout is the flux, we can compute k=Q*nu*
permeability = abs(Qout)
permeability2 = flow.averageVel
conductivity = permeability*
print "\n\nQin=
print "\n\nPermeability [m2]=",
# # flow.saveVtk() # if you want to see the result in Paraview
But I keep getting diferent values for Qin and Qout. I've checked if the plane is placed correctly and I think it is.
- Does anyone know what could possibly be wrong with this?
A further question:
- Should I set bndCondIsPressure as [0,0,0,0,0,0] when there is no flux? And as [0,0,1,0,0,0] when there is flux along the y axis? Or [0,0,1,1,0,0]?
All files are shared in:
https:/
(main code: hydraulicInject
[1] 10KSpheres.spheres file
[2] Fracure_plane.png
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: