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: duongquaphim
Forum: OpenFOAM Programming & Development December 11, 2012, 15:37
Replies: 7
Views: 3,108
Posted By duongquaphim
I think you need to do a bit more for that: ...

I think you need to do a bit more for that:

const labelList& neighbour = mesh.cellCells()[celli]

scalar sum = scalar(0);

forAll(neighbour,i)
{
sum += T[neighbour[i]];
}
Showing results 1 to 1 of 1

 
Forum Jump

All times are GMT -4. The time now is 07:13.