Hello,(adsbygoogle = window.adsbygoogle || []).push({});

I have a parallelepiped, structured mesh, which means that he is divided in nodes. I have the velocity vector for each node and I want to evaluate the vorticity vector, which is:

w_x=(f(x,y+1,z)-f(x,y,z))-(f(x,y,z+1)-f(x,y,z))

w_y=(f(x,y,z+1)-f(x,y,z))-(f(x+1,y,z)-f(x,y,z))

w_z=(f(x+1,y,z)-f(x,y,z))-(f(x,y+1,z)-f(x,y,z))

SO for each node (x,y,z) I have to evaluate the velocities at the neighbouring nodes (x+1,y,z),(x,y+1,z) and (x,y,z+1). I don't have any idea about how to implement this do loop that calculates the velocities at the three neighbouring nodes and at the node and calculate the vorticity.

Have you got any idea, please?

Don't hesitate to ask more question, if I couldn't be clear.

Thank you for your time

Antonio

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Treating the data in fortran and calculus

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

Loading...

Similar Threads - Treating data fortran | Date |
---|---|

Python Interesting article how to use Pandas with Excel sheets | Feb 19, 2018 |

How to buy Fortran Programming Software Commersial License | Jan 30, 2018 |

Python Projects involving data science | Jan 8, 2018 |

Bash shell scripting and data science | Jan 2, 2018 |

Rapid data retrieval from Excel (or similar) | Dec 26, 2017 |

**Physics Forums - The Fusion of Science and Community**