matlap featool grid error

1 次查看(过去 30 天)
장현
장현 2022-11-12
回答: Raghav 2023-2-9
I want to use 'Refine' in grid but i can't because this error : [featool geom_decompose : wrong edge numbering]
How do i have to?
  1 个评论
Precise Simulation
Precise Simulation 2023-1-26
This was probably due to a bug. It should have been fixed in the latest release. Either update your version, or decrease the grid size and remesh.

请先登录,再进行评论。

回答(1 个)

Raghav
Raghav 2023-2-9
Hi,
After reading your question, I understand that you want to know about the implementation of the refine function.
The error message you are encountering, "[featool geom_decomposed : wrong edge numbering]," might be due to the problem with the edge numbering in a geometric decomposition in the FEATool (Finite Element Analysis Toolbox) for MATLAB.
To resolve this issue, you can try the following steps:
  1. Check the input geometry to make sure that it is properly defined and that all edges are correctly connected to the vertices.
  2. Make sure the edge numbering is consistent and correct.
  3. If the error persists, try to simplify the geometry by removing unnecessary details and retry the refine function.
Also, you can use interp2 function, whose documentation can be found from below mentioned link:
The below mentioned example can help you to better understand the interp2 function:
[X,Y] = meshgrid(-3:3);
V = peaks(X,Y);
figure
surf(X,Y,V)
title('Original Sampling');
[Xq,Yq] = meshgrid(-3:0.25:3);
Vq = interp2(X,Y,V,Xq,Yq);
figure
surf(Xq,Yq,Vq);
title('Linear Interpolation Using Finer Grid');
Regards,
Raghav Bansal

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by