Assemble finite element matrices and solve elliptic PDE

solves
the PDE`u`

= assempde(`model`

,`c`

,`a`

,`f`

)

$$-\nabla \cdot \left(c\nabla u\right)+au=f,$$

with geometry, boundary conditions, and finite element mesh
in `model`

, and coefficients `c`

, `a`

,
and `f`

. If the PDE is a system of equations (`model.PDESystemSize`

> 1), then `assempde`

solves
the system of equations

$$-\nabla \cdot \left(c\otimes \nabla u\right)+au=f.$$

`[`

, for any of the previous input
syntaxes, assembles finite element matrices using the `Kc`

,`Fc`

,`B`

,`ud`

]
= assempde(___)*reduced
linear system* form, which eliminates any Dirichlet boundary
conditions from the system of linear equations. You can calculate
the solution `u`

at node points by the command `u = B*(Kc\Fc) + ud`

.
See Definitions.

`[`

assembles finite element matrices
that represent any Dirichlet boundary conditions using a `Ks`

,`Fs`

]
= assempde(___)*stiff-spring* approximation.
You can calculate the solution `u`

at node points
by the command `u = Ks\Fs`

.
See Definitions.

Was this topic helpful?