# Tubing Stress Analysis AI Agent Connect

> High-fidelity structural integrity and movement analysis for oil and gas completion tubing.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_5hYZnfYgaV8nLpKIyus0DCv77YHfB9LP0rAkoVZv/ai-agent-connect
- **Tags:** tubing, stress-analysis, von-mises, buckling, completion-engineering

## Description

This MCP server provides specialized tools for analyzing the structural integrity of downhole completion strings. It performs triaxial stress analysis to calculate von Mises stress and safety factors, ensuring tubing can withstand combined axial, radial, and hoop loads. Users can predict axial displacement by accounting for thermal expansion and the ballooning effect. Additionally, it assesses buckling risk under compressive loads and generates high-level compliance reports using `get_safety_summary` to verify safety margins.

## Tools

### calculate_tubing_movement
Predicts the total axial displacement of the tubing string

### evaluate_buckling_risk
Assesses the likelihood of the tubing column buckling under compressive loads

### get_safety_summary
Provides a high-level compliance report against standard safety margins

### analyze_triaxial_integrity
Determines if the tubing can withstand the combined loads without yielding

## Prompt Examples

**Prompt:** 
```
Perform a triaxial stress analysis for tubing with 5-inch OD, 4.276-inch ID, 0.362-inch wall, and 80,000 psi yield strength under 10,000 psi internal and 5,000 psi external pressure.
```

**Response:** 
```
The von Mises stress is 42,500 psi, resulting in a safety factor of 1.88. The status is pass.
```

**Prompt:** 
```
Calculate the tubing movement for a 10,000 ft string with a temperature change from 60F to 150F.
```

**Response:** 
```
The total axial displacement is 12.45 feet, consisting of 15.2 feet of thermal expansion and -2.75 feet of ballooning effect.
```

**Prompt:** 
```
What is the buckling risk for a tubing string with a 15,000 lb compressive load in a 7-inch wellbore?
```

**Response:** 
```
The buckling critical load is 22,000 lbs. The current risk level is low, and the tubing is not buckled.
```

## Frequently Asked Questions

**How does the server handle thermal effects?**
The `calculate_tubing_movement` tool incorporates temperature profiles to calculate thermal expansion or contraction as part of the total axial displacement.

**Can I check if my tubing is compliant with safety standards?**
Yes, you can use `get_safety_summary` to receive a compliance report that checks both the safety factor and buckling status against your required margins.

**What is the primary metric for material yielding?**
The server uses von Mises stress, calculated via `analyze_triaxial_integrity`, to predict the onset of yielding in ductile materials.
