CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   How to implement vorticity calculations (http://www.cfd-online.com/Forums/main/77726-how-implement-vorticity-calculations.html)

mortain July 1, 2010 13:26

How to implement vorticity calculations
 
Hello,

I made a code in fortran for solving LBM equations (the enemies of CFD :)).

Anyway, I have the three velocity components for node and I would like to plot the vorticity.

I know the matrix which define the vorticity, but how to implement in your opinion this to a fortran file. I mean the derivatives like (dw/dy-dv/dz)=w_x (w_x vorticity along x).

How can I implement it in a code:
- taking the velocity in z-direction at node i and i-1 divided by the distance between the nodes (which is constant) and calculate the vorticity?

Thank you ver much

Kind regards

Antonio


All times are GMT -4. The time now is 09:04.