CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Stream function (https://www.cfd-online.com/Forums/main/3002-stream-function.html)

Cauvery G January 12, 2001 06:06

Stream function
 
Hi Everybody,

Can someone tell me how to find the streamfunction values from the discrete values of velocity components

thanks

ThoLi January 12, 2001 09:58

Re: Stream function
 
Hi G,

because rot ( streamfunction ) = velocity, I started this way:
find the streamfunkton, which minimises ( integral ( rot ( streamfunction ) - velocity ) ^2 )
the usual(?) procedure gives the euler-lagrange-pde:
solve rot ( rot ( streamfunktion ) ) = rot ( velocity )
Note:
rot ( velocity ) is also known as vorticity
rot ( rot (x) ) is similiar to the Laplacian, but be careful when working with other than cartesian coordinates (eg cylinder coordinates)
if you are using finite elements, you can shift one rot-operator to the test function
the rot operator (or rotation or curl) should be found in each book about mathematics for engineers

kalyan January 12, 2001 12:39

Re: Stream function
 
Laplacian (stream function) = - vorticity for an incompressible, constant density flow.

Vorticity can be easily computed from the velocity field. Stream function is obtained upon solving the above Poisson equation.

John C. Chien January 13, 2001 20:10

Re: Stream function
 
(1). In 2-D flow, it is possible to define the stream function from the velocity field. For example, d(psi)/dy=rho*u, d(psi)/dx=-rho*v, will satisfy the continuity equation automatically. (2). You can then find the stream function, psi distribution from the integration of the definition, given above. (3). To get more accurate stream function distribution, you may have to first curve fit the velocity field and use it in the integration. (4). The other approach is to solve the stream function equation, with the vorticity as the source term (which can be derived from the velocity field through the vorticity definition). This requires programming and will be more involved than the simple integration method.


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