Convert MATLAB Mesh to Abaqus

Generates Abaqus input file (.inp) using nodes coordinates and elements connectivity in MATLAB
551 Downloads
Updated 23 Jul 2024

View License

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 (2024). Convert MATLAB Mesh to Abaqus (https://www.mathworks.com/matlabcentral/fileexchange/71339-convert-matlab-mesh-to-abaqus), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.3

updated files

1.0.2

Title

1.0.1

Description

1.0.0