mortain
- 3
- 0
Hello,
I have a parallelepiped domain, divided in nodes. Each node has a velocity vector (3D). I want to evaluate the vorticity. Starting from the definition of vorticity (e.g. w_x=\partialu_z/\partialy-\partialu_y/\partialz) I calculated the vorticity in a fortran progem like: w_x=(u_z(x,y+1,z)-u_z(x,y,z))-(u_y(x,y,z+1)-u_y(x,y,z)) but it is not really doing what it is supposed to do. I read the following document: http://folk.uio.no/jks/matpiv/html/node31.html I'd like to have your opinion.
Thank you for any advice
p.s. u_i is the velocity in the i-th direction, (x,y,z) indicates the node
Antonio
I have a parallelepiped domain, divided in nodes. Each node has a velocity vector (3D). I want to evaluate the vorticity. Starting from the definition of vorticity (e.g. w_x=\partialu_z/\partialy-\partialu_y/\partialz) I calculated the vorticity in a fortran progem like: w_x=(u_z(x,y+1,z)-u_z(x,y,z))-(u_y(x,y,z+1)-u_y(x,y,z)) but it is not really doing what it is supposed to do. I read the following document: http://folk.uio.no/jks/matpiv/html/node31.html I'd like to have your opinion.
Thank you for any advice
p.s. u_i is the velocity in the i-th direction, (x,y,z) indicates the node
Antonio