Hydraulic conductance for Stokes FLow #2428
Unanswered
marcosauermoser
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I am trying to calculate the permeability of a pore network with the Stokes Flow algorithm, using cubic pores and cuboid throats.
I encountered now two questions regarding the hydraulic conductance:
1,) In the documentation I found basically two ways on how to set the hydraulic conductance. Either I set it in the physics object or add the hydraulic conductance model directly to the phase. Is there a preferred method I should use? Or does it not matter in the end?
water = op.phases.Water(network=pn)
phys_water = op.physics.GenericPhysics(network=pn, phase=water, geometry=geo)
In physics:
phys_water['throat.hydraulic_conductance'] = op.models.physics.hydraulic_conductance.generic_hydraulic(phys_water, pore_viscosity='pore.viscosity', throat_viscosity='throat.viscosity', size_factors='throat.hydraulic_size_factors')
In phase:
water.add_model(propname='throat.hydraulic_conductance', model=op.models.physics.hydraulic_conductance.generic_hydraulic)
2.) When using the Valvatne_Blunt (instead of the generic_hydraulic) method for the hydraulic conductance, I am missing the throat.shape_factor. (see error message below) and most likely also the pore.shape_factor i guess. In the documentation, however, I have only found the throat_capillary.shape_factor. Could anyone explain to me please, how I can set these two properties? Or is this the same as the throat_capillary.shape_factor?
water.add_model(propname='throat.hydraulic_conductance', model=op.models.physics.hydraulic_conductance.valvatne_blunt)
ERROR : throat.hydraulic_conductance was not run since the following property is missing: 'throat.shape_factor' SOURCE : openpnm.core.ModelsMixin._regen
Thank you very much for your help!
Kind regards,
Marco
Beta Was this translation helpful? Give feedback.
All reactions