CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Gradient of the velocity magnitude (https://www.cfd-online.com/Forums/openfoam-pre-processing/62190-gradient-velocity-magnitude.html)

anja June 6, 2006 05:49

Hi all, does someone know, ho
 
Hi all,
does someone know, how to get the gradient of the velocity magnitude?

Thanks
Anja

hjasak June 6, 2006 05:57

volVectorField gradMagU = fvc:
 
volVectorField gradMagU = fvc::grad(mag(U));

Clear enough? :-)

Hrv

anja June 6, 2006 06:33

Yes, clear. And what about
 
Yes, clear.

And what about the normal velocity gradient, so that I receive a scalar?

Thanks again
Anja

anja June 6, 2006 06:44

Sorry, I've meant to get a sca
 
Sorry, I've meant to get a scalarField.

eugene June 6, 2006 08:18

The normal velocity gradient r
 
The normal velocity gradient relative to what?

anja June 6, 2006 08:39

The gradient normal to the sur
 
The gradient normal to the surface, at least that exists for vectorFields, but I'm searching that for the scalarField magU.


All times are GMT -4. The time now is 10:25.