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


EX_LINEARELASTICITY1 Example for solid stress-strain on a cube.

[ FEA, OUT ] = EX_LINEARELASTICITY1( VARARGIN ) Example to calculate displacements and stresses for a cube stretched in one 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
idir        scalar 1/{2,3}         Stress direction
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: