Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Simulates the motion and surface forces of a fluid ellipsoid in shear flow.

Project Description

Numerical simulation of fluid ellipsoid in simple shear. Computes the motion, deformation, surface force, and fragmentation force on an ellipsoidal droplet. Companion to Kightley et al. (in prep). See /examples/ for usage.


ctypes and pickle are required. I get an error when including this in so they are (hopefully temporarily) excluded from it.

Compiled C Code

The code is in Python, but calls on some C code (in /fragforce/force.c). A compiled executable (/fragforce/ is included, which is used by /fragforce/ I don’t know if this will work on all systems; in case it doesn’t the c code is included (/fragforce/force.c and /fragforce/force.h) as well as a shell script to compile it (/fragforce/ it using gcc. If the .so doesn’t work you’ll have to compile force.c, and if you’re not using a nix machine with gcc then the script won’t work either so you’ll have to manually compile force.c and make whatever changes necessary to /fragforce/ so it imports your compiled one instead of the .so bundled here.

Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
fragforce-0.1.1.tar.gz (31.8 kB) Copy SHA256 Checksum SHA256 Source Sep 30, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting