CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Gambit: Text command to find a vertex' coordinate? (https://www.cfd-online.com/Forums/fluent/40647-gambit-text-command-find-vertex-coordinate.html)

Cyril April 19, 2006 11:17

Gambit: Text command to find a vertex' coordinate?
 
I'm adding a new geometry (with a parametric journal) to an old one.

I would like to find the "hight" point on the Yaxix [0 Ymax 0].

Does anybody knows how to check the Ycoordinate of each point ? I would like to use this methodology:

Ycompar=0 and Xi=0

do for i=0 to the end (I don't know how to find the end yet!)

if Y(i)>Ycompar then Y(i)=Ycompar

return the name of vertex (x=0, y=ymax)

if smb can help me !

thx !


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