Loading [MathJax]/extensions/tex2jax.js
Apps
All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Modules Pages
solver_tut_01.lua File Reference

Functions

function Diffusion2d (x, y, t)
 
function DirichletValue2d (x, y, t)
 
function ReactionRate2d (x, y, t)
 
function Source2d (x, y, t)
 
function Velocity2d (x, y, t)
 

Function Documentation

◆ Diffusion2d()

function Diffusion2d ( ,
y  ,
t   
)

location: /home/runner/work/docs/docs/ug4/apps/Tutorials/solver / solver_tut_01.lua :15-18

function Diffusion2d(x, y, t)
return 1, 0,
0, 1
function y
Definition channel.lua:79
function t
Definition channel.lua:79
function *Umax *y end
Definition channel.lua:87
function Diffusion2d(x, y, t)

References s.

◆ DirichletValue2d()

function DirichletValue2d ( ,
y  ,
t   
)

location: /home/runner/work/docs/docs/ug4/apps/Tutorials/solver / solver_tut_01.lua :33-36

function DirichletValue2d(x, y, t)
local s = 2*math.pi
return true, math.sin(s*x) + math.sin(s*y)
parameterString s
function DirichletValue2d(x, y, t)

◆ ReactionRate2d()

function ReactionRate2d ( ,
y  ,
t   
)

location: /home/runner/work/docs/docs/ug4/apps/Tutorials/solver / solver_tut_01.lua :24-26

function ReactionRate2d(x, y, t)
return 0
function ReactionRate2d(x, y, t)

◆ Source2d()

function Source2d ( ,
y  ,
t   
)

location: /home/runner/work/docs/docs/ug4/apps/Tutorials/solver / solver_tut_01.lua :28-31

function Source2d(x, y, t)
local s = 2*math.pi
return s*s*(math.sin(s*x) + math.sin(s*y))
function Source2d(x, y, t)

◆ Velocity2d()

function Velocity2d ( ,
y  ,
t   
)

location: /home/runner/work/docs/docs/ug4/apps/Tutorials/solver / solver_tut_01.lua :20-22

function Velocity2d(x, y, t)
return 0, 0
function Velocity2d(x, y, t)

References s.