Description
Abaqus VUEL Tutorial | Explicit User Elements & Fortran
This Abaqus VUEL tutorial explains how to write VUEL in Abaqus/Explicit and develop custom finite elements for dynamic simulations. By studying the VUEL subroutine Abaqus/Explicit invokes, you learn to formulate the Abaqus VUEL mass matrix, calculate Abaqus VUEL internal force contributions and determine the Abaqus VUEL stable time increment. A practical Abaqus VUEL example and corresponding VUEL Fortran code example connect explicit finite element theory with block-based programming, debugging and numerical verification.
Abaqus VUEL Tutorial — What Is VUEL and When Do You Need It?
VUEL is the user-element interface for explicit dynamics. This Abaqus VUEL tutorial demonstrates how to write VUEL in Abaqus/Explicit and develop custom finite elements for dynamic simulations. By studying the VUEL subroutine Abaqus/Explicit invokes, you learn to formulate the Abaqus VUEL mass matrix, calculate Abaqus VUEL internal force contributions and determine the Abaqus VUEL stable time increment. A practical Abaqus VUEL example and corresponding VUEL Fortran code example connect explicit finite element theory with block-based programming, debugging and numerical verification.
How to write VUEL in Abaqus?
Define the element topology, derive mass and force contributions, estimate stability, implement the operation flags and verify a small model.
What is an Abaqus VUEL example?
A two-node axial bar with lumped nodal mass provides an analytical dynamic benchmark.
What is AMASS in VUEL?
The element mass matrix, subject to Abaqus/Explicit mass restrictions.
What is RHS in VUEL?
The requested element internal force or distributed external load contribution, depending on the operation flag.
What is DTIMESTABLE?
An element-level estimate of the maximum stable time increment.
How to Write VUEL in Abaqus — Step-by-Step Implementation
1. Governing equations
2. Element interpolation
3. Abaqus VUEL mass matrix
4. Abaqus VUEL internal force
5. VUEL Fortran code example
6. Abaqus VUEL stable time increment
Abaqus/Explicit–VUEL Communication
The solver passes kinematics and element data in blocks. VUEL returns requested element quantities; Abaqus performs global time integration.
Abaqus/Explicit
VUEL
Explicit solution
What Is Included with the Abaqus VUEL Tutorial Package?
The Abaqus VUEL tutorial combines explicit finite element theory, step-by-step Fortran programming, practical Abaqus VUEL examples, and numerical verification. Learn how to write VUEL in Abaqus, formulate the Abaqus VUEL mass matrix, calculate Abaqus VUEL internal force contributions, and determine the Abaqus VUEL stable time increment through a structured theoretical and computational learning workflow.
Abaqus VUEL Subroutine & Fortran Programming Training
Understand the VUEL subroutine Abaqus interface, explicit user-defined elements, and Abaqus/Explicit solution procedures.
Learn how to write VUEL in Abaqus using block-based element processing, subroutine arguments, operation codes, and solution-dependent state variables.
Develop governing equations, shape functions, numerical integration, element kinematics, and explicit finite element algorithms.
Implement the Abaqus VUEL mass matrix (AMASS), mass lumping, and Abaqus VUEL internal force vector (RHS) using practical Fortran examples.
Understand central difference time integration, critical time increments, Abaqus VUEL stable time increment (DTIMESTABLE), and mass scaling.
Identify Fortran compilation errors, incorrect element mass contributions, internal force errors, and numerical instability.
Verify user-defined elements through analytical solutions, dynamic benchmarks, reference simulations, and energy balance assessments.
VUEL Fortran Code Examples & Abaqus Model Files
VUEL Subroutine Abaqus/Explicit Interface — Inputs and Outputs
The VUEL subroutine Abaqus/Explicit calls uses block-based arrays. Respond only to the requested operation and initialize the corresponding outputs.
| Variable | Role | Description |
|---|---|---|
| NBLOCK | Input | Number of elements in the current block. |
| AMASS | Output | Element mass matrix. |
| RHS | Output | Requested force contribution. |
| DTIMESTABLE | Output | Element stability estimate. |
| U, DU, V, A | Input | Nodal kinematics. |
| COORDS | Input | Original nodal coordinates. |
| PROPS, JPROPS | Input | Real and integer properties. |
| SVARS | Input/output | Element history variables. |
| ENERGY | Input/output | Element energy quantities. |
| LFLAGS | Input | Procedure and operation flags. |
| NDOFEL, NNODE | Input | DOF and node counts. |
| DMASSSCALEFACTOR | Input | Element mass scaling information. |
Explicit Finite Element Formulation — Core Equations
For undamped small-strain structural dynamics, inertia balances external and internal forces. The following equations establish the foundation of the Abaqus VUEL tutorial.
Dynamic equilibrium
\mathbf M\ddot{\mathbf u}=\mathbf f_{ext}-\mathbf f_{int}
\]
Global balance of momentum.
Interpolation
\mathbf u^h=\mathbf N\mathbf d
\]
Nodal interpolation.
Jacobian
\mathbf J=\partial\mathbf x/\partial\boldsymbol\xi
\]
Natural-to-physical mapping.
Strain
\boldsymbol\varepsilon=\mathbf B\mathbf d
\]
Small-strain kinematics.
Consistent mass
\mathbf M_e=\int_{\Omega_e}\rho\mathbf N^T\mathbf N\,d\Omega
\]
Before admissible lumping.
Row-sum lumping
M^L_{ii}=\sum_j M_{ij}
\]
For suitable element formulations.
Internal force
\mathbf f_{int}^e=\int_{\Omega_e}\mathbf B^T\boldsymbol\sigma\,d\Omega
\]
Internal nodal forces.
Numerical integration
\mathbf f_{int}^e\approx\sum_g w_g\mathbf B_g^T\boldsymbol\sigma_g|\det\mathbf J_g|
\]
Include area or thickness as needed.
Abaqus VUEL Mass Matrix and Mass Lumping
The Abaqus VUEL mass matrix must satisfy the solver mass restrictions. For a simple translational bar, positive diagonal nodal masses are sufficient. Check total mass, units, symmetry and the absence of inadmissible coupling.
Total mass
m_e=\int_{\Omega_e}\rho\,d\Omega
\]
Physical element mass.
Bar lumped mass
\mathbf M_e=\frac{\rho AL}{2}\begin{bmatrix}1&0\\0&1\end{bmatrix}
\]
Equal nodal masses for a uniform bar.
Abaqus VUEL Internal Force Calculations
The Abaqus VUEL internal force contribution follows the stress and strain-displacement relation. Return the internal force with the convention required by the internal-force operation; do not substitute the UEL static residual convention.
Linear elasticity
\boldsymbol\sigma=\mathbf D\boldsymbol\varepsilon
\]
Small-strain elastic material.
Bar force
\mathbf f_{int}=\frac{EA}{L}(u_2-u_1)\begin{bmatrix}-1\\1\end{bmatrix}
\]
Equal and opposite nodal forces.
Explicit Time Integration — Central Difference Method
Abaqus/Explicit advances the global solution; the VUEL routine does not independently integrate global nodal displacements. The following equations illustrate constant-step central differences.
Acceleration
\mathbf a_n=\mathbf M_L^{-1}(\mathbf f_{ext,n}-\mathbf f_{int,n})
\]
Diagonal mass permits direct acceleration evaluation.
Velocity
\mathbf v_{n+1/2}=\mathbf v_{n-1/2}+\Delta t\mathbf a_n
\]
Half-step velocity.
Displacement
\mathbf u_{n+1}=\mathbf u_n+\Delta t\mathbf v_{n+1/2}
\]
Advance displacement.
Abaqus VUEL Stable Time Increment
The Abaqus VUEL stable time increment depends on the element stiffness, inertia and current response. The undamped linear stability bound is frequency-based; wave-speed estimates require an appropriate element length and constitutive model.
Critical increment
\Delta t_{crit}=2/\omega_{max}
\]
Undamped linear system.
Wave-speed estimate
\Delta t_e\approx L_e/c_d
\]
Continuum estimate.
Dilatational speed
c_d=\sqrt{(K+4G/3)/\rho}
\]
Isotropic 3D elasticity.
Axial bar speed
c=\sqrt{E/\rho}
\]
One-dimensional axial wave.
Abaqus VUEL Example — Two-Node Dynamic Bar
Consider a uniform axial bar with E = 210000 MPa, A = 10 mm², L = 100 mm and density 7.85 × 10⁻⁹ tonne/mm³. Fix node 1 and apply a sudden constant 1000 N force to node 2. This analytical benchmark assumes small strain, no damping and no mass scaling.
Shape functions
N_1=(1-\xi)/2,\quad N_2=(1+\xi)/2
\]
Linear interpolation.
Axial strain
\varepsilon=(u_2-u_1)/L
\]
Uniform strain.
Nodal mass
m=\rho AL/2
\]
Free-node lumped mass.
Natural frequency
\omega=\sqrt{EA/(Lm)}
\]
Fixed-free discrete bar.
Step response
u_2(t)=\frac{PL}{EA}(1-\cos\omega t)
\]
Initially at rest.
Conservative element estimate
\Delta t_e=\alpha L\sqrt{\rho/E},\quad 0<\alpha\leq1
\]
Based on the free-free element highest frequency.
| Quantity | Analytical reference |
|---|---|
| Nodal mass | 3.925e-06 tonne |
| Natural frequency | 73145.87 rad/s |
| Static displacement | 0.047619 mm |
| Peak dynamic displacement | 0.095238 mm |
| Element stability estimate (α = 1) | 1.93342e-05 s |
| Period | 8.58994e-05 s |
VUEL Fortran Code Example — Block-Based Implementation
This VUEL Fortran code example illustrates a fixed-form calculation kernel inside the official VUEL interface. It assumes two axial DOFs, positive properties, ordered coordinates and no distributed element loads or mass scaling. It is not a standalone compilable subroutine.
C Inside VUEL: illustrative operation-specific kernel
C PROPS = E, AREA, DENSITY; validate before use
DO KB = 1, NBLOCK
EL = COORDS(KB,2,1)-COORDS(KB,1,1)
EK = PROPS(1)*PROPS(2)/EL
EM = PROPS(3)*PROPS(2)*EL/2.D0
IF (LFLAGS(3).EQ.1) THEN
AMASS(KB,1,1)=EM
AMASS(KB,1,2)=0.D0
AMASS(KB,2,1)=0.D0
AMASS(KB,2,2)=EM
ELSE IF (LFLAGS(3).EQ.2) THEN
EXT=U(KB,2)-U(KB,1)
RHS(KB,1)=-EK*EXT
RHS(KB,2)= EK*EXT
DTIMESTABLE(KB)=0.9D0*EL*
1 SQRT(PROPS(3)/PROPS(1))
C Update required energy/state outputs separately.
END IF
END DO
Use the official interface and operation constants for your Abaqus release. Complete energy bookkeeping, initialization, validation and any supported load operations before running the model.
Element Properties, Connectivity and Degrees of Freedom
For this Abaqus VUEL example, the element has two nodes and one axial translational DOF per node. The property order is E, area and density. Maintain consistent indexing across the input deck and VUEL Fortran code example.
Abaqus Input File — USER ELEMENT and UEL PROPERTY
*Heading
Illustrative two-node VUEL dynamic bar
*Node
1, 0.
2, 100.
*User Element, Type=VU1, Nodes=2, Coordinates=1, Properties=3
1
*Element, Type=VU1, Elset=BAR
1, 1, 2
*UEL Property, Elset=BAR
210000., 10., 7.85E-9
*Nset, Nset=TIP
2
*Boundary
1, 1, 1, 0.
*Amplitude, Name=STEPLOAD
0., 1., 0.001, 1.
*Step, Name=DYNAMIC
*Dynamic, Explicit
, 0.001
*Cload, Amplitude=STEPLOAD
2, 1, 1000.
*Output, History, Time Interval=1.E-6
*Node Output, Nset=TIP
U, V, A
*End Step
The illustrative input deck requires a completed VUEL routine and release-specific checks. The analytical values above have not been verified by an Abaqus run.
State Variables and Element Energy Calculations
Store history in SVARS using the documented update semantics. Track internal energy and other applicable element energy components consistently.
Kinetic energy
E_k=\tfrac12\mathbf v^T\mathbf M_L\mathbf v
\]
Global kinetic energy.
Elastic energy
E_{int}=\tfrac12(EA/L)(u_2-u_1)^2
\]
Linear bar strain energy.
Energy balance
E_k+E_{int}=E_0+W_{ext}
\]
Ideal conservative system.
Mass Scaling and Numerical Stability
Mass scaling changes inertia and can alter the dynamic response. Verify the Abaqus VUEL mass matrix and Abaqus VUEL stable time increment with and without scaling; do not assume scaling is appropriate for a physical transient.
Abaqus VUEL Debugging and Troubleshooting
Compilation errors
Incorrect force direction
Zero or negative mass
Unstable response
Block indexing errors
Energy drift
Abaqus VUEL Verification — Dynamic Benchmarks
Single-element test
Rigid translation
Mass check
Frequency check
Time-step refinement
Reference simulation
Abaqus VUEL Post-Processing and Visualization
Use nodal displacement, velocity and acceleration histories for verification. Custom element stress and history quantities are not automatically available as ordinary built-in element contours; choose a suitable output strategy.
Abaqus VUEL Tutorial — Practical Learning Sequence
| Stage | Learning objective |
|---|---|
| 1 | Explicit dynamics fundamentals |
| 2 | Element interpolation and integration |
| 3 | Abaqus VUEL mass matrix |
| 4 | Abaqus VUEL internal force formulation |
| 5 | Abaqus VUEL stable time increment |
| 6 | VUEL Fortran code example and input deck |
| 7 | Debugging and dynamic verification |
What You Can Learn from This Abaqus VUEL Tutorial
Explicit formulation
Fortran programming
Mass and force
Numerical stability
Solver interaction
Verification
Engineering Applications of Abaqus VUEL
The methods provide a foundation for advanced applications, rather than a claim that every application is included in the package.
Peridynamics
Dynamic fracture
Cohesive elements
Impact dynamics
Nonlinear mechanics
Research elements
VUEL vs. UEL vs. VUMAT
| Interface | Solver | Main role |
|---|---|---|
| VUEL | Explicit | Element mass, forces and stability. |
| UEL | Standard | Element residual and tangent for static equilibrium. |
| VUMAT | Explicit | Material-point stress and state updates. |
Who Is This Abaqus VUEL Tutorial For?
Mechanical and civil engineers, computational mechanics researchers, postgraduate students and Abaqus users developing custom explicit finite elements. Basic finite element mechanics and Fortran familiarity are helpful.
Abaqus VUEL Tutorial — Frequently Asked Questions
How to write VUEL in Abaqus?
Define the element topology, derive mass and force contributions, estimate stability, implement the operation flags and verify a small model.
What is an Abaqus VUEL example?
A two-node axial bar with lumped nodal mass provides an analytical dynamic benchmark.
What is AMASS in VUEL?
The element mass matrix, subject to Abaqus/Explicit mass restrictions.
What is RHS in VUEL?
The requested element internal force or distributed external load contribution, depending on the operation flag.
What is DTIMESTABLE?
An element-level estimate of the maximum stable time increment.
How is the Abaqus VUEL mass matrix calculated?
Integrate density and interpolation, then construct an admissible lumped mass.
How is Abaqus VUEL internal force calculated?
Integrate the stress contribution against the strain-displacement matrix.
How do I estimate the Abaqus VUEL stable time increment?
Use an appropriate frequency or wave-speed estimate and verify stability.
How does a VUEL Fortran code example handle NBLOCK?
Loop over the elements in the block and write outputs at the matching block index.
How do I verify an Abaqus VUEL example?
Compare mass, forces, frequencies, displacement and energy with analytical or reference results.
Can VUEL support peridynamics?
Yes, with a suitable nonlocal discretization and stability treatment.
What is the difference between UEL and VUEL?
UEL is for Standard; VUEL supplies explicit element contributions.
What is the difference between VUEL and VUMAT?
VUEL defines elements; VUMAT defines material response.









Reviews
There are no reviews yet.