Plugins
levee2D_sand.lua File Reference

Functions

function Levee2D_HydrostaticHead (x, y, t, si)
 
function Levee2D_RisingFlood_c (x, y, t, si)
 
function Levee2D_RisingFlood_p (x, y, t, si)
 

Function Documentation

◆ Levee2D_HydrostaticHead()

function Levee2D_HydrostaticHead ( ,
,
,
si   
)

location: /home/runner/work/docs/docs/ug4/plugins/unsat_flow/config / levee2D_sand.lua :158-160

function Levee2D_HydrostaticHead(x, y, t, si)
return -y*rhog
end
function Levee2D_HydrostaticHead(x, y, t, si)

◆ Levee2D_RisingFlood_c()

function Levee2D_RisingFlood_c ( ,
,
,
si   
)

location: /home/runner/work/docs/docs/ug4/plugins/unsat_flow/config / levee2D_sand.lua :149-155

function Levee2D_RisingFlood_c(x, y, t, si)
local pegel = math.min(t/Levee2D_tRise, 1.0)*5.85
if (y <= pegel) then
return true, 1.0
end
return false, 0.0
end
function Levee2D_RisingFlood_c(x, y, t, si)
int local(bglp_vertex_descriptor p)

◆ Levee2D_RisingFlood_p()

function Levee2D_RisingFlood_p ( ,
,
,
si   
)

location: /home/runner/work/docs/docs/ug4/plugins/unsat_flow/config / levee2D_sand.lua :141-147

function Levee2D_RisingFlood_p(x, y, t, si)
local pegel = math.min(t/Levee2D_tRise, 1.0)*5.85
if (y <= pegel) then
return true, (pegel - y) * 1025.0 * levee2D_g * -1.0
end
return false, 0
end
function Levee2D_RisingFlood_p(x, y, t, si)