CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: chegdan
Forum: OpenFOAM Post-Processing October 26, 2012, 05:46
Replies: 7
Views: 10,044
Posted By chegdan
For the face centers on the patches, try...

For the face centers on the patches, try something like



const fvPatchList& patches = mesh.boundary();
const surfaceVectorField& faceCenters = mesh.Cf();

scalar px;
scalar py;
scalar pz;
Showing results 1 to 1 of 1

 
Forum Jump

All times are GMT -4. The time now is 15:54.