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
acroucher edited this page Sep 24, 2014
·
5 revisions
This example PyTOUGH script opens a geometry file and TOUGH2 data file and assigns uniformly distributed heat generators over a circular region of the basement of the model (within a specified radius of the centre of the upflow).
Here the numpy function linalg.norm is used to calculate the distance between each column centre and the centre of the upflow, to see if it lies within the upflow region.