Generating Rough surface for Abaqus using MATLAB

The attached includes m code and usage

You are now following this Submission

Background
•It is often required to investigate the effect of surface roughness with FE simulation
- Example: friction, wear, fluid squeezing, thermal contact, vehicle on the rough road etc.
Abaqus / CAE does not support the random surface generation
Usage
Description on the MATLAB function
•MATLAB code input parameters (Lx,Ly,Lz,N,sn_x,sn_y,Wb_a,Wb_b) >> Abaqus inp file (orphan mesh)
Lx, Ly, Lz : length of periodic cell for x, y, and z-direction (Lz=0 generates 3D surface)
N: number of division for the distance between the sampling points
sn_x, sn_y: number of sampling points for x and y-direction
Wb_a, Wb_b: Weibull distribution parameters
Download the Rand_surf.m file and put it in the MATLAB directory (default is C:User\Document\MATLAB)
Enter [Nodes,Elements]=Rand_surf(Lx,Ly,Lz,N,sn_x,sn_y,Wb_a,Wb_b) in MATLAB command window
Roughness parameters and information on the Nodes and Elements are displayed after execution
Nodes and Elements lists for Abaqus input file is stored in MATLAB workspace
Abaqus input file is generated in MATLAB working directory
Import in Abaqus / CAE
Open the inp file in Abaqus/CAE
File-import-Model-Choose Abaqus input File in File Filter
Further information
Demo video (Youtube): https://youtu.be/DdnmJvsBCnY
Tutorial: refer to the pdf in the zip file
+Note
* You can also use Rough Surface Generator (RSGen) plugin for Abaqus/CAE
* Contact: lyb0684@naver.com
Demo video : https://youtu.be/kuCzG_OzWTM

Cite As

Lim Young bin (2026). Generating Rough surface for Abaqus using MATLAB (https://in.mathworks.com/matlabcentral/fileexchange/111635-generating-rough-surface-for-abaqus-using-matlab), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.3

Notes for Rough Surface Generator plugin is added

1.0.2

Element set definition for S1 and S2 was corrected

1.0.1

Node order for solid element was corrected to give positive element volume.

1.0.0