|
[Sponsors] |
March 6, 2015, 16:16 |
Vector Fields in Matlab using Fluent datas
|
#1 |
New Member
Juliette
Join Date: Mar 2015
Posts: 1
Rep Power: 0 |
Hi everyone,
I am currently trying to plot a vector field in Matlab, using some datas extracted from Fluent. For this, I extracted the radial and axial velocity (my model is 2D axisymmetric) in a ASCII file. When I import the datas into Matlab, I have five different vectors (1x61136) representing: - the number of the considered node - x coordinate - y coordinate - the radial velocity - the axial velocity What I want is being able to plot the vectors scaled by the velocity magnitude ( I can't do that in Fluent because my x and y axis have to be scaled). I tried to use the 'quiver' function and also the 'ncquiverref' function. But I am not really good (at all) in programming, and in the first case with 'quiver' I obtained vectors with auto-scale; and when I used 'ncquiverref' I cannot change the length and width of the vector heads which leads to a vector field completely unreadable! (When I tried to reduce the number of vectors plotted, their length increased as well so it doesn't change anything). As I said I suck at programming, but I really need to find a correct way to plot this vector fields. I hope that someone could help me. Thank you in advance for your response, and if you need some other informations feel free to ask. Have a nice day! Juliette |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Exporting Point Cloud Data From ANSYS Fluent to Excel or Matlab | Wind_Wizard | Visualization & Post-Processing | 4 | December 22, 2023 19:32 |
linking matlab and fluent | Nair | FLUENT | 23 | January 12, 2020 18:55 |
How To Make MATLAB Apps For Fluent | behest | FLUENT | 0 | March 3, 2014 07:00 |
Creating UDF file in MATLAB for Fluent | ppa381 | Fluent UDF and Scheme Programming | 1 | October 10, 2013 09:27 |
few quesions on ANSYS ICEMCFD and FLUENT | Prakash.Paudel | ANSYS | 0 | August 12, 2010 12:07 |