abaqus-optimization

Configure Tosca optimization. Use when user mentions design response, objective function, optimization constraint, or SIMP penalty. Base module for topology/shape optimization.

181 stars

Best use case

abaqus-optimization is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Configure Tosca optimization. Use when user mentions design response, objective function, optimization constraint, or SIMP penalty. Base module for topology/shape optimization.

Teams using abaqus-optimization should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/abaqus-optimization/SKILL.md --create-dirs "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/abaqus-optimization/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/abaqus-optimization/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How abaqus-optimization Compares

Feature / Agentabaqus-optimizationStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Configure Tosca optimization. Use when user mentions design response, objective function, optimization constraint, or SIMP penalty. Base module for topology/shape optimization.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Abaqus Optimization Skill

This skill configures optimization tasks in Abaqus. It's the **base module** - for complete workflows, route to `/abaqus-topology-optimization` or `/abaqus-shape-optimization`.

## When to Use This Skill

**Route here when user mentions:**
- "design response", "objective function", "optimization constraint"
- "SIMP penalty", "material interpolation"
- Low-level optimization setup (not complete workflows)

**Route elsewhere:**
- Complete topology optimization workflow → `/abaqus-topology-optimization`
- Complete shape optimization workflow → `/abaqus-shape-optimization`
- Running the optimization → `/abaqus-job`

## Prerequisites

Before optimization setup:
1. ✅ Working static analysis that converges
2. ✅ Appropriate mesh density
3. ✅ Full Abaqus license with Tosca (not Learning Edition)

## Workflow: Setting Up Optimization

### Step 1: Understand User's Goal

Ask if unclear:
- **What to optimize?** Weight, stiffness, frequency, stress?
- **What constraints?** Volume limit, stress limit, displacement limit?
- **Manufacturing?** Casting (draw direction), additive (min feature size)?

### Step 2: Choose Objective-Constraint Pair

| User Wants | Objective | Constraint |
|------------|-----------|------------|
| Lightest structure that's stiff enough | Minimize volume | Compliance ≤ limit |
| Stiffest structure at given weight | Minimize compliance | Volume ≤ 30% |
| Avoid resonance | Maximize frequency | Volume ≤ target |
| Reduce peak stress | Minimize max stress | Volume ≤ target |

**Most common:** Minimize compliance with volume ≤ 30%

### Step 3: Define Design Responses

Design responses are the quantities optimization tracks:

| Response | When to Use |
|----------|-------------|
| `VOLUME` | Almost always (for volume constraint) |
| `STRAIN_ENERGY` | Stiffness optimization |
| `EIGENFREQUENCY` | Vibration/resonance |
| `STRESS` | Stress-constrained design |
| `DISPLACEMENT` | Deflection limit |

### Step 4: Set Objective Function

The objective is what gets optimized:
- `MINIMIZE_MAXIMUM` - For compliance, stress
- `MAXIMIZE_MINIMUM` - For frequency

### Step 5: Add Constraints

Constraints limit the design space:
- `RELATIVE_LESS_THAN_EQUAL` - Percentage (volume ≤ 30%)
- `ABSOLUTE_LESS_THAN_EQUAL` - Fixed value (stress ≤ 200 MPa)

### Step 6: Consider Manufacturing

| Constraint | Purpose |
|------------|---------|
| Min member size | Prevents thin, unmanufacturable features (3-5mm typical) |
| Symmetry | Mirrors design about plane |
| Draw direction | Enables mold/casting extraction |
| Overhang angle | For additive manufacturing |

### Step 7: Freeze Critical Regions

Always freeze:
- BC application regions (mounting points)
- Load application regions
- Functional surfaces (mating interfaces)

## Key Parameters

| Parameter | Recommended | Notes |
|-----------|-------------|-------|
| SIMP penalty | 3.0 | Higher = sharper boundaries |
| Volume fraction | 0.3-0.4 | Start conservative |
| Min member size | 3× mesh size | Prevents checkerboard |
| Design cycles | 30-50 | More for complex geometry |

## Validation Checklist

After setup, verify:
- [ ] Task created with correct region
- [ ] At least one design response defined
- [ ] Objective function set
- [ ] Volume or other constraint defined
- [ ] BC/load regions frozen
- [ ] Manufacturing constraint if needed

## Troubleshooting

| Problem | Likely Cause | Solution |
|---------|--------------|----------|
| Checkerboard pattern | No min member size | Add `GeometricRestriction` |
| Disconnected result | Load path broken | Freeze more regions |
| Not converging | Constraint too tight | Relax volume fraction |
| "License error" | No Tosca module | Requires full Abaqus |

## Code Patterns

For actual API syntax and code examples, see:
- [API Quick Reference](references/api-quick-ref.md)
- [Common Patterns](references/common-patterns.md)
- [Troubleshooting Guide](references/troubleshooting.md)

Related Skills

abaqus

181
from majiayu000/claude-skill-registry

Master skill for Abaqus FEA scripting. Use for any finite element analysis, topology optimization, or Abaqus Python scripting task. Routes to appropriate specialized skills.

abaqus-topology-optimization

181
from majiayu000/claude-skill-registry

Complete workflow for topology optimization using Tosca. Use to minimize weight while maintaining stiffness. Requires full Abaqus license (not Learning Edition).

abaqus-thermal-analysis

181
from majiayu000/claude-skill-registry

Complete workflow for heat transfer analysis - steady-state and transient thermal. Use when user asks about temperature distribution, conduction, convection, or heat flow.

abaqus-step

181
from majiayu000/claude-skill-registry

Define analysis steps and procedures. Use when user mentions static analysis, dynamic step, frequency analysis, heat transfer step, or asks about analysis type, time increments, or nlgeom.

abaqus-static-analysis

181
from majiayu000/claude-skill-registry

Complete workflow for static structural analysis. Use when analyzing stress, displacement, or reaction forces under constant loads. For strength and stiffness evaluation.

abaqus-shape-optimization

181
from majiayu000/claude-skill-registry

Optimize fillet/notch geometry. Use when user mentions stress concentration, fillet optimization, reshaping surfaces, or reducing peak stress. Moves surfaces only.

abaqus-output

181
from majiayu000/claude-skill-registry

Configure output requests - field outputs, history outputs. Use when user asks what results to save, output variables, reduce output file size, or history output.

abaqus-odb

181
from majiayu000/claude-skill-registry

Read analysis results. Use when user asks about maximum stress, extracting displacements, reaction forces, or exporting results. Post-processes ODB files.

abaqus-modal-analysis

181
from majiayu000/claude-skill-registry

Complete workflow for modal/frequency analysis - extract natural frequencies and mode shapes. Use for vibration analysis and resonance avoidance.

abaqus-mesh

181
from majiayu000/claude-skill-registry

Generate finite element meshes. Use when user mentions mesh, elements, nodes, refine mesh, mesh size, or asks about element types like C3D8R, C3D10, S4R.

abaqus-material

181
from majiayu000/claude-skill-registry

Define material properties for FEA models. Use when user mentions steel, aluminum, Young's modulus, elastic, plastic, density, or asks about material properties.

abaqus-load

181
from majiayu000/claude-skill-registry

Apply forces and pressures to structures. Use when user asks to apply a force, add pressure, put a load on, or mentions gravity, point loads, or distributed forces.