Welcome, Guest
Username: Password: Remember me

TOPIC: Telemac3D result plot at the MATLAB

Telemac3D result plot at the MATLAB 5 years 10 months ago #32546

  • fernando.bezerra
  • fernando.bezerra's Avatar
Hello,

I would like to plot the 3D results of Telemac3D in Matlab. Then, there is a code to read the slf. file at the MATLAB or there is a way to extract the information of all the points of the mesh at the BlueKenue ?
I already see one code at www.mathworks.com/matlabcentral/fileexch.../25021-telemac-tools , but it only plot a layer at one time step, and my goals is to plot all the layers

Thank you in advance
Fernando
The administrator has disabled public write access.

Telemac3D result plot at the MATLAB 5 years 10 months ago #32547

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
Hi Fernando,

The matlab scripts you mention allow you to do what you want. You can extract the results at each time step for all the layers at one location for instance.

I hope it helps.

Regards,
Laurent
The administrator has disabled public write access.

Telemac3D result plot at the MATLAB 5 years 10 months ago #32549

  • fernando.bezerra
  • fernando.bezerra's Avatar
Hi Laurent,

I used the function telplot, but i only got a 2D view
photo1.jpg

of i suppose that is the first layer, and shows only the VELOCITY U, V or W.
And what i want is a 3D view of the VELOCITY UVW, similar to the BlueKenue's results
photo2.png

I don't have much experience with MATLAB, so do you have one example to show to me, if is possible ?

Thank you again for your help.
Fernando
The administrator has disabled public write access.

Telemac3D result plot at the MATLAB 5 years 10 months ago #32552

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
Hi Fernando,

telplot.m is just a display function. You have to read the results with telstepr.m at the selected time steps (TT) and keep the desired nodes (IPOIN) and variables (IVAR). Something like that:
m = telstepr(m,TT);
my_var = m.RESULT(IPOIN,IVAR);
Then you can display my_var

Regards,
Laurent
The administrator has disabled public write access.

Telemac3D result plot at the MATLAB 5 years 10 months ago #32556

  • fernando.bezerra
  • fernando.bezerra's Avatar
Hi Laurent,

Now i have all the values saved in a matrix with the values:
X Y Z U V W UVW TEMPERATURE COLIFORM

But how i plot the values X Y Z and TEMPERATURE for example?
Sorry for my level of experience in Matlab

Best regards,
Fernando
The administrator has disabled public write access.

Telemac3D result plot at the MATLAB 5 years 10 months ago #32558

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
Hi,

You can find the list of matlab plot functions here:
fr.mathworks.com/help/matlab/creating_pl...of-matlab-plots.html

Maybe you can use the plot3, surf, scatter3 functions.

Regards,
Laurent
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.