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: r08n
Forum: OpenFOAM Pre-Processing June 30, 2010, 09:46
Replies: 6
Views: 1,544
Posted By r08n
I guess this should be like this (untested): ...

I guess this should be like this (untested):

forAll (mesh.cellCentres(), cellI)
{
if (mesh.cellCentres()[cellI].x() > 0.0105) k[cellI] = 1;
// etc.
}
Showing results 1 to 1 of 1

 
Forum Jump

All times are GMT -4. The time now is 09:58.