CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Tangential Component of Gradient??? (https://www.cfd-online.com/Forums/openfoam/90060-tangential-component-gradient.html)

Kelvin_mk June 29, 2011 15:30

Tangential Component of Gradient???
 
Hi everybody,

I want to find the tangential component of gradient. I calculate

grad=-fvc::grad(phi)

then

how can I calculate

Tangential grad????

I know

"Grad_tangential=grad-grad_normal"

snGrad find the value which is the surface vector field, but my variable is volvectorfield so I couldn't use it.

How can I find the tangential component of gradient and how can I see the variables in ParaFoam.

Thanks for all helps.


All times are GMT -4. The time now is 22:13.