|
[Sponsors] |
January 19, 2005, 11:56 |
GAMBIT Parametric Modelling
|
#1 |
Guest
Posts: n/a
|
Hi folks!
I learned how to use Gambit a couple of month ago and so far I had no problems using the GUI....BUT: I'm currently working on parametric modeling/meshing in a journal file, and I have some troubles: 1.I cannot find any intuitive functions to easily select a set of , let's say edges, by specifying spacial restrictions, for exemple (this was possible and terribly efficient in ANSYS!). 2.I cannot figure out how to use the MINEDGE function (error 500, syntax error , blablabla...). This is a real problem! Any suggestions? I appreciate your help! jb |
|
January 19, 2005, 12:27 |
Re: GAMBIT Parametric Modelling
|
#2 |
Guest
Posts: n/a
|
Regarding your first problem, I don't think there are functions to select edges - at least I never saw any. I deal with this by always explicitly naming the vertices, edges, faces, volumes, and so forth, in the journal file. For example:
vertex create "LowerLeft" coordinates 0 0 0 vertex create "LowerRight" coordinates 1 0 0 edge create "Bottom" straight "LowerLeft" "LowerRight" If you do this you always have names to grab onto later. |
|
January 19, 2005, 12:52 |
Re: GAMBIT Parametric Modelling
|
#3 |
Guest
Posts: n/a
|
I see what you mean, but in my case, I'm importing a huge 3D model from Catia V4, so it's not possible for me to re-name all the elements. Anyway, thank you for your help, I appreciate.
|
|
January 19, 2005, 20:52 |
Re: GAMBIT Parametric Modelling
|
#4 |
Guest
Posts: n/a
|
you can use journals to do lot of work for your case, and yes as you mentioned , if the model has lot of edges faces and volumes , tracing them is a problem, specially when you can not name each and every face you generate. But then the question is how gambit does that. gambit uses some fixed rules to generate the names for the volumes and edges and faces, so if i were to write a journal for a complicated case, i would rather wirte a c-program that does the name generation for me, or rather finally generate a journal that i could run on gambit to get my model done. it shall not be easy, but i guess thats the way to make it more easy and reusable.
|
|
January 20, 2005, 04:53 |
Re: GAMBIT Parametric Modelling
|
#5 |
Guest
Posts: n/a
|
Thank you zxaar, that's a good point. My only fear with your solution is the following : the 3D Catia V5 model that I'm importing is still a beta version : event if the global shape of the model should remain the same, the CAD designer might change its way to create the geometry... (he created a parametric geometry of the structure, and our boss want his catia V5 file to be soon useable for more complicated models). But this is a good idea : I'll keep it in mind until this Catia file is the final version!
thanx a lot! |
|
January 26, 2005, 17:58 |
Re: GAMBIT Parametric Modelling
|
#6 |
Guest
Posts: n/a
|
You can use the loc2ent function. Specify $entityname=loc2ent(t_ed,x,y,z) where x,y,z are coordinates of a point that lies on your edge, and variable $entityname now contains the name of the edge. Use t_fa or t_vo to indicate a face or a volume instead.
Does this get it? |
|
January 27, 2005, 05:18 |
Re: GAMBIT Parametric Modelling
|
#7 |
Guest
Posts: n/a
|
thank you Chris, that's finally the way I choosed to solve my problem...my journal file is running now but still : i wonder why this stupid 'minedge' function doesn't work!
bye jb |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
airfoil trailing edge modelling in gambit | morteza08 | Main CFD Forum | 3 | June 4, 2010 14:36 |
Modelling 3D elbow in Gambit | Karthik | FLUENT | 2 | September 4, 2008 10:39 |
Modelling in gambit | Shanti V | FLUENT | 2 | October 6, 2005 22:55 |
Parametric Journaling with Gambit | Riham | FLUENT | 0 | August 19, 2003 16:22 |
Parametric Modeling with GAMBIT | David Shkval | FLUENT | 4 | March 7, 2002 08:50 |