Published September 2, 2025 | Journal article | Version v1 | https://doi.org/10.21105/joss.07605

CNearest: A C++ toolkit to use the nearest-neighbour method of regularised stokeslets algorithm to solve viscous flow problems

  • 1. Advanced Research Computing, University of Birmingham, Edgbaston, Birmingham, UK
  • 2. School of Mathematics and Centre for Systems Modelling and Quantitative Biomedicine, University of Birmingham, Edgbaston, Birmingham, UK

Files

joss.07605.pdf

Files (233.3 kB)

Name Size Download all
md5:11f265c8800177cb95b0d773a68ccb94
233.3 kB Preview Download

Additional details

Dates

Issued
September 2, 2025

References

  1. Butcher, N., Tyrrell, J., & Smith, D. J. (2025). CNearest: A C++ toolkit to use the nearest-neighbour method of regularised stokeslets algorithm to solve viscous flow problems (Version 1.0.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.16912252
  2. Ainley, J., Durkin, S., Embid, R., Boindala, P., & Cortez, R. (2008). The method of images for regularized Stokeslets. Journal of Computational Physics, 227(9), 4600–4616. https://doi.org/10.1016/j.jcp.2008.01.032
  3. Copos, C. A. (2020). Parallelized CUDA method of regularized stokeslets. https://github.com/calinacopos/Parallelized-CUDA-Method-of-Regularized-Stokeslets
  4. Cortez, R. (2001). The Method of Regularized Stokeslets. SIAM Journal on Scientific Computing, 23(4), 1204–1225. https://doi.org/10.1137/s106482750038146x
  5. Cortez, R., Fauci, L., & Medovikov, A. (2005). The method of regularized Stokeslets in three dimensions: Analysis, validation, and application to helical swimming. Physics of Fluids, 17(3), Article 031504. https://doi.org/10.1063/1.1830486
  6. Cortez, R., & Varela, D. (2015). A general system of images for regularized Stokeslets and other elements near a plane wall. Journal of Computational Physics, 285, 41–54. https://doi.org/10.1016/j.jcp.2015.01.019
  7. Cortez, R. (2018). Regularized Stokeslet segments. Journal of Computational Physics, 375, 783–796. https://doi.org/10.1016/j.jcp.2018.08.055
  8. Cortez, R., & Olson, S. (2021). 20 years of regularized Stokeslets: Applications, computation and theory. https://www.mdpi.com/journal/fluids/special_issues/regularized_stokeslets
  9. Guennebaud, G., Jacob, B., & others. (2010). Eigen v3. https://eigen.tuxfamily.org
  10. Ferranti, D. (2024). Regularized stokeslet surfaces. https://github.com/djferranti/RegularizedStokesletSurfaces
  11. Ferranti, D., & Cortez, R. (2024). Regularized Stokeslet surfaces. Journal of Computational Physics, 508, 113004. https://doi.org/10.1016/j.jcp.2024.113004
  12. Gallagher, M. T., & Smith, D. J. (2018). Meshfree and efficient modeling of swimming cells. Physical Review Fluids, 3(5). https://doi.org/10.1103/physrevfluids.3.053101
  13. Gallagher, M. T., Choudhuri, D., & Smith, D. J. (2019). Sharp Quadrature Error Bounds for the Nearest-Neighbor Discretization of the Regularized Stokeslet Boundary Integral Equation. SIAM Journal on Scientific Computing, 41(1), B139–B152. https://doi.org/10.1137/18m1191816
  14. Gallagher, M. T., & Smith, D. J. (2020). Passively parallel regularized stokeslets. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences, 378(2179), 20190528. https://doi.org/10.1098/rsta.2019.0528
  15. Gallagher, M. T., & Smith, D. J. (2021). The art of coarse Stokes: Richardson extrapolation improves the accuracy and efficiency of the method of regularized stokeslets. Royal Society Open Science, 8(5), 210108. https://doi.org/10.1098/rsos.210108
  16. Hall-McNair, A. L., Montenegro-Johnson, T. D., Gadêlha, H., Smith, D. J., & Gallagher, M. T. (2019). Efficient implementation of elastohydrodynamics via integral operators. Physical Review Fluids, 4(11). https://doi.org/10.1103/physrevfluids.4.113101
  17. Montenegro-Johnson, T. D., Michelin, S., & Lauga, E. (2015). A regularised singularity approach to phoretic problems. The European Physical Journal E, 38(12). https://doi.org/10.1140/epje/i2015-15139-7
  18. Smith, D. J. (2018). Matlab/GNU octave code for the nearest neighbour regularised stokeslets method for stokes flow. https://github.com/djsmithbham/NearestStokeslets
  19. Parker, J. (2016). StokeD. https://github.com/johnaparker/stoked
  20. Pozrikidis, C. (1992). Boundary Integral and Singularity Methods for Linearized Viscous Flow (1st ed.). Cambridge University Press. https://doi.org/10.1017/cbo9780511624124
  21. Driscoll, T. (2004). A Practical Guide to Boundary Element Methods With the Software Library BEMLIB. By C. POZRIKIDIS. CRC Press, 2002. 440 pp. ISBN 1584 883235. $99.95 (hardback). Journal of Fluid Mechanics, 505, 378–379. https://doi.org/10.1017/s0022112004008201
  22. Singh, R., & Adhikari, R. (2020). PyStokes: phoresis and Stokesian hydrodynamics in Python. Journal of Open Source Software, 5(50), 2318. https://doi.org/10.21105/joss.02318
  23. Rostami, M. W., & Olson, S. D. (2016). Kernel-independent fast multipole method within the framework of regularized Stokeslets. Journal of Fluids and Structures, 67, 60–84. https://doi.org/10.1016/j.jfluidstructs.2016.07.006
  24. Smith, D. J. (2009). A boundary element regularized Stokeslet method applied to cilia- and flagella-driven flow. Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, 465(2112), 3605–3626. https://doi.org/10.1098/rspa.2009.0295
  25. Smith, D. J. (2018). A nearest-neighbour discretisation of the regularized stokeslet boundary integral equation. Journal of Computational Physics, 358, 88–102. https://doi.org/10.1016/j.jcp.2017.12.008

1–25 of 30