CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Gradient Operator

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 5, 2012, 03:51
Default Gradient Operator
  #1
New Member
 
Mohanamuraly
Join Date: May 2009
Posts: 16
Rep Power: 6
mohanamuraly is on a distinguished road
Dear All,

Does the fvc::grad operator depend on the boundary type definition of the field variable on which it operates. For example, consider a scalar field variable "rho" and one of the boundaryField of "rho" has a zeroGradient specified.

I understand from a small piece of code I wrote that the boundaryField values of the gradient (fvc::grad(rho)) return zero vectors for this BC.

But will the internal gradient field of "rho" -> fvc::grad(rho) be in any way affected by this zeroGrad boundary condition ?

Regards,

Pavanakumar Mohanamuraly
mohanamuraly 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
WSS and normal velocity gradient for the slanted pipe wanna88 FLUENT 2 October 1, 2012 22:34
vortex cause pressure gradient or pressure gradient induce vortex? fruitkiwi Main CFD Forum 4 June 12, 2012 01:12
specified shear at wall - temperature gradient - UDF - access violation error senD Fluent UDF and Scheme Programming 7 May 12, 2012 18:23
Gradient operator implicit discretization diegon OpenFOAM Running, Solving & CFD 12 May 2, 2007 06:22
How to compute gradient for non-orthogonal grids? Paul Hsieh Main CFD Forum 3 November 11, 2003 04:52


All times are GMT -4. The time now is 12:35.