CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

What value is returned for gradUneighbourfaceI if faceI is at a boundary

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 1, 2006, 13:04
Default Dear All, I am looping thro
  #1
Member
 
diablo80@web.de
Join Date: Mar 2009
Posts: 93
Rep Power: 8
sampaio is on a distinguished road
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]]?
sampaio is offline   Reply With Quote

Old   June 1, 2006, 13:14
Default Sorry, forgot to ask also abou
  #2
Member
 
diablo80@web.de
Join Date: Mar 2009
Posts: 93
Rep Power: 8
sampaio is on a distinguished road
Sorry, forgot to ask also about U[neighbour[faceI]]...
sampaio is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ForAllowner faceI looping sampaio OpenFOAM Running, Solving & CFD 1 July 30, 2008 06:24
Boundary conditions for turbulent boundary layer Thomas FLUENT 1 June 17, 2008 05: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


All times are GMT -4. The time now is 23:03.