Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

calculate transmissivity (kD) and resistance (c) #134

Closed
tomvansteijn opened this issue Dec 20, 2022 · 3 comments
Closed

calculate transmissivity (kD) and resistance (c) #134

tomvansteijn opened this issue Dec 20, 2022 · 3 comments
Assignees

Comments

@tomvansteijn
Copy link

The package already contains a useful function for computing layer thicknesses. Of course it would be nice to have an additional function for calculating transmissivity and resistance as well.

@rubencalje
Copy link
Collaborator

rubencalje commented Jan 19, 2023

Hi Tom, good idea. The formulas are quite simple:

kD = nlmod.layers.calculate_thickness(ds) * ds['kh']

and

c = nlmod.layers.calculate_thickness(ds) / ds['kv']

OnnoEbbens added a commit that referenced this issue Jul 31, 2023
@OnnoEbbens
Copy link
Collaborator

The formula @rubencalje describes calculates the resistance within a modellayer. I added the function calculate_resistance to calculate the resistance between model layers.

This function can be called using:
nlmod.dims.calculate_resistance(ds, kv='kv', thickness='thickness')

@OnnoEbbens OnnoEbbens self-assigned this Aug 24, 2023
OnnoEbbens added a commit that referenced this issue Aug 24, 2023
@OnnoEbbens
Copy link
Collaborator

Added both:

  • resistance: nlmod.dims.calculate_resistance(ds)
  • transmissivity: nlmod.dims.calculate_transmissivity(ds)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants