You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$$
C(h) \frac{\partial h }{\partial t}-
\frac{\partial }{\partial z}[k\frac{\partial h }{\partial z}]
+\frac{\partial k }{\partial z}=0
$$
where
$C$, $k$ are nonlinear function of $h$
for inner nodes i (where neighbours are free nodes)
$$
w_{i-1}h_{i-1}+w_{i}h_{i}+w_{i-1}h_{i-1}=b_i
$$
where the weight could be calculated from above equation easily.
Assemble
we now have linear equation to be solve at each iteration m
$Ah=b$. A is a sparse band matrix.
Let this describes all node including those the values are known.
Define a picking up matrix $P$ that would pick up the row corresponding to free node.
we have $\hat{P}+P=I$
$$
(\hat{P}+P)Ah=b
$$
$$
PAh=b-\hat{P}Ah
$$
Sine the zero column of $P/\hat{P}$