|
[Sponsors] |
April 21, 2010, 17:40 |
Export streamlines from Fluent to Gambit
|
#1 |
New Member
Maxime
Join Date: Apr 2010
Posts: 19
Rep Power: 16 |
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, |
|
April 22, 2010, 05:35 |
|
#2 |
Senior Member
Jouke de Baar
Join Date: Oct 2009
Posts: 127
Rep Power: 17 |
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! |
|
April 22, 2010, 12:15 |
|
#3 |
New Member
Maxime
Join Date: Apr 2010
Posts: 19
Rep Power: 16 |
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.
|
|
April 22, 2010, 12:37 |
|
#4 |
Senior Member
Jouke de Baar
Join Date: Oct 2009
Posts: 127
Rep Power: 17 |
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! |
|
April 22, 2010, 12:59 |
|
#5 |
New Member
Maxime
Join Date: Apr 2010
Posts: 19
Rep Power: 16 |
That works !!! Thank you so much.
|
|
|
|
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 |