how to save a PDE meshed stl to file

3 visualizaciones (últimos 30 días)
D KUSHAL KUMAR
D KUSHAL KUMAR el 30 de Nov. de 2019
Respondida: Rahul el 15 de Mayo de 2025
By using PDE Toolbox an STL file is meshed. can we save the meshed geometry to file format ?
  1 comentario
Claud
Claud el 18 de Abr. de 2023
I would also be interested in finding a solution to this problem.

Iniciar sesión para comentar.

Respuestas (1)

Rahul
Rahul el 15 de Mayo de 2025
You can save the mesh obtained from an '.stl' file using the PDE toolbox in a text file using the following steps:
  • Create a PDE model using 'createpde' function.
  • Obtain the geometry into the model from the '.stl' file using 'importGeometry' function.
  • Generate the mesh using 'generateMesh' function.
  • Now after obtaining the mesh, we can obtain the 'Nodes' and 'Elements' and use the 'dlmwrite' or 'writematrix' function to save them individually in text files.
The following MathWorks documentations can be referred:
Thanks.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by