Logo van Abaqus Subroutine Development

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.

Overzicht

Uitgeverjasonanewcoder
Repositoryabaqus_skills
Skillnaamabaqus-subroutine-development
Sterren
78
Forks
13
Meegeleverde bestanden
40
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 40

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door jasonanewcoder op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Abaqus Subroutine Development in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/jasonanewcoder/abaqus_skills/tree/main/abaqus_subroutine_skills
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Abaqus Subroutine Development in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Abaqus Subroutine Development automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Abaqus Subroutine Development niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill 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, REA...

Waarom Abaqus Subroutine Development gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Abaqus Subroutine Development bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Abaqus Subroutine Development in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/jasonanewcoder/abaqus_skills/tree/main/abaqus_subroutine_skills. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Abaqus Subroutine Development gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Abaqus Subroutine Development gebruiken?

Zoveel als je wilt. Je kunt Abaqus Subroutine Development gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Abaqus Subroutine Development gratis?

Ja. Deze skill is door jasonanewcoder op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇