CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Gambit (http://www.cfd-online.com/Forums/fluent/39113-gambit.html)

Ngoctq January 3, 2006 09:52

Gambit
 
How can I import a sine line-shaped into Gambit?

owet.L January 3, 2006 14:13

Re: Gambit (Tip to draw 2D function curves)
 
function y=f(x) step1: using the function to get the values of n points. (you can determine the value of n) x1 y1 x2 y2 ...... xn yn step2: using notepad to write a data file. The pattern of the file is shown as follows. n 1 x1 y1 0 x2 y2 0 x3 y3 0 ...... xn yn 0

and then save the file filename.dat step3: start gambit main menu->file->input->ICEM input in the panel, find out the file filename.dat by Browse click on vertices,edges,face,net surface. and then accept. the curve is that one you want.

Using the same method, you can draw 3D function curve and surface.

Good luck!


owet.L January 3, 2006 14:16

Re: Gambit (Tip to draw 2D function curves)
 
function y=f(x) step1: using the function to get the values of n points. (you can determine the value of n)

x1 y1

x2 y2

......

xn yn

step2: using notepad to write a data file. The pattern of the file is shown as follows.

n 1

x1 y1 0

x2 y2 0

x3 y3 0

......

xn yn 0

and then save the file filename.dat

step3: start gambit main menu->file->input->ICEM input in the panel, find out the file filename.dat by Browse click on vertices,edges,face,net surface. and then accept. the curve is that one you want.

Using the same method, you can draw 3D function curve and surface.

Good luck!



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