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
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:
argument tupes: real x[ND_ND}, cell_t c, Thread *t
return x(cell centroid)
x for x position x for y position x for z position
how to use them? look at that manual
|All times are GMT -4. The time now is 15:46.|