CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Gradient Operator

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

LinkBack Thread Tools Display Modes
Old   November 5, 2012, 04:51
Default Gradient Operator
New Member
Join Date: May 2009
Posts: 16
Rep Power: 10
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 ?


Pavanakumar Mohanamuraly
mohanamuraly is offline   Reply With Quote


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
Gradient operator implicit discretization diegon OpenFOAM Running, Solving & CFD 15 November 2, 2017 05:50
specified shear at wall - temperature gradient - UDF - access violation error senD Fluent UDF and Scheme Programming 9 September 18, 2014 07:29
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
How to compute gradient for non-orthogonal grids? Paul Hsieh Main CFD Forum 3 November 11, 2003 05:52

All times are GMT -4. The time now is 01:47.