Skip to content

NaokiHori/SwimmingParticle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swimming particle

License Last Commit

cover image

Overview

A finite-difference-based numerical simulator for diffusophoretic, self-propelling particles.

Quick Start

Get the source:

git clone https://github.com/NaokiHori/SwimmingParticle
cd SwimmingParticle

Build and run:

make output
make all
./a.out

Check the result:

python visualize.py

Parameters

There are four parameters which can be changed:

  • Péclet number
  • Radius of the outer circle
  • Number of radial and azimuthal grid points

They are all defined in src/main.c. Note that the number of azimuthal grids are to be a power of 2.

Re-compile the source (make all) when modified.

Documentation

Governing equation and its numerical treatment are briefly documented here.

Reference

  • Williamson, J. Comput. Phys. (35), 1980
  • Hu et al., Phys. Rev. Lett. (123), 2019
  • Wood and Porter, J. Appl. Eng. Math. (6), 2019

About

A finite-difference-based numerical simulator for diffusophoretic, self-propelling particles

Topics

Resources

License

Stars

Watchers

Forks