Logotipo de Abaqus Subroutine Development

Abaqus Subroutine Development

Comunidad
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.

Descripción general

Editorjasonanewcoder
Repositorioabaqus_skills
Nombre de la habilidadabaqus-subroutine-development
Estrellas
78
Forks
13
Archivos incluidos
40
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 40

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por jasonanewcoder en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Abaqus Subroutine Development en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/jasonanewcoder/abaqus_skills/tree/main/abaqus_subroutine_skills
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Abaqus Subroutine Development en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Abaqus Subroutine Development automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Abaqus Subroutine Development no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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...

¿Por qué usar Abaqus Subroutine Development en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Abaqus Subroutine Development está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Abaqus Subroutine Development en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/jasonanewcoder/abaqus_skills/tree/main/abaqus_subroutine_skills. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Abaqus Subroutine Development?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Abaqus Subroutine Development?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Abaqus Subroutine Development con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Abaqus Subroutine Development?

Sí. jasonanewcoder la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇