This function generates brick mesh according to grid set by vectors xx, yy, and zz.
[Nodes, Rectangles]=Rectangles_Mesh(xx,yy);
[Nodes3D,Bricks] = Mesh2D_to_Mesh3D(Nodes,Rectangles,zz);
input:
xx, yy, and zz are vectors for grids of size (Nx,1) , (Ny,1), and (Nz,1) , respectively.
output:
Nodes3D (Nx*Ny*Nz,3) is a matrix of coordinates of the mesh nodes.
Bricks((Nx-1)*(Ny-1)*(Nz-1),8) is a matrix of nodes connectivity for each element in right hand rule direction.
Example file is provided
인용 양식
Ayad Al-Rumaithi (2024). Generate Brick Mesh (https://www.mathworks.com/matlabcentral/fileexchange/92263-generate-brick-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.0 |