Is it possible to customize the mesh created by generatemesh?
3 views (last 30 days)
Show older comments
I would like to create a mesh for a cylinder of radius R and length L that consists of:
- a fine triangular mesh for the 2D circular cross section
- a coarse rectangular mesh for the side.
So, in the end I want a mesh made of triangular prisms.
How can I create this using MATLAB (2016b)? I can only get a triangular mesh, and also I cannot make it coarse in one direction. Please, help.
0 Comments
Answers (1)
KSSV
on 30 Nov 2017
YOu can mesh a cylinder using below code: https://in.mathworks.com/matlabcentral/fileexchange/34143-meshing-thin-shells-using-four-noded-elements
YOu can convert the cylindrical mesh to triangular using: https://in.mathworks.com/matlabcentral/fileexchange/63630-convert-qua4-fem-mesh-to-tri3-fem-mesh
0 Comments
See Also
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!