|
[Sponsors] |
how to get x coordinate of a centroid in a cell |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 26, 2006, 05:32 |
how to get x coordinate of a centroid in a cell
|
#1 |
Guest
Posts: n/a
|
hi! i want apply a volume heat source whose funtion is q=q0*exp(x^2+y^2)/z^ in a 3D simulation,so i need get every x,y,z coordinate of every centroid in all cells from every known C-CENTROID.how to get them from ND_ND? THANKS!
|
|
February 27, 2006, 03:38 |
Re: how to get x coordinate of a centroid in a cel
|
#2 |
Guest
Posts: n/a
|
ND_ND is just a constant defined as 2 for 2d and 3 for 3d.
C_CENTROID(x,c,t) with x[ND_ND] will store the x coordinate in x[0], y in x[1] and z in x[2]. RoM |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cells with t below lower limit | Purushothama | Siemens | 2 | May 31, 2010 22:58 |
Cell centroid and cell volume in general, and in Fluent | zmester | Main CFD Forum | 3 | October 17, 2009 12:05 |
cell centroid computation | KRK | FLUENT | 0 | February 9, 2007 13:04 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |