Creating custom mesh in Matlab PDE toolbox

3 views (last 30 days)
Kaveh Gharibi
Kaveh Gharibi on 21 Nov 2017
Commented: ADSW121365 on 1 Jun 2020
I have 2 questions.
1-Why generatemesh in Matlab PDE does not allow to create custom mesh? I can not use legacy workflow like poimesh because I need quadratic elements and legacy workflow does not have quadratic elements.
2-Also what if the mesh needs to be finer in some parts of geometry. Generate mesh only has the option for maximum element size or minimum element size in the whole domain. I need fine mesh on the boundary of a rectangular domain only and not in the whole rectangle.
  2 Comments
Kaveh Gharibi
Kaveh Gharibi on 29 Nov 2017
The solution is here.
https://www.mathworks.com/matlabcentral/answers/346410-is-there-a-way-to-import-2d-meshes-nodes-and-triangles-into-pde-model-objects
ADSW121365
ADSW121365 on 1 Jun 2020
External mesh generators such as GMSH or TETGEN maybe helpful here.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!