Git Product home page Git Product logo

taylorgreenparticles's Introduction

TaylorGreenParticles

particles in taylor green vortex

Motions of particles in Taylor Green vortex with

TaylorGreenParticles is a single python script to simulate motions of particles in Taylor Green vortex. The animations can help to understand the phenomenon of preferential concentration of inertial particles in turbulence, see Preferential concentration. The fortran code is added by Guo Chen.


Solve the fluid phase

The analytical solution for 2D Taylor Green vortex is given by:


where u,v,\omega are respectively the x-velocity,y-velocity and vorticity. In this simulation, we set both x and y in range [0,2*pi]. And they are discretized into a PERIODIC mesh with shape of 64*64 (change it as you wish).

Solve the particle phase

The particle dispersed in fluid experiences a hydrodynamic force, and this force will drive the particle's motion following the Newton's Second Law. The procedure to caculate the force lists as follows.

  • First, caculate the particle Reynolds number re_p:


  • Next, caculate the drag coefficient drag_coff :


  • If we define the particle relaxation time as tau_p, we can get:


  • Finally, the particle translation motion (location) is governed by :


  • In practice, the particle velocity and location is updated by:


Results

The particle relaxation time (or particle inertia) can be changed by adjusting either dp or rho_p. Here we give five typical results.

  • If tau_p = 5.56, it means particle has small inertia, so it will exactly follow the motion of fluid.

particles in taylor green vortex

  • If we increase tau_p to 555.56, the particle will have similar inertia with the fluid. There will be a strong competition between the particle and fluid vortex. It turns out that the particle's power is much smaller than the vortex core, so they choose to stay in the edge of the vortexs.

particles in taylor green vortex

  • Further increase tau_p to 55555.56, the particles now can cross the outer part of the vortex, but they can still not penetrate into the vortex core.

particles in taylor green vortex

  • Finally, tau_p is increased to 277777.78, now they have much higher inertia than the vortex, so they just freely move in the whole domain. Particles win!

particles in taylor green vortex

Contact

Send me an email at [email protected] (Zhuo Wang) or [email protected] (Guo Chen) if you have any suggestion.

taylorgreenparticles's People

Contributors

etwll avatar hietwll avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.