Use the full continuous piecewise linear space , including endpoint basis functions, because the boundary conditions are Neumann. DefineChoose as the projection of onto . For each time step seek withThis is the conforming Crank-Nicolson method. The reaction coefficient and the diffusion are both treated at the midpoint; integration by parts has removed the boundary flux through the homogeneous Neumann condition.
Test the discrete equation with . The identity yieldsSince on the interval, . Therefore the requested inequality holds:Discarding the nonnegative second term and iterating proves for every positive , with no restriction relating it to . This is unconditional stability; the initial projection also satisfies .
Write and define the mass matrix and reaction-diffusion stiffness matrixThen each step isBoth component matrices are symmetric, so is symmetric. For a nonzero coefficient vector , its finite element function is nonzero andThus is also positive definite and every update has a unique solution. Because nonneighboring hats have disjoint interior supports, the matrix is tridiagonal in nodal order.
Articles by others on the same topic
There are currently no matching articles.