User Guide

Calculation Method

The calculator determines the minimum Center-to-Center (C2C) distance in mm between each pair of adjacent pipelines. It assumes a staggered flange arrangement — flanges on adjacent lines are longitudinally offset, so the governing case is always pipe body on one side against a flange on the other.

staggered flanges arrangement
Plan view of pipelines with staggered flanges

For each pipeline pair, two cases are evaluated and the larger result governs. Results are rounded up to the nearest 5 mm.

Case 1: $$ \text{C2C}_1 = (\text{Rad}_{\text{pipe}_1} + \text{Insul}_{\text{pipe}_1}) + (\text{Rad}_{\text{flange}_2} + \text{Insul}_{\text{flange}_2}) + \text{Gap} $$ Case 2: $$ \text{C2C}_2 = (\text{Rad}_{\text{pipe}_2} + \text{Insul}_{\text{pipe}_2}) + (\text{Rad}_{\text{flange}_1} + \text{Insul}_{\text{flange}_1}) + \text{Gap} $$ Final Result: $$ \text{C2C} = \max(\text{C2C}_1,\ \text{C2C}_2) \rightarrow \text{rounded up to nearest 5 mm} $$

Pipe and flange OD data is sourced from industry-standard dimensional tables for carbon and stainless steel piping. For background on the engineering problem this tool addresses and its intended use, see the About page.

User Interface

Global Settings

  • Gap (mm): The minimum required physical clearance between the widest points of adjacent components (insulation or flange).
  • Calculation Logic:
    • Pipe-to-Flange: Factors in flange diameter and insulation thickness when calculating spacing. Pipe to Flange spacing
    • Pipe-to-Pipe: Flanges are omitted; calculates spacing based strictly on pipe OD and insulation thickness. Pipe to Pipe spacing

Pipeline Parameters

  • Pipeline Name: Optional label used in DXF drawings and PDF reports.
  • NPS: Select the nominal pipe size to automatically assign the correct Pipe OD from the database.
  • Class: Select the pressure rating to automatically assign the flange OD from the database. Classes Axxx refer to Series A flanges, while Bxxx refer to Series B flanges.
  • Insul (mm): Insulation thickness on the pipe body, in millimeters.
  • Flg Insul (mm): Insulation thickness on the flange, in millimeters.
  • BOP (mm): Used in DXF drawings and PDF reports. By default, pipelines are drawn at BOP +0. If a non-zero value is entered, the BOP will be shifted by the specified amount relative to the rest of the pipelines.

Functions

  • Export DXF: Exports a DXF (version R12, metric, mm) side view drawing. Elements are organized on dedicated layers.
  • Export PDF: Exports a report in PDF format, showing the current pipeline setup and respective results.
  • Save Setup: Saves your current pipeline arrangement locally as a .json file.
  • Load Setup: Loads a saved pipeline arrangement from a .json file.
  • + Add Pipe: Inserts a new pipeline below the selected pipeline.
  • Remove: Deletes the selected pipeline from the current arrangement.

Total Required Space

The Total Required Space is calculated by adding the radii and insulation thicknesses of the first and last pipes to the sum of all center-to-center distances within the current piping arrangement. The figure below illustrates this logic.

Total space calculation
Calculation of total space required for piping arrangement

DXF Drawing

Layer Structure

The exported DXF assigns each geometry type to its own named layer. Default visibility settings are:

  • CENTERLINE (visibility set to ON)
  • FLANGE (visibility set to OFF)
  • FLANGE_INSULATION (visibility set to OFF)
  • PIPE (visibility set to ON)
  • PIPE_INSULATION (visibility set to OFF)
  • TEXT (visibility set to ON)

Layer Visibility and Verification

With default layers on, the drawing shows a clean section view of the arrangement (Fig. 1). Turning on the hidden layers reveals the full flange and insulation profiles (Fig. 2), which can be used to verify that the specified gap is maintained between adjacent components (Fig. 3 & 4).

pipe drawing with default layers on
Fig.1 Default layers — section view
pipe drawing with helper layers on
Fig.2 All layers on — full geometry visible
pipe drawing with default layers on
Fig.3 Arrangement with C2C distance labelled
pipe drawing with helper layers on
Fig.4 Helper layers on — gap verification

NOTICE: Enabling the hidden helper layers will often result in a visual overlap of flange profiles on adjacent pipelines. This is expected — the staggered flange setup means those flanges are on different planes along the Z-axis and do not actually clash.

Abbreviations

  • NPS: Nominal Pipe Size
  • OD: Outside Diameter
  • Insul: Insulation thickness
  • Flg: Flange
  • BOP: Bottom of Pipe
  • Rad: Radius
  • C2C: Center to Center distance, in mm