CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Gambit Sine Edge creation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 9, 2005, 17:42
Default Gambit Sine Edge creation
  #1
Alex
Guest
 
Posts: n/a
Hi. I need to built a sine edge in gambit. Please help.
  Reply With Quote

Old   June 10, 2005, 01:17
Default 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.

  Reply With Quote

Old   June 10, 2005, 03:59
Default 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?
  Reply With Quote

Old   June 10, 2005, 05:19
Default 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,

  Reply With Quote

Old   June 10, 2005, 07:00
Default 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?
  Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 13:04.