CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM

Why does accessing a zeroGradient patch return (0 0 0) for a volVectorField

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 20, 2010, 14:27
Default Why does accessing a zeroGradient patch return (0 0 0) for a volVectorField
  #1
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 13
l_r_mcglashan will become famous soon enough
If a patch is zeroGradient, why does accessing a volVectorField return (0 0 0)? This doesn't happen with a volScalarField. In other words:

Info << someVolScalarField.boundaryField()[patchID] << endl;
will give something non-zero.

Info << someVolVectorField.boundaryField()[patchID] << endl;
will give n(0 0 0).
__________________
Laurence R. McGlashan :: Website
l_r_mcglashan 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
Pressure instability with rhoSimpleFoam daniel_mills OpenFOAM Running, Solving & CFD 44 February 17, 2011 18:08
CheckMeshbs errors ivanyao OpenFOAM Running, Solving & CFD 2 March 11, 2009 04:34
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
Import gmsh msh to Foam adorean Open Source Meshers: Gmsh, Netgen, CGNS, ... 24 April 27, 2005 09:19
Multicomponent fluid Andrea CFX 2 October 11, 2004 06:12


All times are GMT -4. The time now is 18:48.