Indietro

#piping

3 APIs con questa etichetta

Water Hammer API

Water-hammer (hydraulic-transient) maths as an API, computed locally and deterministically — the surge-pressure, wave-speed and valve-timing numbers a piping or plumbing engineer guards a system with. The surge endpoint applies the Joukowsky equation Δp = ρ · a · Δv: a sudden stop of the flow spikes the pressure by the fluid density × the pressure-wave speed × the velocity change — stopping 2 m/s of water at a ≈ 1200 m/s adds about 24 bar (348 psi), far above the line pressure, which is what bangs the pipes and can split fittings. The wave-speed endpoint gives that pressure-wave speed: a = √(K/ρ) in a rigid pipe (≈ 1,480 m/s for water), slowed in a real elastic pipe to √(K/ρ) ÷ √(1 + (K·D)/(E·t)) — a thin or plastic pipe gives a lower wave speed and a gentler surge, which is why PVC tolerates hammer better than steel. The critical-time endpoint gives 2L/a, the round-trip time of the wave: close a valve faster than this and you get the full Joukowsky surge, slower and the returning relief wave eats into it, so sizing closure times (or fitting a surge tank or air chamber) above the critical time is the standard cure. Everything is computed locally and deterministically, so it is instant and private. Ideal for piping- and plumbing-design tools, pump-station and pipeline-surge analysis, and hydraulic-engineering utilities. Pure local computation — no key, no third-party service, instant. Idealised single-pipe transient. 3 compute endpoints. For steady pipe pressure drop use a Darcy API; for pump head and affinity a pump API.

api.oanor.com/waterhammer-api

Pressure Vessel API

Thin-walled pressure-vessel engineering maths as an API, computed locally and deterministically. The thin-wall endpoint computes the wall stresses in a cylindrical or spherical vessel under internal pressure: for a cylinder the hoop (circumferential) stress σ_h = p·r/t and the longitudinal stress σ_l = p·r/(2t), which is half the hoop — so cylinders tend to split along their length — together with the von Mises equivalent stress, and for a sphere the single biaxial stress σ = p·r/(2t); it also reports the radius-to-thickness ratio and whether the thin-wall assumption (r/t ≳ 10) holds. The thickness endpoint computes the wall thickness required to keep the hoop stress within an allowable value, t = p·r/(σ_allow·E), with a weld-joint efficiency factor. The burst endpoint computes the theoretical burst pressure of a pipe from Barlow's formula, p = 2·S·t/OD, using the ultimate tensile strength. Pressures and stresses are in pascals (megapascals also returned) and dimensions in metres. Everything is computed locally and deterministically, so it is instant and private. Ideal for mechanical, chemical-plant, piping, boiler and tank-design app developers, ASME-style sizing and safety tools, and engineering education; for code work consult the applicable standards. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is thin-walled vessel stress; for general stress transformation use a Mohr-circle API and for fatigue a fatigue API.

api.oanor.com/pressurevessel-api

API de Perda de Carga em Tubulações

Perda de carga e queda de pressão em tubulações pela equação de Darcy-Weisbach como uma API, calculada local e deterministicamente. O endpoint de atrito fornece o fator de atrito de Darcy: fluxo laminar usa f = 64/Re, e fluxo turbulento usa a aproximação explícita de Swamee-Jain da equação de Colebrook-White, f = 0,25/[log₁₀(ε/3,7D + 5,74/Re⁰·⁹)]², a partir de um número de Reynolds (fornecido diretamente, ou calculado a partir da velocidade, diâmetro e fluido) e da rugosidade relativa, classificando o fluxo como laminar, de transição ou turbulento. O endpoint de perda de carga calcula a perda de carga principal hf = f·(L/D)·v²/(2g) a partir de um fator de atrito (fornecido ou derivado) e do comprimento, diâmetro e velocidade da tubulação, e — dada a densidade do fluido — a queda de pressão Δp = ρ·g·hf em pascals, kilopascals e bar. O endpoint de tubulação realiza todo o cálculo de ponta a ponta: a partir de uma vazão ou velocidade, diâmetro da tubulação, comprimento, fluido (água, água do mar, ar, óleo e outros, ou densidade e viscosidade personalizadas) e material de rugosidade, retorna a velocidade, número de Reynolds, fator de atrito, perda de carga, queda de pressão e a potência de bombeamento necessária para superar o atrito. Tudo é calculado local e deterministicamente, portanto é instantâneo e privado. Ideal para ferramentas de encanamento, HVAC e tubulações de processo, aplicações de hidráulica e dimensionamento de bombas, projetos de irrigação e proteção contra incêndio, e educação em engenharia. Cálculo puramente local — sem chave, sem serviço de terceiros, instantâneo. Ao vivo, nada armazenado. 3 endpoints. Esta é a perda de carga por atrito em tubulações; para a relação de continuidade e número de Reynolds, use uma API de fluxo em tubulações e para potência e altura manométrica de bombas, use uma API de bombas.

api.oanor.com/darcy-api