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

Gradient Operator

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2012, 04:51
Default Gradient Operator
  #1
New Member
 
Mohanamuraly
Join Date: May 2009
Posts: 18
Rep Power: 17
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gradient operator implicit discretization diegon OpenFOAM Running, Solving & CFD 19 August 27, 2022 11:44
specified shear at wall - temperature gradient - UDF - access violation error senD Fluent UDF and Scheme Programming 9 September 18, 2014 08:29
WSS and normal velocity gradient for the slanted pipe wanna88 FLUENT 2 October 1, 2012 23:34
vortex cause pressure gradient or pressure gradient induce vortex? fruitkiwi Main CFD Forum 4 June 12, 2012 02: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 06:10.