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

snGradCorrection

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 30, 2011, 23:55
Default snGradCorrection
  #1
Senior Member
 
Join Date: Nov 2009
Location: Michigan
Posts: 135
Rep Power: 16
doubtsincfd is on a distinguished road
Has anyone tried implementing snGradCorrection? I tried to modify wallGradU by replacing snGrad with snGradCorrection and its simply throwing up.

Doesn't wallGradU calculate the NORMAL gradient of wall? Does the gradient of a scalar direction necessarily has to be along normal?

What is the difference between
1. U.boundaryField()[patchi].snGrad() and
2. Calculating gradient of U and then inner product of gradU and the surface normal

I am trying to build expression for 2., but getting errors.

Thank you.
doubtsincfd 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



All times are GMT -4. The time now is 15:24.