Streamline laplace equation

Hello,

I’m back to compute streamlines function using the vorticity equation but it seems that something is wrong…
It’s a very basic test case solving laplacian problem on a square. The streamlines are not parallel to the vector flux, so not orthogonal to the isoline…

Any idea ? Thanks for helping.

temp.edp (753 Bytes)

Hi!
To me it seems that changing line 3 to
fespace Ph(Th, P2);
fixes your issue.

I tried P2 interpolation but still the same

The streamlines are not parallel to the vector flux.

Hello

I’m back to this problem of streamlines but i really can’t obtain parallel streamlines to the vector flux…