Plugins
stoeckl_lens_unsat_full.lua File Reference

Functions

function HydroPressure (x, y)
 
function pumping (x, y, t, si)
 
function shore_boundary (x, y, t, si)
 
function shore_boundary_c (x, y, t, si)
 

Function Documentation

◆ HydroPressure()

function HydroPressure ( ,
 
)

location: /home/runner/work/docs/docs/ug4/plugins/unsat_flow/config / stoeckl_lens_unsat_full.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)

◆ pumping()

function pumping ( ,
,
,
si   
)

location: /home/runner/work/docs/docs/ug4/plugins/unsat_flow/config / stoeckl_lens_unsat_full.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)

◆ shore_boundary()

function shore_boundary ( ,
,
,
si   
)

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

function shore_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 shore_boundary(x, y, t, si)

References dim, grid(), and numRefs.

◆ shore_boundary_c()

function shore_boundary_c ( ,
,
,
si   
)

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

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