how to get value for each node.
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.
|
Re: how to get value for each node.
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 |
Re: how to get value for each node.
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? |
Re: how to get value for each node.
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 |
Value for every single node
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...
|
Stremline problem
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... |
Quote:
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! |
All times are GMT -4. The time now is 19:32. |