CFD Online Discussion Forums

CFD Online Discussion Forums (
-   STAR-CD (
-   -   Eigenvalues in posdat.f (

ok_computer July 10, 2012 06:36

Eigenvalues in posdat.f

anybody want to share coding on how to calculate the eigenvalues in posdat.f from a 3x3 matrix.

Namely I want to plot the Lambda 2 values and for that I have the definition as S_ij**2 + O_ij**2 ,where S_ij=0.5(dui/dxj+duj/dxi) and O_ij=0.5(dui/dxj - duj/dxi).
Lambda 2 is the second eigenvalue of the matrix but it is somewhat difficult to calculate.

All times are GMT -4. The time now is 02:15.