update_horizontally: Horizontal distribution of the flow in grid.

Description Usage Arguments Value Examples

Description

Simulates the horizontal distribution of the flow in grids based on the diffusivity.

Usage

1

Arguments

h

Initial head

beta

a parameter based on the diffusivity, time step and grid size.

Value

Returns the updated head.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# create synthetic head:
h <- cbind(c(1,2,3),c(4,5,6),c(7,8,9))
h
beta <- 0.5
h1 <- update_horizontally(h, beta)
h1

# increase the value of beta:
beta <- 1.0
h1 <- update_horizontally(h, beta)

# decrease the value of beta:
beta <- 0
h1 <- update_horizontally(h, beta)
h1

ambhasGW documentation built on May 2, 2019, 1:05 p.m.