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

Description

EX_LINEARELASTICITY1 Example for solid sress-strain on a cube.

[ FEA, OUT ] = EX_LINEARELASTICITY1( VARARGIN ) Example to calculate displacements and stresses for a cube stretched in the x-direction.

Accepts the following property/value pairs.

Input       Value/{Default}        Description
-----------------------------------------------------------------------------------
E           scalar {1}             Modulus of elasticity
nu          scalar {0.3}           Poissons ratio
force       scalar {1}             Load force
igrid       scalar 1/{0}           Cell type (0=quadrilaterals, 1=triangles)
hmax        scalar {0.1}           Max grid cell size
sfun        string {sflag1}        Shape function for displacements
iplot       scalar 0/{1}           Plot solution (=1)
                                                                                  .
Output      Value/(Size)           Description
-----------------------------------------------------------------------------------
fea         struct                 Problem definition struct
out         struct                 Output struct
Generated fields of fea:
Generated fields of out: