# Gambit Sine Edge creation

 Register Blogs Members List Search Today's Posts Mark Forums Read

 June 9, 2005, 16:42 Gambit Sine Edge creation #1 Alex Guest   Posts: n/a Hi. I need to built a sine edge in gambit. Please help.

 June 10, 2005, 00:17 Re: Gambit Sine Edge creation #2 zxaar Guest   Posts: n/a you can write a small program to create set of (x,y,z) points to represent the sine curve you want, then just read these points into gambit as vertices and create the edge form these points , it shall represent the sine curve you want.

 June 10, 2005, 02:59 Re: Gambit Sine Edge creation #3 Alex Guest   Posts: n/a Zxaar, thank you for the tip. I've seen in gambit manual that there is a possibility to actually built a sine from coordinates (they have a SIN function), i.e. to built a string of say x values and then to apply the function to it. The problem is that I'm not familiar with these options and the manual was not so good (at least for me). The actual problem is as follows. Say you have a box with it's bottom face as a sine surface. I want to apply periodic cond-s on two pairs of the box's faces (not the upper and not the sine). When fluent checks the mesh, one of these periodic pairs (the one that includes a bottom sine edge) shows a 10^-19 misallignment. When I'm checking the grid with sweeps, its seems that a number of nodes are fault (I'm getting the triangulars instead of h-elements). Can you suggest me something?

 June 10, 2005, 04:19 Re: Gambit Sine Edge creation #4 zxaar Guest   Posts: n/a humm, you can copy this text to a file , say call it sin.jou and save it, then go to gambit and run it from run journal and it iwll create the sin courve for you: sin.jou__________ \$i = 0 \$imax = 2 \$j = 0 \$jmax = 2 \$inc = .25 do para "\$i" init 0 cond (\$i.le.\$imax) incr \$inc vertex create coordinate \$i \$j sin(RAD2DEG*PI*\$i) enddo \$vertices = LISTENTITY(t_ve) edge create nurbs \$vertices interpolate sin.jou___Ends ... further drop me an email, i think i could be help in what you want to create,

 June 10, 2005, 06:00 Re: Gambit Sine Edge creation #5 Alex Guest   Posts: n/a Thanks a lot. I'll try it later at univ. BTW, what r u working on, at?

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Jai FLUENT 2 March 2, 2017 09:07 Ganesh FLUENT 13 January 22, 2014 05:11 audrich FLUENT 0 September 21, 2009 07:06 audrich FLUENT 3 August 4, 2009 01:07 SSL FLUENT 2 January 26, 2008 12:55

All times are GMT -4. The time now is 18:46.