amount_equipotentialintervals: Decide on number of equipotential intervals

View source: R/flownet_plotting.R

amount_equipotentialintervalsR Documentation

Decide on number of equipotential intervals

Description

This function takes a finite difference solution for both head 'h' and flow potential function 'psi' to get the best number of equipotential intervals 'Nd' based on a given number of flow channels 'Nf'. This function assumes the permeabilities in all domains is the same

Usage

amount_equipotentialintervals(df, dp, Nf = 5)

Arguments

df

tibble with information about domain

dp

tibble with head and flow potential results for each node

Nf

number of requested flow channels

Value

the optimal number of equipotential intervals 'Nd'

Examples

df <- flownet_geometry_rectangular()
dp <- flownet_solve_rectangular(df)
amount_equipotentialintervals(df, dp, Nf = 5)

GJMeijer/soilmech documentation built on May 22, 2022, 10:39 a.m.