Skip to main content

Sherwood number in Stokes flow

Project description

Tests

advection diffusion solver

This repository attempts to find a solution to advection diffusion problem

$$ 0 = \Delta \phi - \mathrm{Pe} (u \cdot \nabla \phi) $$

with $\phi = 1$ for $z \to \infty$ and $\phi = 0$ on a surface of the sphere and $\mathrm{Pe}$ denoting Peclet number. Final determined value is Sherwood number defined as

$$ \mathrm{Sh} = \frac{\Phi}{ 4 \pi D R}$$

Where $D$ is diffusion constant and $\Phi$ is flux falling onto the sphere.

Both approaches solving the same problem

We use two approaches: scikit-fem package to handle solving which requires rewriting equations in weak form for smaller peclets and pychastic to generate and trace trajcetories of single particles and .

Usage as module

Basic usage

python3 -m pypesh --peclet 1000 --ball_radius 0.9

Sample output:

Sherwood for given parameters is 12.033892568100546

Usage as package

Basic usage

import pypesh.pesh as psh
psh.sherwood(peclet = 10**4, ball_radius = 0.9)

For advanced options go to: https://pypesh.readthedocs.io/en/latest/

License

Copyright (C) 2024 Radost Waszkiewicz and Jan Turczynowicz. This repository is published under GPL3.0 license.

Bibliography

  • Bubbles, Drops and Particles; R. Clift, J. Grace, M. Weber (1978)
  • Electrochemical measurements of mass transfer between a sphere and liquid in motion at high Peclet numbers; S. Kutateladze, V. Nakoryakov, M. Iskakov (1982)
  • Mass and heat transfer from fluid spheres at low Reynolds numbers; Z. Feng, E. Michaelides (2000)
  • Heat transfer from spheres to flowing media; H. Kramers (1946)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypesh-0.1.3.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

pypesh-0.1.3-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file pypesh-0.1.3.tar.gz.

File metadata

  • Download URL: pypesh-0.1.3.tar.gz
  • Upload date:
  • Size: 28.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for pypesh-0.1.3.tar.gz
Algorithm Hash digest
SHA256 28881d2388c7fce46ff83d93bbad1b43bdf9e0bca9d7fb23cf5f64cf01b601c2
MD5 ba24c5a6931f5540453752a960d92914
BLAKE2b-256 a2ec7ef36fb8fda1a2db81dcb7b9a8302b7e525b67afc32a2e63136b20fbbe24

See more details on using hashes here.

File details

Details for the file pypesh-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pypesh-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 30.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for pypesh-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 26e29758d1ee80aa7df8318e29b240a82fcaab78a093347049808d64fa7c78c9
MD5 973b7c8ecf02a811906a6ec7de93be21
BLAKE2b-256 5a8b718f571a486664995b0c16dacb0ed8215ddea3195b35583a1a8ab505d085

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page