Convert 2D Triangular Mesh to 3D Prismatic Mesh
バージョン 1.0.4 (2.02 KB) 作成者:
Ayad Al-Rumaithi
Convert 2D Triangular Mesh to 3D Prismatic Mesh
Convert 2D triangular mesh to 3D prismatic mesh with example file. The following functions are included:
1-function [Nodes3D,Prisms] = Mesh2D_to_Mesh3D(Nodes,Triangles,t,z): Converts 2D triangular mesh to 3D prismatic mesh
2-function Plot_Mesh2D(Nodes,Triangles): Plots 2D triangular mesh
3-function Plot_Mesh3D(Nodes3D,Prisms): Plots 3D prismatic mesh
where:
Nodes: is matrix of size (NNodes,2) containing the xy coordinates of the 2D mesh nodes.
Triangles: is matrix of size (NTriangles,3) containing the connectivity of the 2D mesh triangles
t: spacing of extrusion in z direction.
z: is a vector of size containing minimium and maximium range of extrusion in z direction.
Nodes3D: is matrix of size (NNodes3D,3) containing the xyz coordinates of the 3D mesh nodes.
Prisms: is matrix of size (NPrisms,6) containing the connectivity of the 3D mesh prisms.
引用
Ayad Al-Rumaithi (2024). Convert 2D Triangular Mesh to 3D Prismatic Mesh (https://www.mathworks.com/matlabcentral/fileexchange/70102-convert-2d-triangular-mesh-to-3d-prismatic-mesh), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R2017b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
Help Center および MATLAB Answers で Surface and Mesh Plots についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!