Abrupt saltwater interface

class swi.GloverSWI(rho_fresh=1000.0, rho_salt=1023.0, K=1.0, L=100.0, Q=0.2, n=25)

Bases: object

Glover (1959) abrupt saltwater interface solution.

Attributes:

rho_fresh (float) : Density of freshwater (units kg/kL, default 1000). rho_salt (float) : Density of saltwater (units kg/kL, default 1023). K (float) : Aquifer hydraulic conductivity (units L/T, default 1.0). L (float) : Length of aquifer for evaluating the solution (units L, default 100). Q (float) : Groundwater flow toward the sea (units L3/T per L of shoreline, default 0.2). n (int) : Number of x values for evaluating the solution (default 25).

property K

float : Aquifer hydraulic conductivity (units L/T, default 1.0).

Setter method checks for valid values and triggers an exception if invalid values are specified.

property L

float : Length of aquifer for evaluating the solution (units L, default 100).

Setter method checks for valid values and triggers an exception if invalid values are specified.

property Q

float : Groundwater flow toward the sea (units L3/T per L of shoreline, default 0.01).

Setter method checks for valid values and triggers an exception if invalid values are specified.

property alpha_bar

float : Density difference ratio.

draw(dw=8)

Display the definition diagram.

Args:

dw (float) : Width of figure (default 8.0).

property gap

float : Length of freshwater seepage face.

info()

Print the solution information.

property n

int : Number of x values for evaluating the solution (default 50).

Setter method checks for valid values and triggers an exception if invalid values are specified.

property rho_fresh

float : Freshwater density (units kg/kL, default 1000).

Setter method checks for valid values and triggers an exception if invalid values are specified.

property rho_salt

float : Saltwater density (units kg/kL, default 1023).

Setter method checks for valid values and triggers an exception if invalid values are specified.

swi(plot=True, csv='', xlsx='')

Glover (1959) saltwater interface.

Args:

plot (bool) : Display a plot of the results (default True). csv (str) : Filepath for export of results to csv file; results

are exported if the string is not empty (default ‘’).

xlsx (str)Filepath for export of result to xlsx file; results

are exported if the string is not empty (default ‘’).

Returns:

Pandas dataframe containing head and swi values.