Nodes positions + velocity and pressure values at the nodes
I would like some advice on how to extract the x,y,z position of nodes (or cell centres) and the pressure and velocities values at the nodes (or cell centres) from FLUENT(TM) 5.0 simulation, using udf or otherwise.
Many thanks in advance. |
Re: Nodes positions + velocity and pressure values at the nodes
Hi
If you have the Fluent 5 UDF User's Guide (Dec 1998), you'll find the functions you want. For instance to access the x, y and z coordinates of a cell the following function is avialable: C_CENTROID(x,c,t) argument tupes: real x[ND_ND}, cell_t c, Thread *t return x(cell centroid) x[0] for x position x[1] for y position x[2] for z position how to use them? look at that manual Regards Daniel |
All times are GMT -4. The time now is 17:11. |