CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   Could vorticity magnitude be ploted ? (http://www.cfd-online.com/Forums/main/8589-could-vorticity-magnitude-ploted.html)

w0er January 24, 2005 00:46

Could vorticity magnitude be ploted ?
 
wx = dw/dy - dv/dz wy = du/dz - dw/dx wz = dv/dx - du/dy

w = wx(i) + wy(j) + wz(k)

vorticity magnitude = sqrt(w.w) = sqrt( wx*wx +wy*wy +wz*wz

but how could i define the function into CFD post template?eg:CFX5-POST,FIELD-ViEW,CFD-View

Tosh January 25, 2005 18:34

Re: Could vorticity magnitude be ploted ?
 
If you do not know how to add variables for the format used in those softwares, the easiest way is to replace one of the existing variables (e.g. temperature or pressure) with that of the vorticity magnitude.

Tosh

E Buchanan January 26, 2005 13:28

Re: Could vorticity magnitude be ploted ?
 
Click on create variable then type in the following expressions

Vort X = 0.5*(Velocity v.Gradient Z-Velocity w.Gradient Y) Vort Y = 0.5*(Velocity w.Gradient X-Velocity u.Gradient Z) Vort Z = 0.5*(Velocity u.Gradient Y-Velocity v.Gradient X)

Vorticity = sqrt(Vort X^2+Vort Y^2+Vort Z^2)

w0er January 28, 2005 01:09

Re: Could vorticity magnitude be ploted ?
 
Thank you very much:)

CFD-junior February 8, 2005 08:49

Re: Could vorticity magnitude be ploted ?
 
Hi

The variable doesn't work. I've tried that.

I'm trying to create helical density which is the dot product of the velocity vector and vorticity. could someone please help. I want to know how to enter it in the expression block in CFD-View


All times are GMT -4. The time now is 03:40.