Convert 2D Triangular Mesh to 3D Prismatic Mesh

版本 1.0.4 (2.0 KB) 作者: Ayad Al-Rumaithi
Convert 2D Triangular Mesh to 3D Prismatic Mesh
193.0 次下载
更新时间 2024/9/19

查看许可证

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 CenterMATLAB Answers 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.4

Added website

1.0.3

description

1.0.2

Example and Description

1.0.1

files

1.0.0