matlap featool grid error
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Precise Simulation
am 26 Jan. 2023
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.
Antworten (1)
Raghav
am 9 Feb. 2023
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:
- Check the input geometry to make sure that it is properly defined and that all edges are correctly connected to the vertices.
- Make sure the edge numbering is consistent and correct.
- 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
0 Kommentare
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!