Two issues about Drainage and InvasionPercolation in version 3.10 #2659
Replies: 2 comments 14 replies
-
Hi @Aneurinsky To answer your second question(s) about the defending phase, during quasi-static invasions (slow), the defending phase properties do not impact the displacement since there is no viscous effects so there is no need to specific a defending phase. However, trapping can still occur so if you specify 'outlets' then the algorithm will check to see which defending phase pores are no longer connected to the outlets and mark them as trapped. If you don't specify outlets then the algorithm assumes that trapping does not occur, which is equivalent to assuming the defending phase is a vacuum, like in mercury porosimetry. |
Beta Was this translation helpful? Give feedback.
-
Greeting @jgostick .. SIr I've extracted the percolation pathways and want to visualize them in paraview.. please address this issue as soon as possible. I would be very grateful for this.. thank you in advance |
Beta Was this translation helpful? Give feedback.
-
Hi, The openpnm open source package has enhanced my understanding of two-phase flow at the pore scale. In the study of the new version, there are two questions that bother me, and I still need your answers:
(1)
In version 3.10, the Drainage algorithm is selected and the calculation is completed, and the file is saved using project_to_vtk, and the program reports an error:
Similarly, when the InvasionPercolation algorithm is selected, an error will also appear when saving the file with project_to_vtk:
(2)
When applying the Drainage algorithm, the intrusion phase is usually indicated, so is there a default defense phase? If so, what is this defense phase? If not, was the initial state of the network dry or vacuum?
Similarly, for the InvasionPercolation algorithm, if the defense phase is not specified, what is the default defense phase? In RelativePermeability.py, set the defense phase to the default value, or to air, the calculation result is the same? I understand the following statement, the air is not set as a defense phase, I don't know if this understanding is correct?
`air = op.phase.Air(network=pn,name='air')
air['pore.surface_tension'] = 0.072
air['pore.contact_angle'] = 180.0
air.add_model_collection(op.models.collections.phase.air)
air.add_model_collection(op.models.collections.physics.basic)
air.regenerate_models()
water = op.phase.Water(network=pn,name='water')
water.add_model_collection(op.models.collections.phase.water)
water.add_model_collection(op.models.collections.physics.basic)
water.regenerate_models()
DRN = op.algorithms.Drainage(network=pn,phase=water)
DRN.set_inlet_BC(pores=pn.pores('top'))
DRN.run()`
Thank you again for your patience in reading my question and look forward to your reply, thank you!
Beta Was this translation helpful? Give feedback.
All reactions