|
[Sponsors] |
What value is returned for gradUneighbourfaceI if faceI is at a boundary |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 1, 2006, 14:04 |
Dear All,
I am looping thro
|
#1 |
Member
diablo80@web.de
Join Date: Mar 2009
Posts: 93
Rep Power: 17 |
Dear All,
I am looping through all faceI in "owner" list: const unallocLabelList& owner = mesh.owner(); const unallocLabelList& neighbour = mesh.neighbour(); gradU = fvc::grad(U); forAll(owner, faceI) { } and I would like to use the value of gradU[neighbour[faceI]] for some operations.... The question is: when a boundary face is taken as "faceI", I know there is no neighbour associated with it, so what would be the value returned by gradU[neighbour[faceI]]? |
|
June 1, 2006, 14:14 |
Sorry, forgot to ask also abou
|
#2 |
Member
diablo80@web.de
Join Date: Mar 2009
Posts: 93
Rep Power: 17 |
Sorry, forgot to ask also about U[neighbour[faceI]]...
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ForAllowner faceI looping | sampaio | OpenFOAM Running, Solving & CFD | 1 | July 30, 2008 07:24 |
Boundary conditions for turbulent boundary layer | Thomas | FLUENT | 1 | June 17, 2008 06:14 |
Functions A and H what are returned values | kar | OpenFOAM Running, Solving & CFD | 1 | February 21, 2008 10:08 |
boundary conditions for boundary layer flow | A. Al-zoubi | CFX | 0 | November 3, 2007 08:11 |
Slip Boundary Condition for Moving Boundary | Shukla | Main CFD Forum | 3 | November 11, 2005 16:02 |