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

Export streamlines from Fluent to Gambit

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By jack1980
  • 1 Post By jack1980

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 21, 2010, 17:40
Default Export streamlines from Fluent to Gambit
  #1
New Member
 
Maxime
Join Date: Apr 2010
Posts: 19
Rep Power: 16
Titasse is on a distinguished road
Hi,

I would like to realize a meshing with the streamlines. So, I would like to know how can i export the streamlines from Fluent to Gambit.

Cheers,
Titasse is offline   Reply With Quote

Old   April 22, 2010, 05:35
Default
  #2
Senior Member
 
Jouke de Baar
Join Date: Oct 2009
Posts: 127
Rep Power: 17
jack1980 is on a distinguished road
Hi,

You can do the following for inviscid flow. It also works for, say, k-epsilon, however I'm not sure it would be correct in that case.

display > contours: velocity, stream function
this will show streamlines; adjust range and choose the value of stream function for the streamline you want

surface > iso-surface: velocity, streamfunction, from zones: fluid
enter the stream function value

plot > xy-plot: grid, y-coordinate, surfaces: the new iso-surface
now write this to a file

Finally, adjust the file header such that you can read it as icem input in gambit

Good luck!
rajann_786 likes this.
jack1980 is offline   Reply With Quote

Old   April 22, 2010, 12:15
Default
  #3
New Member
 
Maxime
Join Date: Apr 2010
Posts: 19
Rep Power: 16
Titasse is on a distinguished road
Thank you for your help, I just have a last trouble. When I try to import the file to Gambit, I receive this message " Error : Error reading number of points per curve and number of curves". I do not know what I have to do. Maybe I make a mistake on the plot XY part.
Titasse is offline   Reply With Quote

Old   April 22, 2010, 12:37
Default
  #4
Senior Member
 
Jouke de Baar
Join Date: Oct 2009
Posts: 127
Rep Power: 17
jack1980 is on a distinguished road
Hi, unfortunatly you will have to adjust the file and it's extension. To do so, open the file in a text editor. You will see some lines of text followed by an array of coordinates:

=============================
(title "Y-Coordinate")
(labels "Position" "Y-Coordinate")

((xy/key/label "stream-function-6")
-3 0.0488679
-2.8 0.0488681
-2.6 0.0488685
=============================

Replace the lines of text with the number of coordinates per streamline, followed by the number of streamlines:

=============================
3 1
-3 0.0488679 0
-2.8 0.0488681 0
-2.6 0.0488685 0
=============================

Here I have also added zeros for z-coordinate. This might be necessary for gambit, you'll have to try.

Finally, the file extension should be ".dat".

Now you can import it as icem in gambit.

I hope this is helpfull, it's a bit of a detour but it should do the job.

Hope it works, good luck!
rajann_786 likes this.
jack1980 is offline   Reply With Quote

Old   April 22, 2010, 12:59
Default
  #5
New Member
 
Maxime
Join Date: Apr 2010
Posts: 19
Rep Power: 16
Titasse is on a distinguished road
That works !!! Thank you so much.
Titasse 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
Errors during exporting from Gambit to Fluent redrum FLUENT 3 August 6, 2014 23:40
[ICEM] export hexa mesh to fluent Wieland ANSYS Meshing & Geometry 37 January 23, 2013 04:27
[ICEM] 2D mesh export to FLUENT Ed Kay ANSYS Meshing & Geometry 0 October 22, 2009 12:08
test cases for Fluent and Gambit Ben FLUENT 1 May 21, 2003 07:44
Problems with exporting Gambit mesh to Fluent Alex Mozharov FLUENT 4 November 24, 2002 02:17


All times are GMT -4. The time now is 00:40.