Logo di 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.

Panoramica

Pubblicato dajasonanewcoder
Repositoryabaqus_skills
Nome della skillabaqus-subroutine-development
Stelle
78
Fork
13
File inclusi
40
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 40

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da jasonanewcoder su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Abaqus Subroutine Development in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/jasonanewcoder/abaqus_skills/tree/main/abaqus_subroutine_skills
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Abaqus Subroutine Development in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Abaqus Subroutine Development non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Abaqus Subroutine Development non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello 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

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill 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...

Perché usare Abaqus Subroutine Development su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Abaqus Subroutine Development è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Abaqus Subroutine Development in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/jasonanewcoder/abaqus_skills/tree/main/abaqus_subroutine_skills. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Abaqus Subroutine Development?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Abaqus Subroutine Development?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Abaqus Subroutine Development: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Abaqus Subroutine Development è gratuita?

Sì. È pubblicata su GitHub da jasonanewcoder con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇