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

[GAMBIT] GAMBIT edge problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2014, 16:39
Question GAMBIT edge problem
  #1
SJD
New Member
 
Sajjad
Join Date: Feb 2014
Posts: 5
Rep Power: 12
SJD is on a distinguished road
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?
SJD is offline   Reply With Quote

Old   February 25, 2014, 01:28
Default
  #2
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
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
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   February 25, 2014, 03:31
Default
  #3
SJD
New Member
 
Sajjad
Join Date: Feb 2014
Posts: 5
Rep Power: 12
SJD is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
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
Thanks a million for your answer dear Maxime,I've written the journal code by using from your last answer (fluent & gambit journal)
yes I tried the both method (interpolate & approximate) but the result was same!
but according to the help file interpolate should work!!!
Attached Images
File Type: jpg NURBS edge .jpg (46.4 KB, 6 views)
SJD is offline   Reply With Quote

Old   February 26, 2014, 00:45
Default
  #4
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
Mesh your edge. And re-check
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   February 26, 2014, 15:56
Smile
  #5
SJD
New Member
 
Sajjad
Join Date: Feb 2014
Posts: 5
Rep Power: 12
SJD is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
Mesh your edge. And re-check
You were right!
when I meshed the edge, the mesh boundary exactly passed from the vertices!
Thanks
SJD is offline   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
Actuator disk model audrich FLUENT 0 September 21, 2009 07:06
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
Gambit error- the edge degenerates into a point Jai FLUENT 1 September 23, 2006 04:00
Gambit face meshing with a common edge stella FLUENT 1 October 28, 2005 05:09
Problem when I run old gambit jou file with new xfshi FLUENT 0 March 31, 2005 13:03


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