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) についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by