CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

how to get value for each node.

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 17, 2006, 03:23
Default 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.
  Reply With Quote

Old   January 26, 2006, 07:28
Default 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
  Reply With Quote

Old   January 28, 2006, 10:41
Default 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?
  Reply With Quote

Old   January 30, 2006, 03:16
Default 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
  Reply With Quote

Old   February 2, 2006, 00:13
Default 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...
  Reply With Quote

Old   February 8, 2006, 23:33
Default 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...
  Reply With Quote

Old   July 20, 2010, 18:39
Default
  #7
New Member
 
Join Date: Sep 2009
Posts: 1
Rep Power: 0
machaae is on a distinguished road
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!
machaae is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
node values vs. no node values in fluent user0314 FLUENT 4 June 30, 2019 05:14
Export node number and coordinates kezman CFX 2 November 7, 2015 16:45
Accessing node values using a UDF Nico FLUENT 2 December 20, 2007 03:50
License server not visible from master node Charles FLUENT 0 October 30, 2007 18:48
how can i list node temperatur by node location Ali Doustdar FLUENT 2 July 13, 2007 00:48


All times are GMT -4. The time now is 03:53.