I would like to refine a 2D mesh in the pde toolbox using the "new" flow. I am basically looking for the new version of the old function "refinemesh"
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I would like to refine a 2D mesh in the pde toolbox using the "new" flow. I am basically looking for the new version of the old function "refinemesh"
1 comentario
Mahmoud Abdullah
el 21 de Jul. de 2024
Hi, Devin
I still ask the same question. Now, if you have any answer for your question, please provide us.
Respuestas (1)
Alan Weiss
el 16 de Jun. de 2016
Sorry, the new way to do it is to construct an entirely new mesh using generateMesh using a smaller Hmax value. It is indeed different than using refinemesh, but I believe that it should work as well.
Alan Weiss
MATLAB mathematical toolbox documentation
3 comentarios
Alan Weiss
el 17 de Jun. de 2016
Indeed, this doesn't seem straightforward. You can extract the mesh using meshToPet, then use refinemesh as you like. But your PDEModel object will no longer contain the mesh, so you would have to use the older workflow from there on.
Alan Weiss
MATLAB mathematical toolbox documentation
Paul Safier
el 14 de Abr. de 2020
What if you want to refine the mesh in only one direction? I have a 3D cube and I want a finer mesh in only the z-direction. Can I do this and solve with the PDE Toolbox?
Ver también
Categorías
Más información sobre Geometry and Mesh en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!