# how to get value for each node.

 Register Blogs Members List Search Today's Posts Mark Forums Read

 January 17, 2006, 03:23 how to get value for each node. #1 Mie Guest   Posts: n/a I would like to ask how i can get velocity value for each node (meshing) when i using Fluent 6.1 software.I am created my object using gambit and try to predic velocity value and vortex shedding behind the building/bluff body.I hope u can tech me how to get that value.

 January 26, 2006, 07:28 Re: how to get value for each node. #2 Ralf Schmidt Guest   Posts: n/a use file->write -> profile There is a surface that represents the mesh. Usualy it is named "default-interior:1". For every volume in your geometry there is this surface. Then select the values that should be written (velocity,...) and thats it! Ralf

 January 28, 2006, 10:41 Re: how to get value for each node. #3 mIe Guest   Posts: n/a Thank you very much Ralf.Just one question here.If i want to get all value for every node (for one surface), can i represent it in m.excell. Second question.Can i put velocity value to each node in my surface when i done my meshing?

 January 30, 2006, 03:16 Re: how to get value for each node. #4 Ralf Schmidt Guest   Posts: n/a Hi, representing the profile files in excel is possible... but with a lot of work. Fluent prints the values all behind each other, so u must resort them in excel - and that might be impossible for a large number of cells. Someone send me a matlab file, that can read the Fluent profile file, it is attached. The second question, if there is a possibility to use Fluent valus in gambit?? I don't thing so... Best wishes Ralf ___________ function [flaeche,vars,werte]=lies_fluent_profil(datei) % Datei öffnen fid=fopen(datei,'r'); % alle Flächen for f=1:inf % Ende, wenn Dateiende erreicht if feof(fid) if length(flaeche)==1 werte=werte{1}; end fclose(fid); return end % Fläche bestimmen zeile=fgetl(fid); a=find(zeile==' '); flaeche{f,1}=zeile(3:a(1)-1); % Anzahl der Punkte bestimmen n=str2num(zeile(a(end)+1:end-1)); for i=1:inf zeile=fgetl(fid); if length(zeile)==1 werte{f,1}=sortrows(dat,[1 2 3]); clear dat, break, end % Namen der Größen bestimmen if f==1 && length(zeile)>1 vars{i,1}=zeile(2:end); end % Werte auslesen dat(:,i)=fscanf(fid,'%f',n); zeile=fgetl(fid); zeile=fgetl(fid); end end

 February 2, 2006, 00:13 Value for every single node #5 mie Guest   Posts: n/a Thanks Ralf for the coding..Ralf,can i want put value for each node at my surface,i mean in Fluent. Ralf, if if have any problem,i will email u again..i quiet new in this field. i hope u can tech me...

 February 8, 2006, 23:33 Stremline problem #6 mie Guest   Posts: n/a hai, I would like to asking u about stremline.So can u tech me how to display the stremline in fluent.I want see structure of vortex behind the bluff body.... Please help me...

July 20, 2010, 17:39
#7
New Member

Join Date: Sep 2009
Posts: 1
Rep Power: 0
Quote:
 Originally Posted by Ralf Schmidt ;128287 Hi, representing the profile files in excel is possible... but with a lot of work. Fluent prints the values all behind each other, so u must resort them in excel - and that might be impossible for a large number of cells. Someone send me a matlab file, that can read the Fluent profile file, it is attached. The second question, if there is a possibility to use Fluent valus in gambit?? I don't thing so... Best wishes Ralf ___________ function [flaeche,vars,werte]=lies_fluent_profil(datei) % Datei öffnen fid=fopen(datei,'r'); % alle Flächen for f=1:inf % Ende, wenn Dateiende erreicht if feof(fid) if length(flaeche)==1 werte=werte{1}; end fclose(fid); return end % Fläche bestimmen zeile=fgetl(fid); a=find(zeile==' '); flaeche{f,1}=zeile(3:a(1)-1); % Anzahl der Punkte bestimmen n=str2num(zeile(a(end)+1:end-1)); for i=1:inf zeile=fgetl(fid); if length(zeile)==1 werte{f,1}=sortrows(dat,[1 2 3]); clear dat, break, end % Namen der Größen bestimmen if f==1 && length(zeile)>1 vars{i,1}=zeile(2:end); end % Werte auslesen dat(:,i)=fscanf(fid,'%f',n); zeile=fgetl(fid); zeile=fgetl(fid); end end
Hi Ralf,

I was reading this post because I need to plot contours of fluent data using matlab. This piece of code works well, I tried, but it just open the data file and I dont know waht do after. Do you know how to include a contours function? or what to do after reading the profile file and then to plot something?

thanks a lot!

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post user0314 FLUENT 3 February 6, 2015 06:32 kezman CFX 1 November 4, 2009 20:30 Nico FLUENT 2 December 20, 2007 03:50 Charles FLUENT 0 October 30, 2007 18:48 Ali Doustdar FLUENT 2 July 12, 2007 23:48

All times are GMT -4. The time now is 05:24.