How to get the cells coordinate
Recently I get some troubles.The reslut store in the time file,e.g. 100,200.
The value store the cell's value.But in the polyMesh folder,the points file store the point's coordinate.I don't find the cells file,only the cellZone file.
I want to know, How can I get every cells coordinate?I can only see the point's coordinate, not the cell's.
The cells file is not necessary to run the OpenFOAM applications.
I don't understand what exactly you mean by the cell's coordinate,
but you can access the coordinates of cell centers using the
Hope that helps,
Here's a utility I wrote to write the cell centers to a file at each specified time.
Download, instructions, usage, and examples are here:
You can use the utility in the standard way, i.e.:
Greetings to all!
@Peter: I've created a basic wiki page to help getting your cellCenters utility known to the community that uses OpenFOAM technology: http://openfoamwiki.net/index.php/Contrib/cellCenters
May you or anyone else feel free to update that wiki page!
|All times are GMT -4. The time now is 12:44.|