You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,Prof,When I am calculating the hydraulic shape factor, I noticed that the coordinates of the throat are missing. How should I choose the coordinates for the throat?intersecting_cones, hybrid_cones_and_cylinders, intersecting_trapezoids, hybrid_trapezoids_and_rectangles, intersecting_pyramids, hybrid_pyramids_and_cuboids—all of these functions require throat.coords. Below is the error part you provided:
`pn.add_model(propname='throat.hydraulic_size_factor', model=op.models.geometry.hydraulic_size_factors.intersecting_cones)
Traceback (most recent call last):
File D:\anaconda\lib\site-packages\openpnm\core_base2.py:173 in getitem
return super().getitem(key)
KeyError: 'throat.coords'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
Input In [30] in <cell line: 1>
pn.add_model(propname='throat.hydraulic_size_factor', model=op.models.geometry.hydraulic_size_factors.intersecting_cones)
File D:\anaconda\lib\site-packages\openpnm\core_models.py:405 in add_model
self.run_model(propname+'@'+domain)
File D:\anaconda\lib\site-packages\openpnm\core_models.py:507 in run_model
self.run_model(propname=propname, domain=domain)
File D:\anaconda\lib\site-packages\openpnm\core_models.py:526 in run_model
vals = mod_dict['model'](self, **kwargs)
File D:\anaconda\lib\site-packages\openpnm\models\geometry\hydraulic_size_factors_funcs.py:199 in intersecting_cones
L1, Lt, L2 = _conduit_lengths.intersecting_cones(
File D:\anaconda\lib\site-packages\openpnm\models\geometry\conduit_lengths_funcs.py:154 in intersecting_cones
t_coords = network[throat_coords]
File D:\anaconda\lib\site-packages\openpnm\core_base2.py:188 in getitem
raise KeyError(key)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,Prof,When I am calculating the hydraulic shape factor, I noticed that the coordinates of the throat are missing. How should I choose the coordinates for the throat?intersecting_cones, hybrid_cones_and_cylinders, intersecting_trapezoids, hybrid_trapezoids_and_rectangles, intersecting_pyramids, hybrid_pyramids_and_cuboids—all of these functions require throat.coords. Below is the error part you provided:
`pn.add_model(propname='throat.hydraulic_size_factor', model=op.models.geometry.hydraulic_size_factors.intersecting_cones)
Traceback (most recent call last):
File D:\anaconda\lib\site-packages\openpnm\core_base2.py:173 in getitem
return super().getitem(key)
KeyError: 'throat.coords'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
Input In [30] in <cell line: 1>
pn.add_model(propname='throat.hydraulic_size_factor', model=op.models.geometry.hydraulic_size_factors.intersecting_cones)
File D:\anaconda\lib\site-packages\openpnm\core_models.py:405 in add_model
self.run_model(propname+'@'+domain)
File D:\anaconda\lib\site-packages\openpnm\core_models.py:507 in run_model
self.run_model(propname=propname, domain=domain)
File D:\anaconda\lib\site-packages\openpnm\core_models.py:526 in run_model
vals = mod_dict['model'](self, **kwargs)
File D:\anaconda\lib\site-packages\openpnm\models\geometry\hydraulic_size_factors_funcs.py:199 in intersecting_cones
L1, Lt, L2 = _conduit_lengths.intersecting_cones(
File D:\anaconda\lib\site-packages\openpnm\models\geometry\conduit_lengths_funcs.py:154 in intersecting_cones
t_coords = network[throat_coords]
File D:\anaconda\lib\site-packages\openpnm\core_base2.py:188 in getitem
raise KeyError(key)
KeyError: 'throat.coords'`
Beta Was this translation helpful? Give feedback.
All reactions