Periodic flow and permeability
Dear Yade community,
I am trying to perform the seemingly simple computation of the permeability of a periodic assembly using the PFV module. From that previous question (https:/
Trying to do so, Yade complains "setCellPImposed" and "setCellPressure" being out of range with max value 0 and returns wrong values for my boundary flows. Following is my input script, I would very much appreciate your help on figuring this out:
#######
from yade import pack,Vector3
O.periodic=True
O.cell.
sp=pack.
radius=5e-3
num=sp.
O.bodies.
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
), GlobalStiffness
NewtonIntegrat
PeriodicFlowEn
]
O.dt=0.1e-8
O.dynDt=False
flow.defToleran
flow.meshUpdate
flow.useSolver=0 # Solver >0 not supported for PBC
flow.permeabili
flow.viscosity=1
flow.gradP=
flow.setCellPIm
flow.setCellPre
O.run(1,1)
Qin = flow.getBoundar
Qout = flow.getBoundar
print("Qin=",Qin," Qout=",Qout)
#######
Thank you,
Jibril B. Coulibaly
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 Jibril Coulibaly for more information if necessary.