agentleFS
equinorequinor/neqsim-community-skills/skills/process/neqsim-pipe-wall-thickness-screening/SKILL.md

neqsim-pipe-wall-thickness-screening

Skill4 starsChanged 5 months agoApache-2.0View on GitHub

Educational process-pipe wall-thickness screening using the public ASME B31.3 hoop-stress (Barlow style) equation. USE WHEN: a task needs a public, screening-level minimum wall-thickness estimate and a check against a nominal schedule wall before detailed piping or pipeline mechanical design.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When a user asks whether a nominal pipe wall is adequate for a design pressure.

    line 20
  2. Distinctive:

    When an agent needs a quick wall-thickness triage to scope a piping or pipeline study.

    line 21
  3. Distinctive:

    When examples must run without confidential piping classes, project material certificates, or company piping specs.

    line 22
  4. Distinctive:

    No proprietary piping classes, material certificates, or company piping specs are included.

    line 100
  5. Distinctive:

    No mill tolerance, bend thinning, external pressure, or combined-stress checks are performed.

    line 101
  6. Distinctive:

    No branch reinforcement, flange rating, or fatigue assessment is included.

    line 102

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Pipe Wall Thickness Screening

Use this skill for public, educational pressure-piping wall-thickness screening. It estimates the minimum pressure-design wall thickness using the open ASME B31.3 internal-pressure equation, adds a corrosion allowance, and compares the result to a nominal wall so an agent can flag piping that may be under-walled before detailed mechanical design.

When to Use

  • When a user asks whether a nominal pipe wall is adequate for a design pressure.
  • When an agent needs a quick wall-thickness triage to scope a piping or pipeline study.
  • When examples must run without confidential piping classes, project material certificates, or company piping specs.

Inputs

  • design_pressure: internal design pressure in bar gauge.
  • outer_diameter: pipe outer diameter in mm.
  • allowable_stress: allowable stress S of the material in MPa at design temperature.
  • weld_joint_factor: longitudinal weld joint quality factor E, default 1.0 (seamless).
  • coefficient_y: temperature coefficient Y, default 0.4 for ferritic steel below 482 C.
  • corrosion_allowance: corrosion and mechanical allowance in mm, default 3.0.
  • nominal_thickness: nominal wall thickness in mm for the comparison.

Outputs

  • pressure_design_thickness_mm: minimum pressure-design thickness t.
  • required_thickness_mm: t plus the corrosion allowance.
  • nominal_thickness_mm: the supplied nominal wall.
  • thickness_margin_ratio: ratio of nominal to required thickness.
  • wall_thickness_warning: ok, watch, or inadequate.
  • assumptions: public assumptions used by the placeholder model.

Engineering Method

The Python class PipeWallThicknessModel uses the open ASME B31.3 internal-pressure equation only:

  • the pressure-design thickness uses t = P D / (2 (S E W + P Y)), where W is taken as 1.0 in this screening form.
  • the required thickness adds a configurable corrosion and mechanical allowance.
  • the margin ratio compares the supplied nominal wall to the required thickness.
  • the warning is a simple rule-based label aligned with ASME B31.3 and ISO 13703 pressure-design intent.

This is educational and screening-only logic. It does not include mill tolerance, bend thinning, external pressure or collapse, longitudinal or combined stresses, supports, or fatigue. It is not a piping code calculation, a vendor method, or a replacement for validated mechanical design and a qualified piping engineering review.

Python Usage Pattern

from pipe_wall_thickness_screening import PipeWallThicknessModel

model = PipeWallThicknessModel()
result = model.evaluate(
    design_pressure=100.0,
    outer_diameter=323.9,
    allowable_stress=138.0,
    nominal_thickness=12.7,
)

print(result.wall_thickness_warning)
print(result.required_thickness_mm)
print(result.thickness_margin_ratio)

Related NeqSim Functionality

For validated wall-thickness and pipeline mechanical design, redirect to existing NeqSim classes:

  • neqsim.process.mechanicaldesign.pipeline.PipelineMechanicalDesign — pipeline wall thickness and mechanical design (DNV-OS-F101 style).
  • neqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign — vessel wall thickness for separators (ASME VIII Div.1 style).
  • neqsim.process.mechanicaldesign.MechanicalDesign — base mechanical-design framework with material data sources.

This skill is a public ASME B31.3 triage layer that decides when to invoke those validated design classes.

Validation Checklist

  • Pressure, diameter, and allowable stress are positive and in the stated units.
  • Example inputs are public and synthetic.
  • Tests cover adequate, watch, inadequate, and invalid-input cases.
  • Results are described as educational screening indicators.
  • Real design is redirected to validated methods, ASME B31.3, ISO 13703, and qualified review.

Common Mistakes

SymptomCauseFix
Thickness looks too thinAllowable stress taken at ambient not design temperatureUse the code allowable stress at design temperature
Margin always passesCorrosion allowance set to zeroUse a service-appropriate corrosion and mechanical allowance
Wrong Y coefficientUsing ferritic Y at high temperatureUse the ASME B31.3 Y table for the material and temperature

Limitations

  • No proprietary piping classes, material certificates, or company piping specs are included.
  • No mill tolerance, bend thinning, external pressure, or combined-stress checks are performed.
  • No branch reinforcement, flange rating, or fatigue assessment is included.

References

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.