Filter löschen
Filter löschen

interpolation of a decline wall scatter data

1 Ansicht (letzte 30 Tage)
ran
ran am 3 Nov. 2023
Kommentiert: Mathieu NOE am 6 Nov. 2023
I obtain Fluent data of a flow abouve corregated wall. i brack down the data to segmants of up and down heal part to prosses more easely the data in each sugment but i have a problem i cent solve in any way. on the wall i get kind of waves that are not part of the phisics of my problem and i found out it beacuse the interpulation on a wall with an angle have error that increas with the angle. i try few ways so resolved it, by chainging to polar cordinat, to tern the data and interpulat on a flat wall and so on but nothing solve this problem.
i dont add any code beacuse i dont have one that work(i didnt have a problem to preduse one it just didnt solved my problem) and i looking for imagenative idea of how to solve the problem.
i add one set of data of locations xn and yn and temperature data Tn
i kind solve the problem by create matrixs of the row data without interpulation but i think for farder prosesing i will be benefit from more defined data.
thanks
  1 Kommentar
Mathieu NOE
Mathieu NOE am 6 Nov. 2023
I don't understand your problem
when I plot your data it seems clean to me
can you explain in more details , maybe with a picture of what you want ?
% simple (fast) scatter plots
figure(1)
scatter3(xn,yn,un,'filled')
figure(2)
scatter3(xn,yn,vn,'filled')
% convert scatter plot to surf (can take some time !)
[xq,yq] = meshgrid(xn,yn);
uq = griddata(xn,yn,un,xq,yq);
figure(3)
surf(xq,yq,uq)
shading interp
colorbar('vert')
vq = griddata(xn,yn,vn,xq,yq);
figure(4)
surf(xq,yq,vq)
shading interp
colorbar('vert')

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by