What can I possibly change from my gmsh file (see attached FocusingMesh.msh) so that I can import the file through the import mesh quickerSim routine (see importMeshGmsh.m attached below) in matlab?
I seem to be getting an error message of "undefined function or variable 'K'" in line 218 of the imporMeshGmsh.m file: tmp(i,:) = [L K];
Thank you

 채택된 답변

Walter Roberson
Walter Roberson 2020년 9월 12일

0 개 추천

That is a version 4.1 mesh file, but the import routine can only be used for a subset of version 2 mesh files (that do not happen to have a PhysicalEntities section)

댓글 수: 2

Manuel Guzman
Manuel Guzman 2020년 9월 12일
Thank you this fixed my problem!
Chandan Gupta
Chandan Gupta 2021년 3월 13일
How can I change my file (A.txt) so that I can import the file through the import mesh quickerSim routine in matlab?

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Computational Fluid Dynamics (CFD)에 대해 자세히 알아보기

질문:

2020년 9월 12일

댓글:

2021년 3월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by