# Elastic-Plastic Material Curve Calculator AI Agent Connect

> Elastic-Plastic Material Curve Calculator MCP lets your AI client simulate uniaxial stress-strain curves. You can model elastic and plastic deformation regimes using various hardening laws, such as linear or power-law models. It handles the math for yield stress evolution, energy dissipation in loading-unloading cycles, and instantaneous stiffness calculations.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_4INq2oOy6KiF3Bv6pz2HeGutccQtgP8OahwoiwLo/ai-agent-connect
- **Tags:** materials, mechanics, stress-strain, plasticity, hardening

## Description

You can use this MCP to run mechanical material simulations directly within your AI client. Instead of manually calculating deformation paths, you give your agent the material properties and a strain history, and it generates the full mechanical response. It handles the transition from elastic to plastic regimes, allowing you to test how different hardening laws affect the resulting curve. 

If you are working with specific hardening parameters, the MCP checks if your configuration is mathematically sound before you run the simulation. You can also dig into the specifics of the material behavior, such as calculating the energy lost during hysteresis loops or finding the tangent modulus at any point in the strain history. It is a specialized tool for anyone needing to model how materials behave under stress without building a custom simulation engine from scratch.

## Tools

### calculate_stress_strain_curve
This tool generates a complete mechanical response curve based on a material's properties and a provided strain sequence.

### get_material_stiffness_properties
This tool finds the instantaneous tangent modulus at specific points within a strain history.

### validate_hardening_configuration
This tool checks if your hardening parameters are mathematically valid for the specific hardening law you selected.

### calculate_hysteresis_energy
This tool calculates the total energy dissipated during a specific loading and unloading cycle.

## Prompt Examples

**Prompt:** 
```
Generate a stress-strain curve for a material with an elastic modulus of 200 GPa, yield stress of 350 MPa, and linear hardening (modulus 2 GPa). Use a strain history of [0, 0.001, 0.005, 0.01].
```

**Response:** 
```
The simulation shows an initial elastic response up to 350 MPa, followed by plastic deformation where the stress increases linearly according to the hardening modulus.
```

**Prompt:** 
```
Calculate the energy dissipated in a hysteresis loop using this curve data: [{"strain": 0, "stress": 0}, {"strain": 0.01, "stress": 400}, {"strain": 0.005, "stress": 350}]
```

**Response:** 
```
The total energy dissipated for the provided curve segment is 0.75 MJ/m³.
```

**Prompt:** 
```
Check if these hardening parameters are valid for a power law: hardeningLaw='power', hardeningParameters='{"n": 0.5}'
```

**Response:** 
```
The hardening configuration is valid.
```

## Capabilities

### Stress-Strain Simulation
Your agent generates full mechanical response curves for any given strain sequence.

### Hardening Law Modeling
The MCP applies linear or power-law models to simulate yield stress evolution.

### Energy Dissipation Analysis
Your agent calculates the energy lost during loading and unloading cycles.

### Stiffness Determination
The tool finds the instantaneous tangent modulus at specific points in the strain history.

### Parameter Validation
The MCP verifies that hardening parameters match the mathematical requirements of the chosen law.

## Use Cases

### Material Characterization
Model how a specific metal or polymer will behave under uniaxial tension.

### Hysteresis Analysis
Determine the energy dissipation of a material during cyclic loading.

### Hardening Law Testing
Compare how linear hardening versus power-law hardening changes the predicted stress response.

### Stiffness Mapping
Identify the tangent modulus at various points during plastic deformation.

## Benefits

- Automates the generation of uniaxial stress-strain curves.
- Validates hardening parameters to prevent mathematical errors in simulations.
- Provides instantaneous stiffness values throughout the strain history.
- Calculates energy dissipation in hysteresis loops without manual integration.

## How It Works

You connect the MCP to your client and then provide material data through natural language.

1. Connect your MCP-compatible client to Vinkius.
2. Provide material properties and a strain history to your agent.
3. The agent calls the necessary tools to run the simulation or calculation.
4. The MCP returns the resulting curves, energy values, or stiffness data.
5. Your agent presents the technical results in your chat interface.

## Frequently Asked Questions

**What hardening laws are supported?**
The MCP supports various laws, including linear and power-law models, to simulate yield stress evolution.

**Can I use this with Claude or Cursor?**
Yes, you can use this MCP with any MCP-compatible client like Claude, Cursor, or Windsurf.

**How do I ensure my hardening parameters are correct?**
You can use the validate_hardening_configuration tool to check if your parameters are mathematically valid for your chosen law.

**Does this MCP handle plastic deformation?**
Yes, it models both elastic and plastic deformation regimes to create complete stress-strain curves.

**How is energy dissipation calculated?**
The calculate_hysteresis_energy tool calculates the total energy dissipated during specific loading and unloading cycles.

**Can I simulate both engineering and true stress-strain curves?**
Yes, by using the `calculate_stress_strain_curve` tool and setting the `isTrueConvention` parameter to true or false.

**What is the purpose of the tangent modulus?**
The tangent modulus represents the instantaneous stiffness of the material at a specific strain point, which can be retrieved using `get_material_stiffness_properties`.
