Skip to main content

PD8010 wall thickness calculations.

Project description

Wallthick

Pipeline

PyPI Status Build Status Coverage Status

This library calculates the required wall thickness and recommended test pressures for a single walled subsea flowline in accordance with allowable stress design code PD 8010-2.

The calculations consider the following criterion:

  • Internal pressure (hoop stress)
  • Hydrostatic collapse
  • Local buckle propagation

Along with pressures for the following hydrostatic tests:

  • Strength test
  • Leak test

Tutorial and Usage

Input json file:

{
    "name": "Test Pipe",
    "t_sel": 0.01097,
    "f_tol": 0.125,
    "B": 0,
    "t_corr": 0.001,
    "D_o": 0.1683,
    "sig_y": 450000000,
    "sig_y_d": 370000000,
    "v": 0.3,
    "E": 207000000000,
    "f_0": 0.025,
    "rho_w": 1027,
    "h": 111,
    "H_t": 1.47,
    "H": 26.1,
    "P_d": 13000000,
    "P_h": 0,
    "g": 9.81,
    "f_s": 2
}

Uses click cli to run calculations, i.e.:

$ wallthick path/to/input/file

For example:

$ wallthick inputs/inputs.json

Gives the following output in the terminal:

Running PD 8010-2 wall thickness calculation...

Nominal Wall Thicknesses
------------------------
Pressure Containment:   5.480 mm
Hydrostatic Collapse:   3.260 mm
Propagation Buckling:   4.704 mm

Test Pressures
--------------
Strength Test Pressure: 195.0 bar
Leak Test Pressure:     143.0 bar

Installation

$ pip install wallthick

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wallthick-0.0.4.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wallthick-0.0.4-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file wallthick-0.0.4.tar.gz.

File metadata

  • Download URL: wallthick-0.0.4.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wallthick-0.0.4.tar.gz
Algorithm Hash digest
SHA256 443495d94d706e0e55397f7c267b4f575497d413ffb478c566ee44fd67b88776
MD5 e675d31b2cfc80389d96b93943b6f7ce
BLAKE2b-256 55ae336f1657445d61023bd44ff28356bb4aec87749f9d67c88b980f18fc92cc

See more details on using hashes here.

File details

Details for the file wallthick-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for wallthick-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6bde62afd21b029e373ae4329bce99c9f0d9f3bab2714ec9398eb0a081bcaa7e
MD5 eee8a1dacad6feceb4bfb99951a907a8
BLAKE2b-256 cc6fffa0886926dd13c65c165e08874ac2a6dffe05d9c8379164d33c7ef90892

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page