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 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: eugene
Forum: OpenFOAM Running, Solving & CFD April 11, 2005, 08:25
Replies: 7
Views: 4,007
Posted By eugene
Right Both forALL(mesh.ce

Right

Both
forALL(mesh.cells(),i) {U[i]=...}
and
forALL(U,i) {U[i]=...}
will give you the same result, i.e. the ordering of cells and volFields are identical.

Most operations...
Forum: OpenFOAM Running, Solving & CFD April 11, 2005, 07:18
Replies: 7
Views: 4,007
Posted By eugene
vector probePoint(x,y,z); lab

vector probePoint(x,y,z);
label probeCell = mesh.findCell(probePoint);

const labelList& probeCellNeighbours = mesh.cellCells()[probeCell];

forAll(probeCellNeighbours, cellI)
{
Do...
Showing results 1 to 2 of 2

 
Forum Jump

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