Plugins
stoeckl_lens_unsat.lua File Reference

Functions

function HydroPressure (x, y)
 
function left_boundary (x, y, t, si)
 
function left_boundary_c (x, y, t, si)
 
function pumping (x, y, t, si)
 

Function Documentation

◆ HydroPressure()

function HydroPressure ( ,
 
)

location: /home/runner/work/docs/docs/ug4/plugins/unsat_flow/config / stoeckl_lens_unsat.lua :15-17

function HydroPressure(x, y)
return (y - sea_level) * lens_rho_c * lens_g -- phreatic surface at y = 0.4m
end
function HydroPressure(x, y)

◆ left_boundary()

function left_boundary ( ,
,
,
si   
)

location: /home/runner/work/docs/docs/ug4/plugins/unsat_flow/config / stoeckl_lens_unsat.lua :27-34

function left_boundary(x, y, t, si)
hp = HydroPressure(x, y)
if y > sea_level then
return false, 0.0 -- no flow above sea level
else
return true, hp
end
end
function left_boundary(x, y, t, si)

References dim, grid(), and numRefs.

◆ left_boundary_c()

function left_boundary_c ( ,
,
,
si   
)

location: /home/runner/work/docs/docs/ug4/plugins/unsat_flow/config / stoeckl_lens_unsat.lua :36-42

function left_boundary_c(x, y, t, si)
if y > sea_level then
return false, 0.0
else
return true, 1.0
end
end
function left_boundary_c(x, y, t, si)

◆ pumping()

function pumping ( ,
,
,
si   
)

location: /home/runner/work/docs/docs/ug4/plugins/unsat_flow/config / stoeckl_lens_unsat.lua :19-25

function pumping(x, y, t, si)
if t < steady_state then
return 0.0
else
return pump_rate
end
end
function pumping(x, y, t, si)