# Composite Laminate Classical Calculator AI Agent Connect

> Composite Laminate Classical Calculator provides a high-fidelity engine for analyzing composite structures through Classical Laminate Theory. Your AI client can compute A, B, and D stiffness matrices, determine mid-plane strains, and analyze local ply stresses. It also accounts for environmental factors like temperature and moisture to ensure accurate mechanical responses for structural engineering tasks.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_S04mM8nSr8EAHJi4DAOey3ZiwKs2IqGXmJ0dt1x2/ai-agent-connect
- **Tags:** composite, laminate, clt, structural-analysis, mechanics

## Description

This MCP brings Classical Laminate Theory (CLT) directly into your AI-driven design workflow. Instead of manually solving complex matrix equations, you can instruct your agent to handle the heavy lifting of structural mechanics. You can use it to derive fundamental stiffness matrices for specific stacking sequences or to find how a laminate responds to specific mechanical loads. 

For deeper investigations, the MCP allows you to look at the local stress and strain within individual plies. It also handles environmental variables, letting you factor in how temperature changes or moisture absorption affects the overall laminate response. It is built for engineers who need precise, repeatable mechanical computations without leaving their AI-powered development environment.

## Tools

### analyze_ply_states
This tool calculates the specific stress and strain values located within every individual ply of a laminate.

### apply_hygrothermal_loads
Use this to adjust how a laminate responds to environmental factors like temperature shifts or moisture absorption.

### calculate_laminate_stiffness
This tool computes the A, B, and D stiffness matrices for any given stacking sequence.

### compute_laminate_response
This tool determines the resulting mid-plane strains and curvatures when specific loads are applied to the laminate.

## Prompt Examples

**Prompt:** 
```
Calculate the stiffness matrices for a symmetric laminate with two plies of thickness 0.125 at 0 degrees and 45 degrees, using these properties: Q11=140, Q22=10, Q12=4, Q66=6.
```

**Response:** 
```
The extensional stiffness matrix A is [28.0, 1.0, 0.0; 1.0, 2.5, 0.0; 0.0, 0.0, 7.0]. The B matrix is zero due to the symmetry of the layup, and the D matrix is calculated based on the thickness and orientation of each ply.
```

**Prompt:** 
```
What is the mid-plane strain for a laminate with the following A matrix: [[30, 2, 0], [2, 15, 0], [0, 0, 7]] when subjected to an in-plane force of 100 N/m in the x-direction?
```

**Response:** 
```
The mid-plane strains are [3.33, -0.44, 0.0] for the applied load.
```

**Prompt:** 
```
Determine the local stress in the first ply of a laminate given its stiffness and the mid-plane response.
```

**Response:** 
```
The local stress in the first ply is calculated as 45.2 MPa based on the provided mid-plane strains and the rotated ply stiffness matrix.
```

## Capabilities

### Stiffness Matrix Derivation
Your agent calculates the fundamental A, B, and D matrices for any stacking sequence.

### Laminate Response Modeling
The AI determines mid-plane strains and curvatures under specific loading conditions.

### Ply-Level Analysis
Your agent finds the exact local stress and strain for every individual layer.

### Environmental Loading
The tool adjusts mechanical responses to account for temperature and moisture effects.

## Use Cases

### Stacking Sequence Optimization
An engineer tests different ply orientations to find the best stiffness properties.

### Environmental Stress Testing
The agent calculates how a laminate will behave after absorbing moisture or facing temperature swings.

### Local Failure Analysis
You use ply-level stress data to check if specific layers will fail under load.

### Load Response Verification
The AI calculates mid-plane curvatures to ensure a laminate meets design requirements.

## Benefits

- Automates the calculation of A, B, and D matrices.
- Provides local stress data for every ply in a laminate.
- Incorporates hygrothermal effects into mechanical models.
- Connects structural engineering math to your AI client.

## How It Works

Get the MCP running in your AI client and start running CLT calculations immediately.

1. Connect your AI client to the Vinkius-hosted MCP.
2. Provide the stacking sequence and material properties to your agent.
3. Instruct the agent to calculate the stiffness matrices or laminate response.
4. Review the resulting matrices, strains, or ply stresses.

## Frequently Asked Questions

**What is the primary theory used by this MCP?**
This MCP uses Classical Laminate Theory (CLT) to perform all mechanical computations.

**Can I account for temperature changes in my analysis?**
Yes. You can use the apply_hygrothermal_loads tool to include temperature and moisture effects in the laminate response.

**Does this tool provide data for individual layers?**
Yes. The analyze_ply_states tool provides the local stress and strain for every individual ply.

**Which AI clients can use this MCP?**
You can use this MCP with any compatible client, such as Claude, Cursor, Windsurf, or VS Code.

**What kind of matrices does it calculate?**
It calculates the fundamental extensional, coupling, and bending stiffness matrices, also known as A, B, and D matrices.

**What are the primary outputs of the stiffness calculation?**
The `calculate_laminate_stiffness` tool returns the A (extensional), B (coupling), and D (bending) matrices, along with symmetry status and matrix rank.

**How can I account for environmental changes like temperature?**
You can use the `apply_hygrothermal_loads` tool, which adjusts the laminate response based on temperature changes and moisture absorption using expansion coefficients.

**Can I see the stress in individual layers?**
Yes, the `analyze_ply_states` tool calculates the local stress and strain for every individual ply in the stacking sequence.
