init value function with a gradient box profile in Y-direction as output More...
Go to the source code of this file.
Functions | |
function U0 = | init_values_gradient_box (glob, params) |
init value function with a gradient box profile in Y-direction as output More... | |
init value function with a gradient box profile in Y-direction as output
Definition in file init_values_gradient_box.m.
function U0 = init_values_gradient_box | ( | glob, | |
params | |||
) |
init value function with a gradient box profile in Y-direction as output
function constructing the initial values of the convection diffusion problem in the specified global points glob and parameters.
\[u_0 = ( c_0 (y-y_{\min}) + c_1 (y_{\max}-y) ) \cdot \frac{1}{y_{\max}-y_{\min}} \cdot \chi_{B}\]
where \(B=[x_{\min},x_{\max}] \times [y_{\min},y_{\max}]\) denotes the gradient box with \((x_{\min},x_{\max}) = (0.35,0.55)\) and \((y_{\min},y_{\max}) = (0.2,0.9)\).
glob | glob |
params | a structure with model parameters |
U0 | U0 |
c_init_up —
constant value at upper boundary of gradient box \(c_0\) c_init_low —
constant value at lower boundary of gradient box \(c_1\) debug —
flag indicating wether debug output shall be turned on decomp_mode —
flag indicating the operation mode of the function:mu_names
.mu_names
. c_init_lo —
c init lo Definition at line 17 of file init_values_gradient_box.m.