Fieldfunction du/dy - du/dx
I have got a little problem. I want to set up a field function where velocity gradients are included:
du/dx -> CCM Code: grad($$Velocity). I think this is for du/dx right, where u is the first component of the velocity vector.
How does this work for du/dy or du/dz??
Thanks for help
Check out the help file:
Using Tools > Using Field Functions > Field Function Programming Reference > Vector Functions, Miscellaneous Functions
"grad($$Velocity)" will get you a vector field function consisting of (du/dx, du/dy, du/dz). If you just want du/dx, then you need to do "grad($$Velocity)"
To be clear...
du/dx = grad($$Velocity)
du/dy = grad($$Velocity)
dv/dx = grad($$Velocity)
dv/dy = grad($$Velocity)
dw/dx = grad($$Velocity)
Ah Kyle, thank u! :-) This is it what I was looking for....
|All times are GMT -4. The time now is 21:45.|