|
[Sponsors] |
How to approach calculating a stream function given a velocity profile on a grid |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 24, 2009, 16:44 |
How to approach calculating a stream function given a velocity profile on a grid
|
#1 |
New Member
Eric Jase
Join Date: Oct 2009
Posts: 3
Rep Power: 17 |
I have the velocity profiles for a 12x12 grid. So a 12x12 grid for the velocity in the x direction (u) and a 12x12 gride for velocity in the y direction(y) the stream function is defined as u=d(phi)/dy and v=d(phi)/dx. Where phi is the stream function.
This is a cavity flow: At the left, right, and bottom of the grid, the walls are stationary, therefore phi=0. To the right the change in phi (d(phi)) is the velocity in the y direction (v) times the change in distance going to the right (dx). Denoting each grid line in the x direction as i, In summary: d(phi) = dy * u ----> (phi)i+1 = (u)i*(dy)i+(phi)i Thoughts on my approach? |
|
October 25, 2009, 14:25 |
|
#2 |
Member
private
Join Date: Mar 2009
Posts: 74
Rep Power: 17 |
[QUOTE=ComFlu;233904]I have the velocity profiles for a 12x12 grid. So a 12x12 grid for the velocity in the x direction (u) and a 12x12 gride for velocity in the y direction(y) the stream function is defined as u=d(phi)/dy and v=d(phi)/dx. Where phi is the stream function.
If u = d(phi)/dy then v = - d(phi)/dx. The minus sign is mandatory. [Or you can go with u = - d(phi)/dy and v = d(phi)/dx. If you carry the signs consistently throughout the derivations, either will work.] |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[UDF] Relative coordinates in logarithmic velocity profile | cfdworker | Fluent UDF and Scheme Programming | 25 | July 13, 2017 04:44 |
Logarithmic velocity profile | cfdworker | Fluent UDF and Scheme Programming | 0 | April 23, 2009 20:09 |
[boundary condition] logarithmic velocity profile | cfdworker | FLUENT | 2 | April 18, 2009 00:36 |
How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 18:27 |
particle velocity and velocity profile | HGG | FLUENT | 2 | June 10, 2001 17:32 |