CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (http://www.cfd-online.com/Forums/ansys-meshing/)
-   -   [GAMBIT] GAMBIT edge problem (http://www.cfd-online.com/Forums/ansys-meshing/130353-gambit-edge-problem.html)

 SJD February 24, 2014 17:39

GAMBIT edge problem

Hi all :)
I am new to GAMBIT and FLUENT
I created vertices by using this journal code:
\$i = 0
\$imax = 5
\$inc = 0.0001
do para "\$i" init 0 cond (\$i .le. \$imax) incr \$inc
vertex create coordinate \$i (SQRT(\$i)) 0
enddo
this code creates vertices of the y=sqrt(x) function (create 15974 vertices!!!)
So, now I want to create an edge by fitting a smooth curve between all of these vertices( the most appropriate edge form these vertices).
What is the most appropriate edge type for the best accuracy??

I tried to create edge with NURBS edge, first I selected all vertices and then I clicked on Apply, but when I zoom on the edge it seems that edge didn't pass between all vertices (the edge has a little distance from the vertices except the first one and the last)!!!!
Why??
NURBS edge is useful for this case, isn't it??
what is my fault?:confused:

 -mAx- February 25, 2014 02:28

I never used this funtionnality, but the help is mentioning 2 options: interpolate & approximate
Did you try both options?
https://www.sharcnet.ca/Software/Gam...e_create_nurbs

 SJD February 25, 2014 04:31

1 Attachment(s)
Quote:
 Originally Posted by -mAx- (Post 476604) I never used this funtionnality, but the help is mentioning 2 options: interpolate & approximate Did you try both options? https://www.sharcnet.ca/Software/Gam...e_create_nurbs
yes I tried the both method (interpolate & approximate) but the result was same!
but according to the help file interpolate should work!!!

 -mAx- February 26, 2014 01:45