How to get the coordinates and velocities at the grid center and nodes simultaneously
when fluent is calculating, i want to export the coordinates and velocities at the grid center and nodes together to a data file. How should I do?
|
Do you want to do this for every iteration?
Anyway, the macros you are looking for are Code:
C_CENTROID(x,c,t); //coords of cell centre Code:
begin_c_loop(cell,thread) |
hey hi i want to know how do we define heat source in fluent
|
Well, this is the macros for velocities at center of cells. How to export velocities at nodes?
|
I don´t believe there are any macros for getting the velocities at the nodes. I believe Fluent only solves the velocities for the cell centres. You would have to interpolate betwen the cell centre velocities to get a value for the velocities at the nodes.
|
All times are GMT -4. The time now is 04:51. |