Generate Cylinder Mesh

Generates cylinder mesh with example
ダウンロード: 224
更新 2021/5/14

ライセンスの表示

This function generates circle mesh
[Nodes, Triangles, Quads]=Circle_Mesh(R,Nr,Nt)
[Nodes3D,Prisms,Bricks] = Mesh2D_to_Mesh3D(Nodes,Triangles,Quads,zz)
input:
R: radius
Nr: Number of mesh in radial direction
Nt: Number of mesh in tangent direction
zz: Vector for grid at direction z of size (Nz,1)
output:
Nodes3D (Nz*(Nr*Nt+1),3) is a matrix of coordinates of the mesh nodes.
Prisms((Nz-1)*Nt,6) is a matrix of nodes connectivity for prism mesh in right hand rule direction.
Bricks((Nz-1)*(Nr-1)*Nt,8) is a matrix of nodes connectivity for brick mesh in right hand rule direction.
Example file is provided

引用

Ayad Al-Rumaithi (2024). Generate Cylinder Mesh (https://www.mathworks.com/matlabcentral/fileexchange/92288-generate-cylinder-mesh), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2017b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.2

description

1.0.1

description

1.0.0