FEATool  v1.6
Finite Element Analysis Toolbox
 All Files Functions Pages
ex_poisson5.m File Reference

Description

EX_POISSON5 3D Poisson equation example on a unit sphere.

[ FEA, OUT ] = EX_POISSON5( VARARGIN ) Poisson equation on a unit sphere with source term f=1 and homogenous (zero) Dirichlet boundary conditions on the sphere surface. The exact solution to this problem is u_ref=(1-r^2)/6 where r is the radius from the origin. Accepts the following property/value pairs.

Input       Value/{Default}        Description
-----------------------------------------------------------------------------------
igrid       scalar 1/{0}           Cell type (0=quadrilaterals, 1=triangles)
hmax        scalar {0.35}          Max grid cell size
sfun        string {sflag1}        Shape function
iplot       scalar 0/{1}           Plot solution (=1)
                                                                                  .
Output      Value/(Size)           Description
-----------------------------------------------------------------------------------
fea         struct                 Problem definition struct
out         struct                 Output stuct
Generated fields of fea:
Generated fields of out: