@neutrium/pipe - v3.0.0
    Preparing search index...

    Class Pipe

    Structural geometry contract for a uniform circular pipe cross-section. Implementations must supply finite, positive, mutually consistent dimensions and areas. Length, roughness, placement and operating state belong to the application.

    Hierarchy (View Summary)

    Implements

    Index
    • Create a pipe from finite, positive lengths. Wall thickness must be less than half the outer diameter.

      Parameters

      • outerDiameter: string | Quantity
      • wallThickness: string | Quantity

      Returns Pipe

    externalCrossSectionalArea: Quantity

    Enclosed outer area, consistent with pi * outerDiameter^2 / 4, with area units.

    internalCrossSectionalArea: Quantity

    Internal flow area, consistent with pi * internalDiameter^2 / 4, with area units.

    internalDiameter: Quantity

    Actual internal diameter, with length units.

    materialCrossSectionalArea: Quantity

    Pipe wall area, equal to external minus internal cross-sectional area.

    outerDiameter: Quantity

    External diameter, with length units; greater than the internal diameter.

    wallThickness: Quantity

    Wall thickness, equal to half the difference between outer and internal diameters.

    • External curved wall area for a finite, non-negative length; excludes end faces.

      Parameters

      • length: string | Quantity

      Returns Quantity

    • Internal curved wall area for a finite, non-negative length; excludes end faces.

      Parameters

      • length: string | Quantity

      Returns Quantity

    • Bore volume for a finite, non-negative length, in the outer diameter's cubed units.

      Parameters

      • length: string | Quantity

      Returns Quantity

    • Dry pipe material mass in kg, using a finite, positive mass-per-volume density.

      Parameters

      • length: string | Quantity
      • density: string | Quantity

      Returns Quantity

    • Volume of pipe material, excluding the bore, in the outer diameter's cubed units.

      Parameters

      • length: string | Quantity

      Returns Quantity