calc_conductance_modflow_perLen: Calculate classic MODFLOW-style stream conductance (per unit...

Description Usage Arguments Value Author(s) Examples

View source: R/calc_conductance.R

Description

Calculate classic MODFLOW-style stream conductance (per unit length) Per Unit Length Conductance = width x streambed hydraulic conductivity / streambed thickness

Usage

1
calc_conductance_modflow_perLen(k_str, str_width, str_thick)

Arguments

k_str

numeric, streambed hydraulic conductivity

str_width

numeric, stream width

str_thick

numeric, streambed thickness (head loss zone)

Value

numeric, conductance

Author(s)

Leland Scantlebury

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#-- Read in shapefiles
str <- read_sf(system.file("extdata", "MehlandHill2010_stream.shp", package = "pbjr"))
tri <- read_sf(system.file("extdata", "720_triangles.shp", package = "pbjr"))
vor <- read_sf(system.file("extdata", "720_voronoi.shp", package = "pbjr"))
str <- line_explode(str)

#-- Calculate barycentric weight DF
swdf <- calc_stream_voronoi_weights(stream = str, voronoi = vor, triangles = tri)

#-- Calculate distances
swdf <- stream_elev_from_slope(swdf = swdf, slope = 0.0015, initial_elev = 50)

#-- Calculate conductances
swdf$Conductance <- calc_conductance_modflow_perLen(k_str = 1, str_width = 1,
                                                    thickness = 0.5)

scantle/pbjr documentation built on Dec. 22, 2021, 10:19 p.m.