vortex.md
June 7, 2025 · View on GitHub
Simulation of co-rotating and counter-rotating vortices
We will initialize our vortex with a Lamb-Oseen vortex, which is defined in cylindrical coordinates as:
The vorticity is thus written as:
With the circulation of the flow, the radial coordinate, and the mean radius defined as .
Non-dimensionalization
We need to non-dimensionalize the initial condition. To do this, we introduce the same characteristic quantities as for the non-dimensionalization of the Navier-Stokes equations:
- : characteristic length
- : characteristic velocity
- : characteristic time
The non-dimensional variables are defined by:
Thus, the non-dimensional form of the initial condition is written as:
The characteristic velocity is defined as: and the characteristic length: . The Reynolds number is thus: . The choice of sign determines the direction of rotation of the vortex.
Merger of two co-rotating vortices
We initialize the simulation with two vortices rotating in the same direction (co-rotating), with the same intensity and the same size , separated by a distance . The simulation is performed over a duration of $30$ seconds at a Reynolds number of 2000.
vorticity
https://github.com/user-attachments/assets/a47447f4-31ed-460e-a302-e4a0b335e0c5
Other physical quantities
stream function
https://github.com/user-attachments/assets/430a6f38-e317-4839-a8f2-a588dde32eda
velocity magnitude
https://github.com/user-attachments/assets/79758aca-336b-4dd8-8c2c-2618eb14fe60
velocity in x
https://github.com/user-attachments/assets/2e916755-8032-4c22-af19-c86198154f05
velocity in y
https://github.com/user-attachments/assets/0f2b17e4-d81e-47f2-85f1-0a7414736818
Merger of three co-rotating vortices
We perform the same simulation with three vortices.
vorticity
https://github.com/user-attachments/assets/e8318755-a6eb-42c1-871e-d4fe016f48aa
Other physical quantities
stream function
https://github.com/user-attachments/assets/b507bd66-dbef-41b8-a679-c6c6921d8874
velocity magnitude
https://github.com/user-attachments/assets/5139d689-f107-486a-9785-092694d22da4
velocity in x
https://github.com/user-attachments/assets/f9b37764-c4fe-4e0e-b063-c08fecbf9803
velocity in y
https://github.com/user-attachments/assets/8995cb6d-4412-49bc-8902-060bb2b5aeaf
Vortex dipole
We perform the same simulation but by choosing one of the two vortices to rotate in the opposite direction in order to obtain two counter-rotating vortices and thus create a dipole.
vorticity magnitude
https://github.com/user-attachments/assets/518da9a2-02a8-4436-aa48-15aa9a99c173
vorticity in z
https://github.com/user-attachments/assets/74193688-72c5-4da1-81d5-edad92c03d0d
Other physical quantities
stream function
https://github.com/user-attachments/assets/51df923a-b861-44ae-a968-7a1a2ac17158
velocity magnitude
https://github.com/user-attachments/assets/64973193-9ed2-4aa4-ba01-a61d166a6ad6
velocity in x
https://github.com/user-attachments/assets/0722d9d0-e948-4220-8dee-7f806f9b3e24
velocity in y
https://github.com/user-attachments/assets/55569f5d-5f48-4c61-9921-d81f07903447
Collision of two vortex dipoles
We can also simulate the collision of two dipoles.
vorticity magnitude
https://github.com/user-attachments/assets/ac9258fe-ded0-468f-8c12-220b29c34387
vorticity in z
https://github.com/user-attachments/assets/11e09993-22ee-4197-83d2-8fe4ed89fd4b
Other physical quantities
stream function
https://github.com/user-attachments/assets/896df8f9-652b-4698-b6a1-543c98b8fb80
velocity magnitude
https://github.com/user-attachments/assets/07e60647-ff29-4486-b237-487c61d0cf81
velocity in x
https://github.com/user-attachments/assets/f0f91214-aa88-493a-966a-b9442727dd3c
velocity in y
https://github.com/user-attachments/assets/84b8291f-2a12-44c7-a334-434d7507727d