Plugins
stoeckl_pumping.lua File Reference

Functions

function HydroPressure (x, y, t, si)
 
function pumping_sink (x, y, t, si)
 

Function Documentation

◆ HydroPressure()

function HydroPressure ( ,
,
,
si   
)

location: /home/runner/work/docs/docs/ug4/plugins/unsat_flow/config / stoeckl_pumping.lua :27-29

function HydroPressure(x, y, t, si)
return params.gravity * params.saltWaterDensity * y
end
function HydroPressure(x, y)

◆ pumping_sink()

function pumping_sink ( ,
,
,
si   
)

location: /home/runner/work/docs/docs/ug4/plugins/unsat_flow/config / stoeckl_pumping.lua :31-39

function pumping_sink(x, y, t, si)
if t < params.phase1_time then
return 0.0
elseif t < params.phase2_time then
return params.pumping_rate
else
return 0.0
end
end
function pumping_sink(x, y, t, si)

References dim, grid(), local(), numRefs, print(), s, to(), and type().