Wallthick
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
Metadata
Release files for wallthick 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wallthick-0.0.8.tar.gz | 9.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wallthick-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.2 kB
Release files / wallthick-0.0.8.tar.gz
| Download URL | wallthick-0.0.8.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f638554d0f75f75aa8a57d4599c423cdec523fbcaa7db4af5ddcc905fd751170
|
|
BLAKE2b-256 checksum How to use checksums |
5afa61ef7d0a4be52b76cf9cb7c857f1eea2a947e0fd964befda5fdf401624ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / wallthick-0.0.8-py3-none-any.whl
| Download URL | wallthick-0.0.8-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a7f64dc4acf849e5ece37bfeb1950869805729fd8c30f63d33edc50ea426fbfe
|
|
BLAKE2b-256 checksum How to use checksums |
dad0554d05ac7ef393f0d52011e0baf667d4849b7efc5d65aab7c10ed3538bc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |