CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (https://www.cfd-online.com/Forums/ansys-meshing/)
-   -   Importing Gambit data into Fluent (https://www.cfd-online.com/Forums/ansys-meshing/63762-importing-gambit-data-into-fluent.html)

Tyred April 18, 2009 13:03

Importing Gambit data into Fluent
 
I am trying to import a set of grid points into Fluent 6.3.28 (2D). The data is in text form, with a sample as follows. I beleive it was created in Gambit, but I am not sure. I have Gambit 2.4.6. I cant just copy paste the text, so I wonder if I should rename the txt file as another extension and import it?
BTW I am new to Fluent. Any help is appreciated!


(0 "GAMBIT to Fluent File")

(0 "Dimension:")
(2 2)

(10 (0 1 27D9 1 2))
(10 (1 1 27D9 1 2)(
-5.0000000000e-001 5.0000000000e-001
-5.0000000000e-001 -5.0000000000e-001
5.0000000000e-001 5.0000000000e-001
5.0000000000e-001 -5.0000000000e-001
-5.0000000000e-001 4.9957041298e-001
-5.0000000000e-001 4.9909786725e-001
-5.0000000000e-001 4.9857806695e-001
-5.0000000000e-001 4.9800628663e-001
-5.0000000000e-001 4.9737732827e-001
-5.0000000000e-001 4.9668547407e-001
-5.0000000000e-001 4.9592443445e-001
....

-4.9761163226e-001 -4.9247067069e-001
-4.9761163226e-001 -4.9510384613e-001
-4.9761163226e-001 -4.9761163226e-001
))
(0 "Faces:")
(13(0 1 4ee8 0))
(13(3 1 64 3 0)(
2 4 12e 1 0
2 12e 12f 2 0
2 12f 130 3 0
2 130 131 4 0
....

2 26b0 6b 270c 270d
2 2713 6a 270d 270e
2 2776 69 270e 270f
2 27d9 68 270f 2710
))

(0 "Cells:")
(12 (0 1 2710 0))
(12 (2 1 2710 1 3))
(0 "Zones:")
(45 (2 fluid Fluid)())
(45 (3 wall Top_Wall)())
(45 (4 wall Side_Walls)())
(45 (5 wall Bottom_Wall)())
(45 (7 interior default-interior)())

Tyred April 18, 2009 13:53

nevermind, I went to file>read>case>all files and selected the txt file. Now it seems to work.
:D


All times are GMT -4. The time now is 20:02.