name: abaqus-sim description: Use when the user asks Codex, Claude Code, ChatGPT-style coding agents, or another AI agent to automate, inspect, run, or debug Abaqus through sim-cli. Supports Abaqus/CAE noGUI workflows, batch jobs, model inspection, ODB diagnostics, bounded execution, artifact reporting, and troubleshooting. Requires a user-owned Abaqus installation.
abaqus-sim
This file is the Abaqus index. Use sim-cli for solver execution and live CAE authoring; use portable Python text parsing for completed text artifacts when the job files are already on disk.
Abaqus is a commercial finite element analysis (FEA) solver by Dassault Systemes SIMULIA. The sim plugin supports two execution styles:
- Batch execution for complete
.inpdecks or Abaqus/CAE Python files. - CAE authoring sessions for iterative model creation, inspection, debugging, job submission, and report preparation. The default backend is file-backed; the optional bridge backend keeps one noGUI CAE process alive for faster agent loops.
It supports two script formats:
- Input decks (
.inp) — keyword-driven text files defining geometry, materials, loads, BCs, and analysis steps - Abaqus/CAE Python scripts (
.py) — Python scripts using theabaqusandabaqusConstantsmodules for parametric model building
The driver runs these via subprocess (abaqus job=X input=file.inp interactive or abaqus cae noGUI=script.py). In CAE authoring sessions,
each uv run sim exec snippet runs inside Abaqus/CAE against a saved session .cae
database, then saves the database back for the next step. With
--backend bridge, snippets are sent to one long-lived noGUI CAE process over
a localhost command channel protected by a per-session token. Use bridge mode
only in trusted workspaces owned by the session user. No Abaqus Python module
is imported into the sim process.
This is not the Ansys Mechanical plugin. Do not route Abaqus .inp
decks or Abaqus/CAE Python scripts through solver=mechanical; use
solver=abaqus for Abaqus execution/authoring and solver=mechanical only
for PyMechanical / Ansys Mechanical sessions.
base/ — always relevant
| Path | What's there |
|---|---|
base/reference/input_deck_reference.md |
.inp file format: keyword syntax, node/element definitions, material, steps, BCs, output requests. |
base/reference/abaqus_scripting.md |
Abaqus/CAE Python scripting: mdb, Part, Material, Step, Load, Job objects. |
base/reference/doc_lookup.md |
How to check installed/official Abaqus docs, command help, fetched examples, and runtime API probes before guessing syntax. |
base/reference/authoring_workflow.md |
Agent workflow for iterative CAE modeling with connect, exec, inspect, and saved .cae state. |
base/reference/debug_reporting.md |
Debug loop and report checklist for .msg, .sta, .dat, ODB-derived results, assumptions, and acceptance criteria. |
base/reference/analysis_types.md |
Supported analysis types: Static, Dynamic, Heat Transfer, Coupled, etc. |
base/snippets/ |
Tested execution snippets (cantilever beam E2E). |
base/known_issues.md |
Vendor quirks and workarounds discovered during testing. |
solver/2026/ — Abaqus 2026 specifics
solver/2026/notes.md— Abaqus 2026 version notes and quirks.
Hard constraints (apply to every session)
- Respect the Abaqus embedded-Python boundary. Ordinary file-side
plotting/post-processing follows the sim-cli Python-helper environment
guidance. Abaqus/CAE and ODB scripts are different: execute them through
uv run sim run --solver abaqus script.pyso Abaqus launches its embedded Python with the vendor modules available. - Availability first. Run
uv run sim check abaqusbefore creating files. If it reportsnot_installed, do not keep trying random paths. Ask the user to install Abaqus or setSIM_ABAQUS_COMMAND/ABAQUS_COMMAND/ABAQUS_BAT_PATHto the exact launcher, for exampleC:\SIMULIA\Commands\abq2026.bat. - Never invent Category A defaults. Geometry, materials, BCs, analysis type, acceptance criteria — if missing, ask the user.
- Acceptance != exit code. Validate against physics-based criteria
(displacement, stress, temperature ranges), not just
exit_code == 0. - Input deck keywords are case-insensitive but use
*UPPERCASEby convention. Always include*HEADING. - Working directory matters. Abaqus creates output files (.dat, .odb,
.msg, .sta) next to the input file. Use
cwdappropriately. - Use the right mode. If the model is already fully specified, prefer
uv run sim run --solver abaqus file.inporuv run sim run --solver abaqus script.py. If the agent is building/debugging the model incrementally, useuv run sim connect --solver abaqus --mode caeand iterate withuv run sim exec. Use--backend bridgewhen repeated small snippets need a live in-memory CAE session. - Save and inspect after every modeling step. In CAE authoring mode,
each snippet should leave the
.caedatabase in a coherent state and then checkuv run sim inspect cae.model_summaryoruv run sim inspect job.diagnostics. - Check docs or probe before guessing APIs. If unsure about an Abaqus
keyword, CAE method, command option, or output variable, follow
base/reference/doc_lookup.mdbefore editing the real model. - Use a case workspace for non-trivial work. Do not scatter generated
scripts,
.cae,.odb, diagnostics, renders, metrics, and reports across the shell cwd, temp folders, and chat history. Establish one case or run folder before modeling, and keep artifacts in predictable subfolders.
Case workspace shape
For any non-trivial Abaqus task, establish or verify a durable case workspace before creating geometry, submitting jobs, rendering results, or writing a report. A workspace is just a self-contained project folder that a future agent or human can reopen:
<workdir>/
model/ # .cae database, named checkpoints, model copies
input/ # parameters, CAD, source data, user-provided decks
scripts/ # generated or hand-written Abaqus/CAE and ODB scripts
run/ # solver-native job outputs: .inp, .odb, .msg, .sta, .dat
render/ # Abaqus/CAE or Viewer PNG/MP4/viewport evidence
output/ # metrics JSON, tables, extracted summaries
report/ # markdown/html/pdf summary when generated
Use the user-provided folder when one exists. When starting from scratch,
choose a descriptive slug such as runs/bracket_static or
runs/hole_plate_modal and pass it as --workspace for CAE authoring
sessions. The driver may keep its managed session.cae at the workspace root;
save named review checkpoints under model/ when they help resume or compare
work, for example model/hole_plate_01_geometry.cae,
model/hole_plate_02_mesh.cae, and model/hole_plate_03_solved.cae.
Prefer Abaqus/CAE or Abaqus Viewer for canonical render evidence. render/
should contain solver-rendered contour images, deformed-shape views, modal
views, or animations when requested. output/ should contain machine-readable
metrics and extracted tables. report/ should reference those artifacts by
path and state which files support each conclusion.
Required protocol
After uv run sim check abaqus confirms the solver is available: gather Category A
inputs from the user (geometry, material properties, loads, BCs, analysis
type, acceptance criteria). For non-trivial work, establish the case workspace
above before generating files.
For batch work: write the .inp deck or .py script, lint with uv run sim lint,
execute with uv run sim run --solver abaqus, then choose the post-processing path
by artifact: .dat -> Python text parsing on the fetched file; ODB -> vendor
Python via uv run sim run --solver abaqus script.py (sim-cli is the right and only
tool here). For ordinary file-side post-processing and plotting, follow the
sim-cli Python-helper environment guidance. Validate against physics-based
acceptance criteria. Keep source decks/scripts under input/ or scripts/,
job products under run/, Abaqus-rendered images or animations under
render/, and extracted metrics/tables under output/.
For modeling/debug/reporting work: start uv run sim connect --solver abaqus --mode cae --ui-mode no_gui --workspace <workdir>, optionally adding
--backend bridge for a live noGUI CAE process. Build the model in small CAE
Python snippets, inspect after each major step, save checkpoints when useful,
submit jobs from the session, read diagnostics, render canonical views in
Abaqus/CAE or Viewer, fix the model, and produce a report that states
assumptions, units, mesh, BCs, loads, solver messages, result checks,
artifact paths, and acceptance status.