|
[Sponsors] |
June 9, 2005, 17:42 |
Gambit Sine Edge creation
|
#1 |
Guest
Posts: n/a
|
Hi. I need to built a sine edge in gambit. Please help.
|
|
June 10, 2005, 01:17 |
Re: Gambit Sine Edge creation
|
#2 |
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, 03:59 |
Re: Gambit Sine Edge creation
|
#3 |
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, 05:19 |
Re: Gambit Sine Edge creation
|
#4 |
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, 07:00 |
Re: Gambit Sine Edge creation
|
#5 |
Guest
Posts: n/a
|
Thanks a lot. I'll try it later at univ. BTW, what r u working on, at?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
Actuator disk model | audrich | FLUENT | 0 | September 21, 2009 08:06 |
Where's the singularity/mesh flaw? | audrich | FLUENT | 3 | August 4, 2009 02:07 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |
Gambit error- the edge degenerates into a point | Jai | FLUENT | 1 | September 23, 2006 05:00 |