Coder Social home page Coder Social logo

fsd's Introduction

Fast Stokesian Dynamics (FSD)

Original authors: Andrew M. Fiore, James W. Swan (MIT)

Note: The original FSD code contains a few minor errors in the lubrication and mobility calculations. Also, there was a bug causing memory leaks in the preconditioner. This version fixes these issues and tries to improve the overall performance and clarity.

A brief summary of the main files is given below. Deterministic hydrodynamics:

  • Stokes.cc : C++ module to set up the method and run the integrator
  • Stokes.cu : Driver function for integration
  • Integrator.cu : Integrator wrappers, RK2, RFD, etc.
  • Lubrication.cu : Near-field resistance (lubrication) functions (RFU, RFE, RSU, RSE)
  • Solvers.cu : Methods to perform required matrix inversions
  • Saddle.cu : Saddle point multiplication and solution
  • Mobility.cu : Far-field mobility calculations
  • Precondition.cu : Build the saddle point and near-field Brownian preconditioners
  • Wrappers.cuh : C++ wrapper definitions for CUSP operations
  • Stokes_ResistanceTable.cc : Values for pre-computed tabulation of lubrication functions
  • Stokes_SparseMath.cc : Initialization and setup of variables required for sparse operations

Brownian motion:

  • Brownian_FarField.cu : Methods to compute the far-field Brownian displacements
  • Brownian_NearField.cu : Methods to compute the near-field Brownian forces

Auxiliary functions:

  • Helper_Stokes.cu : Helper functions for two-step Stokes integrator
  • Helper_Integrator.cu : Helper functions to simplify code in Integrator.cu
  • Helper_Saddle.cu : Helper functions for saddle point matrix calculations
  • Helper_Mobility.cu : Helper functions for mobility calculations in Mobility.cu
  • Helper_Precondition.cu : Helper functions for preconditioning calcualtions
  • Helper_Brownian.cu : Helper functions used in Brownian_FarField.cu and Brownian_NearField.cu
  • Helper_Debug.cu : Functions for debugging and code checking, printing output, etc.

Brief summary of file dependency (not listed, but all files depend on their helpers, e.g. Mobility.cu depends on Helper_Mobility.cu)

  • Stokes.cu : Integrator.cu
  • Integrator.cu : Brownian_FarField.cu Brownian_NearField.cu Lubrication.cu Solvers.cu
  • Mobility.cu : Helper_Mobility.cu
  • Brownian_FarField.cu : Mobility.cu
  • Brownian_NearField.cu : Lubrication.cu Preconditioner.cu
  • Solvers.cu : Saddle.cu Wrappers.cuh
  • Saddle.cu : Mobility.cu Lubrication.cu

Reference

Fiore, A. M., & Swan, J. W. (2019). Fast Stokesian dynamics. Journal of Fluid Mechanics, 878, 544-597.

fsd's People

Contributors

edmondztt 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.