필터 지우기
필터 지우기

How to incorporate a 3D mesh in [p,e,t] format on a PDE thermal model?

조회 수: 4 (최근 30일)
Fernando Freire Ribeiro
Fernando Freire Ribeiro 2019년 2월 14일
댓글: Fernando Freire Ribeiro 2019년 2월 20일
Hello everyone,
I have a 3D mesh in the [p,e,t] format, as described here: https://www.mathworks.com/help/pde/ug/pde.femesh.meshtopet.html
My point is to include this mesh on the PDE toolbox to perform numerical simulations. Can someone tell me if this is possible?
Thanks in advance.

답변 (1개)

Ravi Kumar
Ravi Kumar 2019년 2월 14일
You can attempt to use geometryFromMesh function to import geometry as a mesh (also retain the original mesh).
Regards,
Ravi
  댓글 수: 1
Fernando Freire Ribeiro
Fernando Freire Ribeiro 2019년 2월 20일
Hi Ravi,
Thank you for the response. In my case, I've used the gmsh software to export the mesh and read it on MATLAB. The geometry is a little bit complex because it is a multi domain geometry. I've already tried using geometryFromMesh functon, but one important information is missing: the vector ElementIdToRegionId. Can you tell me how I can ontain this information? It seems that the .msh file does not have it.
Thank you.
Regards,
Fernando

댓글을 달려면 로그인하십시오.

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by