Menu

"Rebuilding all 405 rows of a steel pipe weight table from one formula: which constant did they use?"
📰

"Rebuilding all 405 rows of a steel pipe weight table from one formula: which constant did they use?"

DEV Community: datascience·anders lee·about 11 hours ago
#GHcg2KRm
#devtodatascience#science#devto#dev#table
Reading 0:00
15s threshold

Steel pipe weight tables look like data: 52 nominal sizes from 1/8" to 108", up to 17 schedules each,

405 rows with outside diameter, wall thickness and weight per foot and per metre (ASME B36.10M / B36.19M

values, as tabulated in Wikipedia's "Nominal Pipe Size" article). I keep them as JSON

for a weight calculator, and I wanted a test that every row is right, not just "close enough".

A pipe is a ring, so the weight should follow from two numbers. The question was whether all of the

table follows from them, to the last printed digit. It does, but only once you use the same constants,

and the same starting dimensions, as the people who made the table.

The formula

The cross-section of a pipe with outside diameter D and wall t is

A = π/4 × (D² − (D − 2t)²) = π × (D − t) × t

Enter fullscreen mode

Exit fullscreen mode

Weight per length is area × density.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.