All real measured records from the cited open database (Nyby et al., Scientific Data 2021, CC BY 4.0). Search by alloy or UNS, filter by metric, and click Assess → to load any record's composition into the tool.
PitCast estimates localized corrosion, pipeline fitness-for-service, cathodic protection, and damage mechanisms — and shows the governing equation, the citation, and the validation tier behind every number. It runs entirely in your browser. No server, no account, no telemetry.
All real measured records from the cited open database (Nyby et al., Scientific Data 2021, CC BY 4.0). Search by alloy or UNS, filter by metric, and click Assess → to load any record's composition into the tool.
PitCast is built around a simple idea — a screening tool should let you see exactly how it
got its answer. Every result exposes its governing equation, a citation to the primary standard,
and a validation tier. Credibility is reported as specific, reproducible metrics (for example, a
leave-one-out CPT error of 6.58 °C regenerated by node benchmark/run.js on cited measured
data) rather than an aggregate assertion count.
Composition → PRENN16 → CPT (calibrated against the open Nyby 2021 dataset, leave-one-out MAE 6.58 °C) → probability of pitting with a credible interval. Thermal / weld history feeds a σ-phase and sensitization estimate; the effective-local-PREN coupling lowers CPT — a microstructure-aware link most off-the-shelf calculators omit. Chloride-SCC and sour SSC envelopes follow ISO 15156-3. Side-by-side grade comparison and a cost-aware "cheapest grade that clears the risk threshold."
Assess · Select · Compare · Selection map · Browse dataASME B31G and Modified B31G (Kiefner & Vieth 1989, the RSTRENG-derived 0.85·dL area) for corroded-pipe fitness-for-service, using the Folias bulging factor, plus uniform-rate remaining life. The ILI batch screen ingests a vendor defect CSV (e.g. ROSEN, Baker Hughes, NDT Global) and returns a sorted, colour-coded grid — PASS / MONITOR / REPAIR / IMMEDIATE — per defect, with optional interaction clustering. An API 579 corrosion subset (Parts 4–7) covers general / local metal loss, pitting, and HIC blistering.
Integrity · ILI batch · FFS (API 579)Sacrificial anode sizing per DNV-RP-B401 §6/§7/§10 across many service environments (temperature, depth, salinity, oxygen, resistivity context), with coating-breakdown classes and NACE SP0387 anode alloys. AC-corrosion screening uses the ISO 18086 holiday spread-resistance model alongside the AMPP SP0169 CP-criteria check. Galvanic couples are evaluated from a cited alloy series (ASTM G82 / MIL-STD-889C) with a mixed-potential Tafel solution (ASTM G102) that returns an actual penetration rate on the anode. Groundbed resistance follows Dwight 1936 / Sunde 1949.
CP / AC · CIPS / DCVG · Vendor productsSweet CO₂ corrosion is read through a five-model ensemble (de Waard 1975 and 1995, NORSOK M-506:2017, NESC, Multicorp-FreeCorp) — reporting the model spread as your uncertainty — plus an API RP 14E erosional-velocity check. HIC / SOHIC follows NACE MR0103 / TM0284 / ISO 15156-2 (with the 0.34 kPa H₂S gate) and an explicit mitigation hierarchy. MIC families (SRB / APB / IRB / SOB) follow NACE TM0194 / TM0212 / SP0775. Sour-service material decisions map to NACE MR0175 / ISO 15156.
CO₂ corrosion · Integrity · MR0175 specEvery tab exports cleanly: print-to-PDF (a single results card per tab), a multi-sheet XLSX (Inputs / Results / Citations), or CSV. Pure calculation and cited reference — no sign-off ceremony.
PitCast is an open-source corrosion-engineering screening tool, written and maintained by Javanshir Hasanov — a materials-engineering undergraduate — as a multi-year research and portfolio project. It is not a commercial product and not a validated design tool. Its differentiator is transparency: the source code is open (Apache-2.0), every result shows its equation and citation, and the accuracy claims are reproducible from a benchmark in the repository. Every engine is plain in-browser JavaScript — no server, no account, no telemetry — and every dataset entry is either cited to a primary standard or flagged as screening.
node benchmark/run.js against the cited in-repo data
and it regenerates benchmark/REPORT.md — a transparent alternative to a closed validation deck.
Each engine is checked against its standard's worked example where one exists: ASME B31G Appendix B Ex 1 (54.3 / 55.6 bar Psafe); NACE SP0169 Appendix-A groundbed (13.72 Ω); the DNV-RP-B401 1-km × 12-in offshore-pipeline example (4,754 kg Al-Zn-In); the LaQue marine 316L bolt in a CS flange (~1.16 mm/yr); and the Nyby et al. 2021 Scientific Data 8, 58 (CC BY 4.0) leave-one-out calibration on n=51 G48 records. Physical monotonicity invariants are enforced throughout (a deeper defect lowers Psafe, more chloride raises pitting risk, more cathode area raises the galvanic rate, higher pH₂S raises HIC risk, and so on).
B31G FFS: ASME B31G-2012 §2-3 · Kiefner & Vieth 1989 (Battelle PR-3-805) · Folias 1965 Int J Fract Mech 1, 104 · API 5L · API 570/510.
Anode sizing: DNV-RP-B401 §6/§7/§10 (Tables 7-1, 10-1, 10-2) · NACE SP0387 (offshore cast anodes) · NACE SP0169 (buried steel) · NACE SP0572 (Mg anodes) · NACE SP0490 / SP0492 / SP0212 + ISO 21809 + AWS C2.18 (FBE / 3LPE / TSA).
CUI: API RP 583 §4.3-4.4/§5 · NACE SP0198-2017 · API RP 581 (intervals) · ASTM C871 leachable Cl · ASTM C449/C547/C552/C591/C610/C612/C1126/C1728/C1136 · ISO 9223.
Galvanic: ASTM G82-98(2014) · ASTM G102-89(2015) · MIL-STD-889C · NACE TM0394 · LaQue 1975 Marine Corrosion Ch.6 · Stansbury & Buchanan 2000 Ch.4 (mixed-potential) · Trethewey & Chamberlain 1995 Tab 3.4 · ISO 12473.
Groundbed: Dwight 1936 AIEE Trans 55, 1319 · Sunde 1949 (Van Nostrand) · NACE SP0169 §6.5 · IEEE Std 81.
HIC / SOHIC: NACE MR0103-2018 · NACE TM0284-2016 (CLR ≤ 15% / CTR ≤ 5% / CSR ≤ 2%) · ISO 15156-2 §A.2/§B · API RP 571 §5.
RBI: API RP 581 (3rd ed., 2016) Parts 1-3 · API RP 580 · API 510 / 570 interval caps.
MIC: NACE TM0194 (planktonic) · NACE TM0212 (sessile/pipeline) · NACE SP0775 (coupons) · NACE SP0106 §6.
CRA / CPT: Nyby et al. 2021 Sci Data 8, 58 (LOO calibration n=51) · ASTM G48 (6% FeCl₃) · ISO 15156-3 · NACE MR0175 · WRC-1992 ferrite diagram.
CO₂ corrosion: de Waard & Milliams 1975/1995 · NORSOK M-506:2017 · Nesic Multicorp · Crolet & Bonis 1983 (in-situ pH) · API RP 14E (erosional velocity).
CP / AC: AMPP SP0169 · ISO 18086 (AC-corrosion holiday spread-resistance model).
Independent literature datapoints the models are checked against — each row links to its primary source.
Read this before relying on any output. PitCast is screening-grade. The CRA-selection
CPT correlation is statistically calibrated (Nyby 2021 leave-one-out MAE 6.58 °C, reproduced by
benchmark/run.js — close to the intrinsic lab-to-lab scatter of CPT measurement). The other
engines reproduce their cited standard's worked examples to within roughly 2%, but several are
research / screening-grade where vendor-batch polarisation data, full damage-factor tables (e.g. the
detailed API 581 tables), or site-specific environmental measurements would normally be used in detailed
design. The CO₂ benchmark in particular is a small cited spot-check, and the whole tool is self-validated
pending external peer review. It is not a substitute for qualified materials engineering, standards
compliance, or physical testing — do not use it unsupervised for final design.
© austenite.org · PitCast is open-source under Apache-2.0 and lives at pitcast.austenite.org. Built as a materials-engineering research and portfolio project.
A Javanshir Hasanov production