MassPressureVessel:

Path: Common/PressureVessels

% Computes the mass of a pressure vessel.
 Cylindrical vessels include a spherical cap. The default type is 'cylinder'.

 Type MassPressureVessel for a demonstration of a 0.2 m and 1.0 m
 long pressure vessel made of titanium.
--------------------------------------------------------------------------
   Form:
   m = MassPressureVessel( d, p, sigma, type )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   d        (1,1) Radius for sphere [radius length] for cylinder (m)
   t        (1,:) Thickness (mm)
   rho      (1,1) Density
   type     (1,:) 'cylinder' or 'sphere'

   -------
   Outputs
   -------
   m        (1,:) Mass (kg)

--------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D

Back to the Common Module page