|
[Sponsors] |
[General] extract the cell center coordinates if the CELLID is know |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 26, 2013, 15:55 |
extract the cell center coordinates if the CELLID is know
|
#1 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Hi All,
If I know the cell ID, how can I know the cell centroid coordinates in paraview? Thank you very much. |
|
August 31, 2013, 14:02 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi openfoammaofnepo,
There are probably a few ways you can do this. I suggest using the following steps:
Best regards, Bruno
__________________
|
|
January 12, 2017, 07:54 |
|
#3 |
Senior Member
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12 |
Hi,
Another way to obtain the cell center coordinates is to run the standard utility writeCellCentres. It creates fields ccx, ccy and ccz with the x, y and z components of the cell center coordinates, which can be loaded in Paraview. The users interested in writeCellCentres may want to know that there is also the cellCenters utility created by @opedrofunk, which is "similar to the writeCellCentres utility[...], except that it outputs a single file with the vector coordinates of the cell center positions". Best wishes, Thomas |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
find a cell from its centroid coordinates | annan | Fluent UDF and Scheme Programming | 2 | March 5, 2018 07:36 |
?? How to get cell center coordinates? | erica | FLUENT | 0 | May 11, 2005 23:02 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |
calculate cell volume, center...? | Paul | Main CFD Forum | 5 | June 21, 2003 13:55 |
About Cell Center | Harry | FLUENT | 0 | December 3, 2000 05:33 |