CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Solving sai-omega Eqn (https://www.cfd-online.com/Forums/openfoam-solving/203017-solving-sai-omega-eqn.html)

alimea June 14, 2018 05:09

Solving sai-omega Eqn
 
Hi foamers

what's wrong with this equation:

Code:

omega = fvc::curl(U);

solve
(
      fvm::laplacian(sai) == -omega
)

where sai and omega are volVectorField.

I wanted to solve that for a 2D problem. the vorticity is solved correctly, but sai (that just its z-component should be non-zero) is exactly zero in all over the doamin!

Do you know why?

Thanks


All times are GMT -4. The time now is 17:21.