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


EX_LAPLACE2 2D Laplace equation on a circle with nonzero boundary conditions.

[ FEA, OUT ] = EX_LAPLACE2( VARARGIN ) Laplace equation on a circle with source term 0, nonzero boundary conditions and exact solution u=r^3*sin(3*th). Accepts the following property/value pairs.

Input       Value/{Default}        Description
radi        scalar {1}             Radius of circle
hmax        scalar {0.1}           Max grid cell size
sfun        string {sflag1}        Shape function
iphys       scalar 0/{1}           Use physics mode to define problem    (=1)
                                   or directly define fea.eqn/bdr fields (=0)
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: