CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   How to get nodes coordinates for a certain cell ? (https://www.cfd-online.com/Forums/fluent/27961-how-get-nodes-coordinates-certain-cell.html)

mikhail October 18, 2000 12:21

How to get nodes coordinates for a certain cell ?
 
Hi !

While looping over cells in a thread I need to define coordinates of all cell nodes to provide the next calculations. Wouldn't you give me some information about this matter ? I suspect that the functions I need are NODE_X(node), NODE_Y(node), NODE_Z(node), but how can I define this "node" parameter ?

Best wishes. Mikhail

Odenir de Almeida November 1, 2000 06:48

Re: How to get nodes coordinates for a certain cel
 
I am also trying to get the nodes coordinates. At the moment, I am using the follow expression:

xc1 = NODE_X(C_NODE(cell, thread, n));

n is the number of node (0 - 4) for quadri cells!

This expression run well when insert in the main loop of the FLUENT code. But I am not getting to do a loop over the cells nodes in the domain. I contacted the Technical support by FLUENT for to resolve this...

We can to change more informations...

Ahmet AÇIKGÖZ November 1, 2000 10:18

Re: How to get nodes coordinates for a certain cel
 
Hi, You can use T-grid to find out nodes coordinates. Under the Modify Boundary panel, select nodes by mouse and press Centroid button, you can easily get the coordinates of the nodes. Bye


All times are GMT -4. The time now is 19:34.