CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Question about operators (

batta31 November 16, 2012 09:52

Question about operators
Hi to everybody! I've got a really simple question:

if I want to calculate a surface normal gradient is there a difference between



volVectorField gradu = fvc::grad(u)
gradu.boundaryField()[patchI].patchInternalField() & patch.n()

Thanks in advance,

All times are GMT -4. The time now is 16:56.