executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
socket-bridgeConnect to Abaqus CAE via socket bridge for curing simulation. Invoke when user needs to use socket bridge, connect to Abaqus, or execute Python in Abaqus kernel.
Independent GitHub snapshot · Automated classification · Original documentation governs
Connect to Abaqus CAE via socket bridge for curing simulation. Invoke when user needs to use socket bridge, connect to Abaqus, or execute Python in Abaqus kernel.
The socket bridge provides a TCP connection to Abaqus CAE at 127.0.0.1:48152, allowing remote execution of Python code in the Abaqus kernel.
Use the check_abaqus_connection MCP tool to verify the bridge status before executing any commands.
| Tool | Description |
|---|---|
check_abaqus_connection | Verify bridge connection status |
run_python | Execute Python code in Abaqus kernel |
submit_job | Submit a job and wait for completion |
monitor_job_status | Check .sta/.msg file diagnostics |
inspect_odb | Read ODB results and field outputs |
set_workdir | Set the working directory |
list_jobs | List existing jobs in the session |
When using run_python, set the result variable to return data back to the caller:
# Example: get list of steps
result = []
for step_name in odb.steps.keys():
result.append(step_name)
The Abaqus Python environment has several important quirks to be aware of:
print() statements with unicode may cause errorsresult = ... to return data instead of printingfrom abaqusConstants import *% operator for string formatting.format() or f-strings (not supported in Python 2.7)# Correct
text = '%d nodes found' % node_count
# Incorrect (will fail)
text = '{} nodes found'.format(node_count)
text = f'{node_count} nodes found'
check_abaqus_connection to verify bridge is activeset_workdir to configure the work directoryrun_python to create jobs from input filessubmit_job or run_python with submit()monitor_job_status to check for errors or convergence issuesinspect_odb or run_python to read results