Plugins
evaluate.lua File Reference

Functions

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

Variables

parameterString communicationDir = "./evaluations"
 
parameterString evaluationId = 0
 

Function Documentation

◆ HydroPressure()

function HydroPressure ( ,
,
,
si   
)

location: /home/runner/work/docs/docs/ug4/plugins/unsat_flow/experiments/stoeckl_pump_opt / evaluate.lua :34-36

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

References local().

◆ pumping_sink()

function pumping_sink ( ,
,
,
si   
)

location: /home/runner/work/docs/docs/ug4/plugins/unsat_flow/experiments/stoeckl_pump_opt / evaluate.lua :38-46

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, p, print(), s, to(), and type().

Variable Documentation

◆ communicationDir

parameterString communicationDir = "./evaluations"

◆ evaluationId

parameterString evaluationId = 0