Importing a mesh from gmesh to matlab_QuickerSim

20 次查看(过去 30 天)
Hi, please, anyone with this similar difficulties regarding importing 2D gmesh file to matlab_quickersim? I keep receiving an error "error using importMeshGmsh (line 108) msh file with that name does not exist.
Below is part of my msh file I opened with a text file
$MeshFormat
2.2 0 8
$EndMeshFormat
$Nodes
1383
1 0 0 0
2 5 0 0
3 5 5 0
4 0 5 0
5 0.1562499999998832 0 0
6 0.3124999999997253 0 0
7 0.4687499999996162 0 0
  4 个评论
VICTOR ANYIDOHO
VICTOR ANYIDOHO 2020-6-15
Thank you all for the response. I have been able to sort it out. I saved the mesh file in the directory of the QuickerSimCFDToolbox which i couldn't do at first. It works now,
Here is the directory in case someone else need help with the same issue.
C:\Users\'name of your device'\ AppData\Roaming\MathWorks\MATLAB Add-ons\Appls\QuickerSimCFDToolbox\tutorial
I created a folder inside the tutorial folder where i copied the g mesh file to and it run perfectly.
Thank you all
Vikash Kumar
Vikash Kumar 2021-1-19
Hi
It is throwing an error of undefine function or variable "importMeshGmsh"

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by