Generates Abaqus input file (.inp) using nodes coordinates and elements connectivity in MATLAB
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Generates Abaqus input file (.inp) using nodes coordinates and elements connectivity in MATLAB. Example file is also provided with the function.
function Matlab2Abaqus(Nodes,Elements,Elements_Sets,Filename)
Input:
----------
Nodes: Nodes coordinates matrix of size (N*2) for 2D or (N*3) for 3D problems.
Elements: A cell array containing the connectivity of elements in the form:
Elements{i}=[node_1 node_2 .......node_n] where i is the element index and node_1 to node_n are the nodes indices where element i is connected to.
Elements_Sets:Specify element set in the form of:
Elements_Sets{j}.Name: the name of the j-th element set
Elements_Sets{j}.Elements_Type: A keyword for elements type in j-th element set such as "CPS3" for constant strain triangle. More keywords are found in Abaqus Keywords Manual.
Elements_Sets{j}.Elements: a vector for all element indices in this j-th element set.
Filename: Full path of the input file containing the folder, name of the file and extension such as: 'D:\Example.inp'
Output:
-----------
Input file is generated with the specified location and name and ready to be imported by Abaqus.
Note: The mesh is imported in Abaqus using the following steps :(1-File___2-Import___3-Model__4-(*.inp) File). A model will be created containing a part (MATLAB_MESH). The part contains the element sets.
Cite As
Ayad Al-Rumaithi (2026). Convert MATLAB Mesh to Abaqus (https://www.mathworks.com/matlabcentral/fileexchange/71339-convert-matlab-mesh-to-abaqus), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.4 (1.84 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
