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

Functions

function ComputeNonLinearSolution (u, domainDisc, solver)
 
function CreateApproxSpace (dom, discType, vorder, porder)
 
function CreateDomain ()
 
function CreateSolver (approxSpace, discType, p)
 
function inletVel3d (x, y, z, t)
 

Variables

parameterBool benchRate
 compute benchmark rates;
 
parameterBool convRate
 compute convergence rates;
 
parameterString difflength = "cor"
 Diffusion length type.
 
parameterNumber dim = 2
 world dimension
 
parameterBool exactjac
 If defined, exact jacobian used;.
 
parameterString grid = "grids/cylinder.ugx"
 
parameterBool nolaplace
 If defined, only laplace term used;.
 
parameterNumber numPreRefs = 0
 number of prerefinements (parallel)
 
parameterNumber numRefs = 2
 number of grid refinements
 
parameterBool pecletblend
 If defined, Peclet Blend used;.
 
parameterString stab = "flow"
 Stabilization type.
 
parameterBool stokes
 If defined, only Stokes Eq. computed;.
 
parameterString upwind = "full"
 Upwind type.
 

Function Documentation

◆ ComputeNonLinearSolution()

function ComputeNonLinearSolution ( ,
domainDisc  ,
solver   
)

location: /home/runner/work/docs/docs/ug4/apps/Examples / navier_stokes.lua :265-269

function ComputeNonLinearSolution(u, domainDisc, solver)
util.rates.static.StdComputeNonLinearSolution(u, domainDisc, solver)
AdjustMeanValue(u, "p")
function *Umax *y end
Definition channel.lua:87
function ComputeNonLinearSolution(u, domainDisc, solver)

◆ CreateApproxSpace()

function CreateApproxSpace ( dom  ,
discType  ,
vorder  ,
porder   
)

location: /home/runner/work/docs/docs/ug4/apps/Examples / navier_stokes.lua :128-139

function CreateApproxSpace(dom, discType, vorder, porder)
local approxSpace = util.ns.CreateApproxSpace(dom, discType, vorder, porder)
approxSpace:init_top_surface()
approxSpace:print_statistic()
return approxSpace
function util biot CreateApproxSpace(dom, dim, uorder, porder)
parameterNumber vorder
Definition adrivencavity.lua:4
parameterNumber porder
Definition adrivencavity.lua:5

◆ CreateDomain()

function CreateDomain ( )

location: /home/runner/work/docs/docs/ug4/apps/Examples / navier_stokes.lua :82-126

◆ CreateSolver()

function CreateSolver ( approxSpace  ,
discType  ,
p   
)

location: /home/runner/work/docs/docs/ug4/apps/Examples / navier_stokes.lua :218-263

◆ inletVel3d()

function inletVel3d ( ,
y  ,
,
t   
)

/**

/** location: /home/runner/work/docs/docs/ug4/apps/Examples / navier_stokes.lua :189-212

Variable Documentation

◆ benchRate

parameterBool benchRate

compute benchmark rates;

◆ convRate

parameterBool convRate

compute convergence rates;

◆ difflength

parameterString difflength = "cor"

Diffusion length type.

◆ dim

parameterNumber dim = 2

world dimension

◆ exactjac

parameterBool exactjac

If defined, exact jacobian used;.

◆ grid

parameterString grid = "grids/cylinder.ugx"

◆ nolaplace

parameterBool nolaplace

If defined, only laplace term used;.

◆ numPreRefs

parameterNumber numPreRefs = 0

number of prerefinements (parallel)

◆ numRefs

parameterNumber numRefs = 2

number of grid refinements

◆ pecletblend

parameterBool pecletblend

If defined, Peclet Blend used;.

◆ stab

parameterString stab = "flow"

Stabilization type.

◆ stokes

parameterBool stokes

If defined, only Stokes Eq. computed;.

◆ upwind

parameterString upwind = "full"

Upwind type.