Agent skill
fe-analyst-dnv-os-f101-pipeline-code-checks
Sub-skill of fe-analyst: DNV-OS-F101 Pipeline Code Checks (+2).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/engineering/marine-offshore/fe-analyst/dnv-os-f101-pipeline-code-checks
SKILL.md
DNV-OS-F101 Pipeline Code Checks (+2)
DNV-OS-F101 Pipeline Code Checks
def check_pipeline_utilization(Te, Mx, My, Pi, Pe, D, t, SMYS, SMTS, alpha_fab=0.96):
"""
DNV-OS-F101 combined loading utilization check for pipelines.
Sec.5 D400 — system collapse check (simplified).
"""
# Pressure containment
p_b = (2 * t * SMYS) / (D - t) # Burst pressure
UC_pressure = (Pi - Pe) / p_b
# Bending + tension utilization (DNV Eq. D-5)
M_resultant = (Mx**2 + My**2)**0.5
M_p = SMYS * (D - t)**2 * t # Plastic moment capacity
T_yield = SMYS * math.pi * (D - t) * t # Yield tension
UC_combined = (M_resultant / M_p)**2 + (Te / T_yield)**2
return {
"UC_pressure": UC_pressure,
"UC_combined": UC_combined,
"PASS_pressure": UC_pressure < 1.0,
"PASS_combined": UC_combined < 1.0,
}
API RP 2RD Riser Code Checks
UC_axial = |Te| / (SMYS × A_steel) # ≤ 0.67 (ASD)
UC_bending = |M_resultant| × (OD/2) / (SMYS × I / (OD/2)) # ≤ 0.75
UC_combined = UC_axial + UC_bending # ≤ 1.0
Design Check Summary Table (Report Format)
| Check | Value | Allowable | UC | Status |
|---|---|---|---|---|
| Effective tension (min) | > 0 kN | > 0 kN | — | ✅ PASS |
| Burst pressure | 15.2 MPa | 20.1 MPa | 0.76 | ✅ PASS |
| Combined bending + tension | — | — | 0.82 | ✅ PASS |
| Curvature at TDP | 0.08 1/m | 0.10 1/m | 0.80 | ✅ PASS |
| Fatigue damage | 0.07 | 0.10 | 0.70 | ✅ PASS |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?