CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM


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

LinkBack Thread Tools Display Modes
Old   September 30, 2011, 23:55
Default snGradCorrection
Senior Member
Join Date: Nov 2009
Location: Michigan
Posts: 135
Rep Power: 7
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


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

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