|
[Sponsors] |
How to get the coordinates and velocities at the grid center and nodes simultaneously |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 7, 2009, 07:36 |
How to get the coordinates and velocities at the grid center and nodes simultaneously
|
#1 |
New Member
maye
Join Date: Oct 2009
Posts: 9
Rep Power: 17 |
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?
|
|
October 12, 2009, 11:58 |
|
#2 |
New Member
Join Date: Apr 2009
Location: KA, Germany
Posts: 20
Rep Power: 17 |
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 C_U(c,t) //flow velocity x C_V(c,t) //flow velocity y C_W(c,t) //flow velocity z Code:
begin_c_loop(cell,thread) { } end_c_loop(cell,thread) |
|
October 12, 2009, 14:40 |
|
#3 |
New Member
anonymous
Join Date: Aug 2009
Posts: 4
Rep Power: 17 |
hey hi i want to know how do we define heat source in fluent
|
|
October 18, 2009, 23:48 |
|
#4 |
New Member
maye
Join Date: Oct 2009
Posts: 9
Rep Power: 17 |
Well, this is the macros for velocities at center of cells. How to export velocities at nodes?
|
|
October 19, 2009, 03:41 |
|
#5 |
New Member
Join Date: Apr 2009
Location: KA, Germany
Posts: 20
Rep Power: 17 |
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.
|
|
|
|