CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

How to visualize numerical field data (velocities) in MATLAB

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 31, 2022, 12:55
Default How to visualize numerical field data (velocities) in MATLAB
  #1
Member
 
Shah
Join Date: Aug 2013
Posts: 61
Rep Power: 13
researcher is on a distinguished road
Hi fellow members
I have calculated 2D velocity field on a rectangular domain in which I would like to visualize in MATLAB the boundary layer and gradients including boundary layer thickness. Could any one please guide regarding that?
researcher is offline   Reply With Quote

Old   March 31, 2022, 18:17
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by researcher View Post
Hi fellow members
I have calculated 2D velocity field on a rectangular domain in which I would like to visualize in MATLAB the boundary layer and gradients including boundary layer thickness. Could any one please guide regarding that?

What kind of problem do you have? Just load the matrix in matlab and use the contour/plot/quiver functions.
https://www.mathworks.com/help/matlab/ref/load.html


You can visualize the boundary layer by the contour line at 0.99Uinf value.
researcher likes this.
FMDenaro is offline   Reply With Quote

Old   April 1, 2022, 00:47
Default
  #3
Member
 
Shah
Join Date: Aug 2013
Posts: 61
Rep Power: 13
researcher is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
What kind of problem do you have? Just load the matrix in matlab and use the contour/plot/quiver functions.
https://www.mathworks.com/help/matlab/ref/load.html


You can visualize the boundary layer by the contour line at 0.99Uinf value.
I only have grid coordinates and corresponding u velocities. I want to see the boundary layer and of course see the thickness and points as needed. I am attaching the file though.
researcher is offline   Reply With Quote

Old   April 1, 2022, 00:50
Default
  #4
Member
 
Shah
Join Date: Aug 2013
Posts: 61
Rep Power: 13
researcher is on a distinguished road
i doubt the file got attached. let me attach again. oh it says the file is big. it is a 4+ MB file.but any hypothetical data in columns xcoord,ycoord,u-velocity can be used.
researcher is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Import the .csv as the data for scalar field Rinia STAR-CCM+ 2 November 21, 2021 07:56
Mapping Field Data for Mesh Regions from Another Simulation veterator OpenFOAM Pre-Processing 1 July 10, 2018 06:28
[General] 2 datas on one plot Akuji ParaView 46 December 1, 2013 15:06
water velocities (point data) are all zero sophie_l OpenFOAM Post-Processing 2 April 20, 2013 07:08
Matlab code for the numerical solution of a Prandtl-Meyer expansion wave flow field ivan_CFD Main CFD Forum 4 March 8, 2012 16:17


All times are GMT -4. The time now is 13:58.