Convert MATLAB Mesh to Abaqus
Versione 1.0.3 (1,84 KB) da
Ayad Al-Rumaithi
Generates Abaqus input file (.inp) using nodes coordinates and elements connectivity in MATLAB
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.
Cita come
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. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2017b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > STL (STereoLithography) >
Scopri di più su STL (STereoLithography) in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.