Description
Abaqus USDFLD Tutorial | Field Variables & Fortran
This Abaqus USDFLD tutorial explains how to write USDFLD in Abaqus to control field-dependent material properties in Abaqus/Standard. Through the USDFLD subroutine Abaqus calls at material points, learn to update Abaqus USDFLD field variables, retrieve solution quantities using Abaqus USDFLD GETVRM, and track irreversible history with STATEV. A practical Abaqus USDFLD example and corresponding USDFLD Fortran code example connect material dependency tables with an illustrative Abaqus USDFLD damage model, debugging and numerical verification.
Abaqus USDFLD Tutorial — What Is USDFLD and When Do You Need It?
USDFLD is a Fortran user subroutine that redefines field variables locally at material points in Abaqus/Standard. This Abaqus USDFLD tutorial demonstrates how to write USDFLD in Abaqus using the USDFLD subroutine Abaqus provides for solution-dependent properties. An Abaqus USDFLD example and USDFLD Fortran code example show how Abaqus USDFLD GETVRM retrieves material-point data, how Abaqus USDFLD field variables control tabulated properties, and how an Abaqus USDFLD damage model can represent history-dependent stiffness degradation.
How to write USDFLD in Abaqus?
Define field-dependent material data, allocate history variables, retrieve available quantities, update FIELD and STATEV, and verify increment sensitivity.
What is an Abaqus USDFLD example?
A uniaxial specimen with elastic modulus controlled by a scalar damage field.
What is GETVRM?
A utility that retrieves supported material-point output quantities at the start of the increment in USDFLD.
When is USDFLD preferable to UMAT?
When existing material models with field-dependent properties can represent the intended behavior.
How do you verify USDFLD?
Compare field values, history and material response with analytical targets and refine the time increment.
How to Write USDFLD in Abaqus — Step-by-Step Implementation
This Abaqus USDFLD tutorial shows how to write USDFLD in Abaqus by linking the USDFLD subroutine Abaqus provides to field-dependent material definitions. The Abaqus USDFLD example illustrates how Abaqus USDFLD field variables are assigned before material evaluation.
1. Material law
2. Material dependencies
3. Abaqus USDFLD GETVRM
4. History variables
5. USDFLD Fortran code example
6. Verification
Abaqus/Standard and USDFLD Communication
The USDFLD subroutine Abaqus calls at each material point uses Abaqus USDFLD GETVRM to access available solution quantities. In the USDFLD Fortran code example, persistent history is kept separate from Abaqus USDFLD field variables.
Abaqus/Standard
USDFLD
Material model
Local FIELD changes do not modify nodal field values. At the next increment, fields are again interpolated from nodal values; persistent history must be stored in STATEV.
What Is Included with the Abaqus USDFLD Tutorial Package?
A structured learning workflow combines field-variable theory, Fortran implementation, practical examples and numerical verification.
Abaqus USDFLD Subroutine & Fortran Programming Training
Field-dependent properties and material-point updates.
Official interface, arguments and history management.
Property tables, interpolation and spatial fields.
Retrieve solution quantities and preserve history.
Implement a scalar stiffness degradation law.
Diagnose retrieval, table and increment errors.
Compare analytical targets and increment sensitivity.
USDFLD Fortran Code Examples & Abaqus Model Files
USDFLD Subroutine Abaqus Interface — Inputs and Outputs
To understand how to write USDFLD in Abaqus, distinguish the arguments of the USDFLD subroutine Abaqus supplies from the work arrays used by Abaqus USDFLD GETVRM. This distinction is essential when adapting the USDFLD Fortran code example.
| Variable | Role | Description |
|---|---|---|
| FIELD | Update | Local field variables; set every field controlled by the routine. |
| STATEV | Update | Persistent solution-dependent history. |
| PNEWDT | Update | Suggested ratio of new to current time increment. |
| DIRECT, T | Input | Material orientation information. |
| TIME, DTIME | Input | Step/total time and increment size. |
| CMNAME, ORNAME | Input | Material and orientation names. |
| NFIELD, NSTATV | Input | Array sizes. |
| NOEL, NPT, LAYER, KSPT | Input | Element and material-point identifiers. |
| KSTEP, KINC | Input | Step and increment identifiers. |
| NDI, NSHR | Input | Direct and shear component counts. |
| COORD, CELENT | Input | Material-point coordinates and characteristic length. |
| JMAC, JMATYP, MATLAYO, LACCFLA | Input | Pass to GETVRM unchanged. |
USDFLD has no direct PROPS argument. Use documented material tables, named material branches or carefully managed parameters. Do not confuse GETVRM work arrays ARRAY, JARRAY and FLGRAY with USDFLD interface arguments.
Abaqus USDFLD Mathematical Framework — Core Equations
The equations in this Abaqus USDFLD tutorial establish the relationship between Abaqus USDFLD field variables and material properties. The Abaqus USDFLD damage model uses a scalar history measure to define stiffness degradation.
User-defined field
F=f(\boldsymbol\sigma,\boldsymbol\varepsilon,\mathbf x,t,\mathbf q)
\]
General field law.
Material properties
\mathbf P=\mathbf P(F_1,\ldots,F_n)
\]
Field-dependent properties.
von Mises stress
\sigma_{eq}=\sqrt{\frac32\mathbf s:\mathbf s}
\]
Deviatoric stress measure.
Equivalent plastic strain rate
\dot{\bar\varepsilon}^{p}=\sqrt{\frac23\dot{\boldsymbol\varepsilon}^{p}:\dot{\boldsymbol\varepsilon}^{p}}
\]
Conventional J2 plasticity.
History update
\kappa_{n+1}=\max(\kappa_n,q_n)
\]
Beginning-of-increment driving quantity.
Scalar damage
d=g(\kappa),\quad 0\le d<1
\]
Bounded illustrative damage.
Stiffness degradation
E_d=(1-d)E_0
\]
Effective modulus.
Damaged elastic stress
\boldsymbol\sigma=(1-d)\mathbf C_0:\boldsymbol\varepsilon^e
\]
Idealized small-strain isotropic law.
Property interpolation
P(F)=P_i+\frac{F-F_i}{F_{i+1}-F_i}(P_{i+1}-P_i)
\]
Linear interpolation between table entries.
Functionally graded material
E(z)=E_b+(E_t-E_b)(z/h)^m
\]
For 0 ≤ z ≤ h.
Explicit solution dependence
F^{(n+1)}=f(\boldsymbol\sigma_n,\boldsymbol\varepsilon_n,\mathbf q_n)
\]
Field update uses available start-of-increment data.
Increment control
\Delta t_{suggested}=\mathrm{PNEWDT}\,\Delta t
\]
Suggested increment size.
Abaqus USDFLD Field Variables
FIELD is a local material-point array, not a history store. A field can represent damage, a spatial coordinate, a phase indicator or another scalar parameter. Multiple fields can control a material table, provided their order and units agree with the dependency definition.
FIELD(1)
FIELD(2)
FV output
Field-Dependent Material Properties
In the Abaqus USDFLD example, the field represents damage rather than modulus itself. The Abaqus USDFLD damage model therefore requires the property table to be consistent with the USDFLD Fortran code example.
The built-in material model evaluates its properties using the current local field values. Define dependencies explicitly and keep the field within the intended table range.
| Field value | Young’s modulus (MPa) | Poisson ratio |
|---|---|---|
| 0 | 210000 | 0.3 |
| 0.5 | 105000 | 0.3 |
| 0.9 | 21000 | 0.3 |
For the linear modulus table, intermediate values follow the interpolation equation. The field itself is dimensionless in this example.
Abaqus USDFLD GETVRM — Material-Point Data Retrieval
When learning how to write USDFLD in Abaqus, check the availability of each output quantity before using it in a field law. The Abaqus USDFLD tutorial uses Abaqus USDFLD GETVRM to demonstrate this retrieval step.
GETVRM accepts supported collective output keys, not arbitrary component names. USDFLD receives beginning-of-increment values. ARRAY contains real values, JARRAY integer values and FLGRAY character flags. JRCD=1 can mean an invalid request or that all requested components are zero; do not automatically interpret it as a fatal error.
| Key | Quantity | Caution |
|---|---|---|
| S | Stress | Check component ordering and element support. |
| E | Total strain | Use a compatible small-strain formulation. |
| LE | Logarithmic strain | Use when supported and appropriate for the kinematics. |
| PEEQ | Equivalent plastic strain | Requires an applicable plasticity model. |
CALL GETVRM('E',ARRAY,JARRAY,FLGRAY,JRCD,
1 JMAC,JMATYP,MATLAYO,LACCFLA)
Solution-Dependent State Variables — STATEV
The Abaqus USDFLD damage model illustrates why Abaqus USDFLD field variables must be reconstructed from persistent history. The USDFLD subroutine Abaqus calls locally must preserve that history during unloading.
Allocate two state variables for the illustrative Abaqus USDFLD damage model: maximum historical axial strain and damage. Initialize consistently, update monotonically, and avoid shared mutable variables that can mix integration points.
Maximum strain
\kappa=\max(\kappa_{old},|\varepsilon_{11}|)
\]
Tracks absolute axial strain.
Irreversibility
d_{new}\ge d_{old}
\]
For monotonic history and fixed damage parameters.
Stress- and Strain-Dependent Material Properties
The driving variable can be a stress invariant, strain component or equivalent plastic strain. Select it according to the material mechanism, not merely because GETVRM makes it available. For tension-only damage, use a positive tensile strain measure rather than absolute strain. The present demonstration uses absolute axial strain and is not a calibrated fracture law.
Abaqus USDFLD Damage Model — Elastic Stiffness Degradation
This Abaqus USDFLD example connects the analytical damage law to the USDFLD Fortran code example. Abaqus USDFLD GETVRM supplies the strain measure used by the Abaqus USDFLD damage model.
This illustrative model uses a capped scalar damage law with a nonzero residual modulus. It demonstrates field-dependent elastic properties, not a complete thermodynamically calibrated damage constitutive model. Local softening can cause mesh sensitivity; fracture-energy regularization may be necessary for structural predictions.
Damage evolution
d=\min(0.9,\max(0,(\kappa-0.001)/0.004))
\]
Damage initiates at 0.001 and reaches the cap at 0.0046.
Residual stiffness
E_{min}=0.1E_0
\]
Positive residual modulus.
Uniaxial reference
\sigma_{ref}=E_0(1-d)\varepsilon
\]
Analytical secant-law target, not a guarantee of solver stress-update equivalence.
Abaqus USDFLD Example — Uniaxial Benchmark
The Abaqus USDFLD tutorial uses this benchmark to check how Abaqus USDFLD field variables evolve. Compare the Abaqus USDFLD damage model against the stated analytical targets before extending it to more complex loading.
| Parameter | Value |
|---|---|
| Initial modulus | 210000 MPa |
| Poisson ratio | 0.3 |
| Initiation strain | 0.001 |
| Reference final strain | 0.005 |
| Damage cap | 0.90 |
Use a single small-strain solid element with homogeneous uniaxial displacement and free lateral contraction. Apply loading, unloading and reloading. Compare the recorded FIELD and STATEV with the start-of-increment strain, not the end-of-increment value.
| Historical strain | Damage | Modulus (MPa) | Secant target stress at same strain (MPa) |
|---|---|---|---|
| 0.0000 | 0.000 | 210000.0 | 0.000 |
| 0.0010 | 0.000 | 210000.0 | 210.000 |
| 0.0020 | 0.250 | 157500.0 | 315.000 |
| 0.0030 | 0.500 | 105000.0 | 315.000 |
| 0.0040 | 0.750 | 52500.0 | 210.000 |
| 0.0046 | 0.900 | 21000.0 | 96.600 |
| 0.0050 | 0.900 | 21000.0 | 105.000 |
USDFLD Fortran Code Example — History-Dependent Damage
The following implementation demonstrates how to write USDFLD in Abaqus using the USDFLD subroutine Abaqus defines. Check Abaqus USDFLD GETVRM retrieval independently before interpreting the damage response.
The following fixed-form example includes the standard interface and explicit declarations. It assumes one field, two state variables, a compatible small-strain element, and a valid E request. It is illustrative and has not been compiled or executed in Abaqus. Validate the GETVRM key in a nonzero-strain test; JRCD alone cannot distinguish a zero state from an invalid request.
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)
INCLUDE 'ABA_PARAM.INC'
CHARACTER*80 CMNAME,ORNAME
CHARACTER*3 FLGRAY(15)
DIMENSION FIELD(NFIELD),STATEV(NSTATV),DIRECT(3,3),
1 T(3,3),TIME(2),COORD(*),JMAC(*),JMATYP(*)
DIMENSION ARRAY(15),JARRAY(15)
DOUBLE PRECISION EPS,KAPPA,DAMAGE
IF (NFIELD.LT.1.OR.NSTATV.LT.2) THEN
WRITE(6,*) 'USDFLD requires 1 FIELD and 2 STATEV'
CALL XIT
END IF
ARRAY=0.D0
JARRAY=0
FLGRAY='N/A'
CALL GETVRM('E',ARRAY,JARRAY,FLGRAY,JRCD,
1 JMAC,JMATYP,MATLAYO,LACCFLA)
C JRCD=1 can also indicate an all-zero valid result.
C Preserve history if retrieval is ambiguous.
IF (JRCD.NE.0) THEN
FIELD(1)=STATEV(2)
RETURN
END IF
EPS=ABS(ARRAY(1))
KAPPA=MAX(STATEV(1),EPS)
DAMAGE=MIN(0.9D0,MAX(0.D0,(KAPPA-0.001D0)/0.004D0))
FIELD(1)=DAMAGE
STATEV(1)=KAPPA
STATEV(2)=DAMAGE
RETURN
END
For production code, validate supported keys and element types, define every controlled field, check initialization and handle unexpected retrieval failures explicitly. A zero-strain first increment is normal.
Spatially Varying and Functionally Graded Materials
A second Abaqus USDFLD example illustrates how to write USDFLD in Abaqus for spatial property variation. Unlike the Abaqus USDFLD damage model, this coordinate-based field need not depend on strain history.
Abaqus USDFLD field variables can also represent position. For a layer of thickness h with a global z-coordinate measured from its bottom, set FIELD(1) to the normalized coordinate raised to a grading exponent. The material table maps this field to modulus.
Normalized position
\eta=\min(1,\max(0,z/h))
\]
Dimensionless coordinate.
Grading field
F=\eta^m
\]
Positive grading exponent.
Modulus
E=E_b+(E_t-E_b)F
\]
Linear interpolation in the grading field.
C Alternative kernel inside USDFLD (not the damage model)
C Example: global z from 0 to 10 mm, exponent 2
ETA=MIN(1.D0,MAX(0.D0,COORD(3)/10.D0))
FIELD(1)=ETA**2
Use a separate material definition with modulus values at FIELD=0 and FIELD=1. For a fixed reference-position gradation in large deformation, explicitly preserve or otherwise obtain the reference coordinate; do not assume current coordinates remain unchanged.
Abaqus Material Definition and Input File
The USDFLD Fortran code example must be paired with the appropriate material definition. The USDFLD subroutine Abaqus invokes cannot activate property dependencies that are missing from the input file.
*MATERIAL, NAME=USDFLD_DAMAGE
*USER DEFINED FIELD
*DEPVAR
2
*ELASTIC, DEPENDENCIES=1
210000., 0.3, , 0.0
21000., 0.3, , 0.9
** Add mesh, section, boundary conditions and step separately.
** Within the step, request supported element output:
*OUTPUT, FIELD
*ELEMENT OUTPUT
S, E, FV, SDV
This is a material and output excerpt, not a complete input deck. The blank third elastic-table entry is the temperature column. Assign the material to the section and submit with the user subroutine using a compatible Fortran compiler.
Explicit Solution Dependence and PNEWDT
The Abaqus USDFLD tutorial emphasizes increment sensitivity because Abaqus USDFLD GETVRM returns beginning-of-increment data. This matters when Abaqus USDFLD field variables change rapidly.
Although Abaqus/Standard uses an implicit global solution procedure, USDFLD reads solution quantities at the beginning of each increment. Rapid property changes can therefore lag the driving solution. Use increment refinement and, where justified, PNEWDT to request a smaller increment. A value below one requests a cutback with automatic incrementation; fixed incrementation may terminate instead. Avoid repeatedly requesting the same cutback without a resolution criterion.
Increment refinement
\Delta t_j=\Delta t_0/2^j
\]
Suggested verification sequence.
Field error
e_F=|F_{num}-F_{ref}|
\]
Compare at matching increment states.
Abaqus USDFLD Debugging and Troubleshooting
When investigating an Abaqus USDFLD example, isolate the USDFLD Fortran code example from the material-table setup. Verify the data returned by Abaqus USDFLD GETVRM before changing the damage law.
| Symptom | Likely cause | Action |
|---|---|---|
| FIELD remains zero | Unsupported GETVRM key or missing dependency | Check nonzero benchmark, output and material definition. |
| Damage resets | History stored only in FIELD | Store history in STATEV. |
| Wrong modulus | Incorrect dependency column or units | Inspect material table and FV. |
| Unexpected unloading | History law or built-in material response | Check SDV and unloading slope. |
| Increment sensitivity | Explicit solution dependence | Refine increments and compare curves. |
| Compilation failure | Interface or compiler mismatch | Use official interface and supported compiler. |
| Mesh-dependent softening | Local damage localization | Investigate regularization and mesh convergence. |
Abaqus USDFLD Verification — Analytical and Numerical Checks
Verification is an essential part of learning how to write USDFLD in Abaqus. Check the Abaqus USDFLD damage model and Abaqus USDFLD field variables separately from the stress response.
The table below specifies verification targets, not measured Abaqus results. Record numerical values after running the model and report deviations.
| Test | Analytical target | Numerical result |
|---|---|---|
| Undamaged strain 0.0005 | d=0; E=210000 MPa | Pending simulation |
| Historical strain 0.003 | d=0.5; E=105000 MPa | Pending simulation |
| Unload after 0.003 | History remains 0.003; d=0.5 | Pending simulation |
| Historical strain 0.005 | d=0.9; E=21000 MPa | Pending simulation |
| FGM at z=5 mm, h=10 mm, m=2 | F=0.25 | Pending simulation |
| Increment refinement | Field and response approach a stable result | Pending simulation |
Relative error
e_r=100\frac{|q_{num}-q_{ref}|}{|q_{ref}|}
\]
Use absolute error for zero reference.
Unloading target
E_{unload}=E_0(1-d_{max})
\]
Idealized secant law target; verify actual material integration.
Check FV and SDV first, then stress and unloading behavior. A field-dependent elastic table does not by itself guarantee equivalence to every damage stress-integration algorithm. Compare the actual built-in material response and document any differences.
Field Variable and State Variable Post-Processing
The Abaqus USDFLD example can be assessed through integration-point output. Compare the history calculated by the USDFLD Fortran code example with the recorded field and state variables.
FV
SDV
S and E
Increment history
Avoid interpreting nodal averaging as the exact local integration-point value. Export histories at a selected material point and compare with analytical predictions.
USDFLD vs. UMAT vs. VUSDFLD vs. UFIELD
| Subroutine | Solver | Purpose | Key interface |
|---|---|---|---|
| USDFLD | Standard | Local field-dependent properties | FIELD, STATEV, GETVRM |
| UMAT | Standard | Custom constitutive integration | STRESS, DDSDDE |
| VUSDFLD | Explicit | Block-based local field updates | VGETVRM, STATEOLD, STATENEW |
| UFIELD | Standard | Nodal predefined fields | Nodal field values |
Use UMAT when a complete custom stress update or consistent material Jacobian is necessary. Use VUSDFLD for explicit material-point field updates; it is not a drop-in replacement for USDFLD.
Abaqus USDFLD Tutorial — Practical Learning Sequence
The learning sequence connects how to write USDFLD in Abaqus with the USDFLD subroutine Abaqus provides, from material setup through numerical checks.
Module 1
Module 2
Module 3
Module 4
Module 5
Module 6
Learning Outcomes and Advanced Engineering Applications
Develop the skills to write a USDFLD Fortran code example, retrieve material-point data, define field-dependent properties and verify a solution-dependent material law.
Functionally graded materials
Material degradation
Composite damage
Geotechnical modeling
Thermomechanical applications
Research extensions
Suitable for engineering students, researchers and practicing analysts familiar with basic Abaqus material definitions and Fortran.
Abaqus USDFLD Tutorial — Frequently Asked Questions
What is USDFLD in Abaqus?
Abaqus/Standard material-point field-variable subroutine.
How to write USDFLD in Abaqus?
Define dependencies, allocate STATEV, retrieve supported data, update FIELD and verify.
What is an Abaqus USDFLD example?
A field-dependent elastic modulus controlled by historical strain.
How does Abaqus USDFLD GETVRM work?
It returns supported material-point quantities at the start of the increment.
What are Abaqus USDFLD field variables?
Local scalars used by field-dependent material definitions.
What is STATEV?
Persistent solution-dependent history storage.
How does an Abaqus USDFLD damage model work?
Map a bounded history-dependent damage field to a material property table.
Can USDFLD retrieve PEEQ?
Yes, for supported material and element combinations with available equivalent plastic strain.
Does USDFLD have PROPS?
No; use appropriate alternative parameter definitions.
How does PNEWDT work?
It suggests a ratio for the next attempted increment; values below one request cutback under automatic incrementation.
Can USDFLD replace UMAT?
Only when existing field-dependent material models suffice.
What is the difference between USDFLD and VUSDFLD?
Standard versus Explicit, with different interfaces and retrieval utilities.
What is the difference between USDFLD and UFIELD?
Local material-point versus nodal field definition.
How do you verify USDFLD?
Check field and history against analytical targets, refine increments, and compare material response.











Reviews
There are no reviews yet.