FlywheelStresses:

% Computes flywheel stresses.
 The Tresca Stress must be less than the safe yield stress.

 Type FlywheelStresses for a demo.

--------------------------------------------------------------------------
   Form:
   sigmaR,sigmaTheta,trescaStress] = FlywheelStresses( rho, mu,
                                               omega, rO, rI, r )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   rho           (1,1)   Density (kg/m^3)
   mu            (1,1)   Poisson's ratio
   omega         (1,1)   Angular rate (rad/s)
   rO            (1,1)   Outer radius (m)
   rI            (1,1)   Inner radius (m)
   r             (1,:)   Radial position (m)

   -------
   Outputs
   ------- 
   sigmaR        (1,:)   Radial stresses (N/m^2)
   sigmaTheta    (1,:)   Circumferential stresses (N/m^2)
   trescaStress	(1,1)   Tresca criteria (N/m^2)

--------------------------------------------------------------------------
 Reference:  Yongjie Hana, Zhengyi Ren, Yongxiang Tong, "General Design
             Method of Flywheel Rotor for Energy Storage System", 
             Energy Procedia 16 (2012) 359-364.
--------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D