Abaqus Subroutine Development logo

Abaqus Subroutine Development

Community
jasonanewcoder
abaqus-subroutine-development

Abaqus Fortran user subroutine development: UMAT/VUMAT/CREEP custom materials, UMATHT thermal constitutive, DLOAD/VDLOAD/DFLUX loads & moving heat sources, DISP/VDISP boundaries, USDFLD fields, ORIENT orientation, SIGINI/SDVINI initial conditions, FRIC friction, HETVAL/FILM thermal, UEL/VUEL custom elements, UAMP amplitudes, UEXTERNALDB job I/O, URDFIL results filtering. Use when the task mentions: UMAT, VUMAT, user subroutine, custom material, DLOAD, DFLUX, welding heat source, USDFLD, SIGINI, UEL, Fortran subroutine, 子程序, 用户材料. Fixed-format Fortran with ABA_PARAM.INC / vaba_param.inc, REAL*8. Not for pure Python scripting — use abaqus-script-control-general.

Overview

Publisherjasonanewcoder
Repositoryabaqus_skills
Skill nameabaqus-subroutine-development
Stars
78
Forks
13
Bundled files
40
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 40 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by jasonanewcoder on GitHub. Read the source before you install it.

Installation

Install the Abaqus Subroutine Development AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/jasonanewcoder/abaqus_skills/tree/main/abaqus_subroutine_skills
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jasonanewcoder/abaqus_skills.git /tmp/abaqus_skills
mkdir -p .claude/skills
cp -r /tmp/abaqus_skills/abaqus_subroutine_skills .claude/skills/abaqus-subroutine-development
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Abaqus Subroutine Development in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Abaqus Subroutine Development on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Abaqus Subroutine Development is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Abaqus Subroutine Development Skill

Skill Description

This skill provides AI-assisted programming guidance for developing Abaqus user subroutines. It includes standardized Fortran code templates, detailed theoretical explanations, and complete engineering examples to help users quickly and accurately develop custom subroutines for finite element analysis.

Capabilities

  • Generate UMAT (User Material) subroutines for custom constitutive models
  • Generate VUMAT subroutines for explicit dynamic analysis
  • Generate CREEP subroutines for creep and viscoplasticity
  • Generate UMATHT subroutines for thermal constitutive behavior
  • Generate DLOAD/VDLOAD subroutines for distributed moving loads
  • Generate DFLUX subroutines for moving heat sources (welding)
  • Generate UAMP subroutines for custom load amplitudes (control laws)
  • Generate DISP/VDISP subroutines for custom displacement boundary conditions
  • Generate USDFLD subroutines for spatially varying field variables
  • Generate ORIENT subroutines for material orientation
  • Generate SIGINI subroutines for initial stress conditions
  • Generate FRIC subroutines for custom friction models
  • Generate HETVAL subroutines for heat generation
  • Generate UEL/VUEL subroutines for custom elements
  • Generate UEXTERNALDB subroutines for data file management
  • Generate URDFIL subroutines for results file monitoring

Supported Subroutine Types

SubroutineAnalysis TypePurpose
UMATStandard (Implicit)Custom material constitutive
VUMATExplicitCustom material constitutive
CREEPStandardCreep / viscoplastic material
UMATHTStandard (Thermal)Custom thermal constitutive
DLOADStandardDistributed load definition
VDLOADExplicitDistributed load definition
DFLUXThermalMoving heat source / heat flux
DISPStandardCustom displacement boundary
VDISPExplicitCustom displacement boundary
USDFLDGeneralUser-defined field variables
ORIENTGeneralMaterial orientation
SIGINIGeneralInitial stress definition
SDVINIGeneralInitial state variables
FRICStandardCustom friction model
HETVALThermalHeat generation
FILMThermalCustom convection
UELStandardCustom element
VUELExplicitCustom element
UAMPGeneralUser amplitude (control)
UEXTERNALDBGeneralJob I/O management
URDFILGeneralResults file filtering

Usage

Step 1: Determine Requirements

Before using this skill, clarify:

  1. Analysis Type: Implicit (Standard) or Explicit?
  2. Physical Phenomenon: What material behavior or boundary condition needs simulation?
  3. Coupling Requirements: Do multiple subroutines need to work together?
  4. Complexity: Linear or highly nonlinear problem?

Step 2: Select Appropriate Skill

Based on requirements, select the corresponding reference file:

RequirementRecommended Reference
Custom material modelreference/material/umat_*.md or reference/material/vumat_*.md
Creep / high-temperature materialreference/material/creep_material.md
Thermal constitutive model (phase change, nonlinear)reference/thermal/umatht_thermal.md
Moving/variable loadreference/load/dload_moving.md (Standard) / vdload_moving.md (Explicit)
Welding / moving heat sourcereference/thermal/dflux_welding.md
Custom load amplitude / controlreference/load/uamp_amplitude.md
Vibration/displacement controlreference/boundary/disp_control.md
Spatially inhomogeneous materialreference/field/usdfld_spatial.md
Material orientation (composites etc.)reference/field/orient_direction.md
Geostress/residual stressreference/initial/sigini_stress.md
Tribology problemsreference/friction/fric_contact.md
Thermal-mechanical couplingreference/thermal/hetval_heat.md + UMAT
Special connection elementsreference/element/uel_spring.md
Run-time monitoring / custom abortreference/output/urdfil_results.md
Shared data files / job managementreference/utility/uexternaldb_mgmt.md

Step 3: Understand the Skill File

Each skill file contains:

  1. Skill Description: Applicable scenarios and main functions
  2. Theoretical Formulas: Mathematical basis and physical models
  3. Interface Definition: Detailed subroutine parameter descriptions
  4. Code Template: Complete, ready-to-use Fortran code
  5. Input File Example: Abaqus keyword reference
  6. Verification Methods: How to verify implementation correctness
  7. Extension Suggestions: Directions for further development

Step 4: Modify and Adapt

Modify the code for your specific problem:

fortran
C  Modify material parameter section
C-----------------------------------------------------------------------
C  Read material parameters
C-----------------------------------------------------------------------
      E  = PROPS(1)    ! Modify to your parameter name
      NU = PROPS(2)
      YOUR_PARAM = PROPS(3)  ! Add new parameter

Step 5: Compile and Test

Compilation Commands
bash
# Windows environment
abaqus make library=your_subroutine.f

# Or run job directly
abaqus job=your_job user=your_subroutine.f interactive
Testing Recommendations
  1. Single Element Test: Verify constitutive relationship correctness
  2. Simple Boundary Condition Test: Verify subroutine is correctly called
  3. Benchmark Comparison: Verify numerical accuracy
  4. Convergence Test: Verify Jacobian matrix correctness

Step 6: Debug and Optimize

Common Debugging Methods
fortran
C  Add debug output (note: affects performance)
      WRITE(*,*) 'DEBUG: NOEL=', NOEL, ' STRESS=', STRESS(1)

Best Practices

Code Standards

  1. Use Fixed-Format Fortran:

    • Columns 1-5: Statement labels
    • Column 6: Continuation character (non-zero)
    • Columns 7-72: Code body
    • After column 73: Ignored
  2. Variable Declaration:

fortran
      REAL*8 E, NU, STRESS(6)    ! Use REAL*8 instead of REAL
      INTEGER I, J, NDI          ! Explicitly declare all variables
  1. Constant Definition:
fortran
      REAL*8 PI
      PARAMETER(PI=3.141592653589793D0)  ! Use D0 for double precision
  1. Error Checking:
fortran
C  Parameter range check
      IF (E .LE. 0.0D0) THEN
        WRITE(*,*) 'ERROR: Young modulus must be positive'
        CALL XIT    ! Terminate analysis
      END IF

Performance Optimization

  1. Vectorization for Explicit Subroutines:

    • VUMAT/VUEL use block loops
    • Avoid scalar operations
  2. Minimize State Variables:

    • Only store necessary history variables
    • Clean up unused variables promptly
  3. Optimize Matrix Operations:

    • Utilize matrix symmetry
    • Avoid redundant calculations

Subroutine Selection Guide

Problem TypeRecommended SolutionAlternative
New constitutive modelUMAT/VUMATBuilt-in material + field variables
Moving loadDLOAD/VDLOADMulti-node concentrated forces
Complex boundaryDISP/VDISPMPC constraints
Non-uniform materialUSDFLD+UMATMulti-layer material
Initial stressSIGINI*Initial Conditions
Special elementUEL/VUELMulti-node connectors

Troubleshooting

Compilation Errors

Error MessageCauseSolution
"Unexpected end of file"Continuation format errorCheck column 6 continuation character
"Undefined variable"Variable not declaredAdd type declaration
"Type mismatch"Type inconsistencyUse REAL*8 instead of REAL
"Dimension mismatch"Array dimension errorCheck array declaration and access

Runtime Errors

Error MessageCauseSolution
"Too many attempts"Non-convergenceCheck Jacobian matrix
"Negative eigenvalues"Stiffness matrix not positive definiteCheck material stability
"Zero pivot"Insufficient constraintsCheck boundary conditions
"NaN in stress"Numerical overflowCheck division by zero and exponential operations

Result Anomalies

SymptomPossible CauseCheck Point
Zero stressSTRESS not updatedCheck stress update statements
Excessive displacementStiffness too smallCheck material parameter units
Non-convergenceInconsistent JacobianVerify DDSDDE derivation
Hourglass modesReduced integrationAdd hourglass control

Subroutine Interface Quick Reference

UMAT (Standard)

fortran
SUBROUTINE UMAT(STRESS,STATEV,DDSDDE,SSE,SPD,SCD,
     1 RPL,DDSDDT,DRPLDE,DRPLDT,
     2 STRAN,DSTRAN,TIME,DTIME,TEMP,DTEMP,
     3 PREDEF,DPRED,CMNAME,NDI,NSHR,NTENS,NSTATV,
     4 PROPS,NPROPS,COORDS,DROT,PNEWDT,
     5 CELENT,DFGRD0,DFGRD1,NOEL,NPT,LAYER,KSPT,
     6 KSTEP,KINC)

VUMAT (Explicit)

fortran
subroutine vumat(
     1 nblock, ndir, nshr, nstatev, nfieldv, nprops, lanneal,
     2 stepTime, totalTime, dt, cmname, coordMp, charLength,
     3 props, density, strainInc, relSpinInc,
     4 tempOld, stretchOld, defgradOld, fieldOld,
     5 stressOld, stateOld, enerInternOld, enerInelasOld,
     6 tempNew, stretchNew, defgradNew, fieldNew,
     7 stressNew, stateNew, enerInternNew, enerInelasNew)

DLOAD

fortran
SUBROUTINE DLOAD(F,KSTEP,KINC,TIME,NOEL,NPT,LAYER,KSPT,
     1 COORDS,JLTYP,SNAME)

DISP

fortran
SUBROUTINE DISP(U,KSTEP,KINC,TIME,NOEL,NPT,COORDS,JLTYP,
     1 SNAME)

USDFLD

fortran
SUBROUTINE USDFLD(FIELD,STATEV,PNEWDT,DIRECT,T,CELENT,
     1 TIME,DTIME,CMNAME,ORNAME,NFIELD,NSTATV,NOEL,NPT,LAYER,
     2 KSPT,KSTEP,KINC,NDI,NSHR,COORD,JMAC,JMATYP,MATLAYO,
     3 LACCFLA)

Version Information

  • Skill Version: 1.1
  • Compatible Abaqus Version: 2023 and above (Python 3.9+)
  • Fortran Compiler: Intel Fortran 19.0+ or GNU Fortran 9.0+
  • Last Updated: 2026-08
  • Errata: see docs/ERRATA.md for fixed bugs and unverified API items

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Abaqus Subroutine Development AI skill do?

Abaqus Fortran user subroutine development: UMAT/VUMAT/CREEP custom materials, UMATHT thermal constitutive, DLOAD/VDLOAD/DFLUX loads & moving heat sources, DISP/VDISP boundaries, USDFLD fields, ORIENT orientation, SIGINI/SDVINI initial conditions, FRIC friction, HETVAL/FILM thermal, UEL/VUEL custom elements, UAMP amplitudes, UEXTERNALDB job I/O, URDFIL results filtering. Use when the task mentions: UMAT, VUMAT, user subroutine, custom material, DLOAD, DFLUX, welding heat source, USDFLD, SIGINI, UEL, Fortran subroutine, 子程序, 用户材料. Fixed-format Fortran with ABA_PARAM.INC / vaba_param.inc, REA...

Why use Abaqus Subroutine Development on TypingMind?

Because you install it once and use it with any model. Abaqus Subroutine Development is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Abaqus Subroutine Development in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jasonanewcoder/abaqus_skills/tree/main/abaqus_subroutine_skills. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Abaqus Subroutine Development?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Abaqus Subroutine Development?

As many as you like. As long as a model supports skills, you can use Abaqus Subroutine Development with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Abaqus Subroutine Development AI skill free?

Yes. It is published on GitHub by jasonanewcoder under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇