<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <link rel="stylesheet" href="/dopamine/assets/css/just-the-docs-default.css"> <link rel="stylesheet" href="/dopamine/assets/css/just-the-docs-head-nav.css" id="jtd-head-nav-stylesheet"> <style id="jtd-nav-activation"> .site-nav ul li a { background-image: none; } </style> <script src="/dopamine/assets/js/vendor/lunr.min.js"></script> <script src="/dopamine/assets/js/just-the-docs.js"></script> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Begin Jekyll SEO tag v2.8.0 --> <title>DOPAMINE | DOPAMINE — Discrete Operator-based Parallel Algorithm for Modeling Incompressible Navier-Stokes Equations. Theory, usage, and development documentation.</title> <meta name="generator" content="Jekyll v3.10.0" /> <meta property="og:title" content="DOPAMINE" /> <meta property="og:locale" content="en_US" /> <meta name="description" content="DOPAMINE — Discrete Operator-based Parallel Algorithm for Modeling Incompressible Navier-Stokes Equations. Theory, usage, and development documentation." /> <meta property="og:description" content="DOPAMINE — Discrete Operator-based Parallel Algorithm for Modeling Incompressible Navier-Stokes Equations. Theory, usage, and development documentation." /> <link rel="canonical" href="https://akshaypatil1994.github.io/dopamine/assets/css/just-the-docs-head-nav.css" /> <meta property="og:url" content="https://akshaypatil1994.github.io/dopamine/assets/css/just-the-docs-head-nav.css" /> <meta property="og:site_name" content="DOPAMINE" /> <meta property="og:type" content="website" /> <meta name="twitter:card" content="summary" /> <meta property="twitter:title" content="DOPAMINE" /> <script type="application/ld+json"> {"@context":"https://schema.org","@type":"WebPage","description":"DOPAMINE — Discrete Operator-based Parallel Algorithm for Modeling Incompressible Navier-Stokes Equations. Theory, usage, and development documentation.","headline":"DOPAMINE","url":"https://akshaypatil1994.github.io/dopamine/assets/css/just-the-docs-head-nav.css"}</script> <!-- End Jekyll SEO tag --> <!-- SPDX-FileCopyrightText: 2026 DOPAMINE contributors --> <!-- SPDX-License-Identifier: AGPL-3.0-only --> <!-- MathJax for $...$ / $$...$$ equations in theory.md and usage.md. --> <script> MathJax = { tex: { inlineMath: [['$', '$'], ['\\(', '\\)']], displayMath: [['$$', '$$'], ['\\[', '\\]']] } }; </script> <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.2/es5/tex-mml-chtml.min.js"></script> <!-- Client-side rendering of pandoc-style [@key] citations (no citeproc on GitHub Pages). --> <script> window.DOPAMINE_REFERENCES = {"williamson1980":{"authors":"J. H. Williamson","title":"Low-storage Runge-Kutta schemes","venue":"Journal of Computational Physics, vol. 35, no. 1, pp. 48-56","year":1980,"doi":"10.1016/0021-9991(80)90033-9"},"chorin1968":{"authors":"A. J. Chorin","title":"Numerical solution of the Navier-Stokes equations","venue":"Mathematics of Computation, vol. 22, no. 104, pp. 745-762","year":1968,"doi":"10.1090/S0025-5718-1968-0242392-2"},"kim1985":{"authors":"J. Kim and P. Moin","title":"Application of a fractional-step method to incompressible Navier-Stokes equations","venue":"Journal of Computational Physics, vol. 59, no. 2, pp. 308-323","year":1985,"doi":"10.1016/0021-9991(85)90148-2"},"perot1993":{"authors":"J. B. Perot","title":"An analysis of the fractional step method","venue":"Journal of Computational Physics, vol. 108, no. 1, pp. 51-58","year":1993,"doi":"10.1006/jcph.1993.1162"},"morinishi1998":{"authors":"Y. Morinishi, T. S. Lund, O. V. Vasilyev, and P. Moin","title":"Fully conservative higher order finite difference schemes for incompressible flow","venue":"Journal of Computational Physics, vol. 143, no. 1, pp. 90-124","year":1998,"doi":"10.1006/jcph.1998.5962"},"verstappen2003":{"authors":"R. Verstappen and A. Veldman","title":"Symmetry-preserving discretization of turbulent flow","venue":"Journal of Computational Physics, vol. 187, no. 1, pp. 343-368","year":2003,"doi":"10.1016/S0021-9991(03)00126-8"},"vanleer1974":{"authors":"B. van Leer","title":"Towards the ultimate conservative difference scheme. II. Monotonicity and conservation combined in a second-order scheme","venue":"Journal of Computational Physics, vol. 14, no. 4, pp. 361-370","year":1974,"doi":"10.1016/0021-9991(74)90019-9"},"sweby1984":{"authors":"P. K. Sweby","title":"High resolution schemes using flux limiters for hyperbolic conservation laws","venue":"SIAM Journal on Numerical Analysis, vol. 21, no. 5, pp. 995-1011","year":1984,"doi":"10.1137/0721062"},"koren1993":{"authors":"B. Koren","title":"A Robust Upwind Discretization Method for Advection, Diffusion and Source Terms","venue":"Centrum voor Wiskunde en Informatica, report NM-R9308","year":1993},"leonard1979":{"authors":"B. P. Leonard","title":"A stable and accurate convective modelling procedure based on quadratic upstream interpolation","venue":"Computer Methods in Applied Mechanics and Engineering, vol. 19, no. 1, pp. 59-98","year":1979,"doi":"10.1016/0045-7825(79)90034-3"},"jasak1996":{"authors":"H. Jasak","title":"Error Analysis and Estimation for the Finite Volume Method with Applications to Fluid Flows","venue":"PhD thesis, Imperial College London","year":1996},"moukalled2016":{"authors":"F. Moukalled, L. Mangani, and M. Darwish","title":"The Finite Volume Method in Computational Fluid Dynamics: An Advanced Introduction with OpenFOAM and Matlab","venue":"Springer","year":2016,"doi":"10.1007/978-3-319-16874-6"},"vreman2004":{"authors":"B. Vreman","title":"An eddy-viscosity subgrid-scale model for turbulent shear flow: Algebraic theory and applications","venue":"Physics of Fluids, vol. 16, no. 10, pp. 3670-3681","year":2004,"doi":"10.1063/1.1785131"},"germano1991":{"authors":"M. Germano, U. Piomelli, P. Moin, and W. H. Cabot","title":"A dynamic subgrid-scale eddy viscosity model","venue":"Physics of Fluids A, vol. 3, no. 7, pp. 1760-1765","year":1991,"doi":"10.1063/1.857955"},"lilly1992":{"authors":"D. K. Lilly","title":"A proposed modification of the Germano subgrid-scale closure method","venue":"Physics of Fluids A, vol. 4, no. 3, pp. 633-635","year":1992,"doi":"10.1063/1.858280"},"piomelli2002":{"authors":"U. Piomelli and E. Balaras","title":"Wall-layer models for large-eddy simulations","venue":"Annual Review of Fluid Mechanics, vol. 34, no. 1, pp. 349-374","year":2002,"doi":"10.1146/annurev.fluid.34.082901.144919"},"monin1954":{"authors":"A. S. Monin and A. M. Obukhov","title":"The basic laws of turbulent mixing in the ground layer of the atmosphere","venue":"Trudy Geofiz. Inst., Akad. Nauk. SSSR, vol. 24, no. 151, pp. 163-187","year":1954},"businger1971":{"authors":"J. A. Businger, J. C. Wyngaard, Y. Izumi, and E. F. Bradley","title":"Flux-profile relationships in the atmospheric surface layer","venue":"Journal of the Atmospheric Sciences, vol. 28, no. 2, pp. 181-189","year":1971,"doi":"10.1175/1520-0469(1971)028<0181:FPRITA>2.0.CO;2"},"poletto2013":{"authors":"R. Poletto, T. Craft, and A. Revell","title":"A new divergence free synthetic eddy method for the reproduction of inlet flow conditions for LES","venue":"Flow, Turbulence and Combustion, vol. 91, no. 3, pp. 519-539","year":2013,"doi":"10.1007/s10494-013-9488-2"},"davies1976":{"authors":"H. C. Davies","title":"A lateral boundary formulation for multi-level prediction models","venue":"Quarterly Journal of the Royal Meteorological Society, vol. 102, no. 432, pp. 405-418","year":1976,"doi":"10.1002/qj.49710243210"},"bader2012":{"authors":"M. Bader","title":"Space-Filling Curves: An Introduction with Applications in Scientific Computing","venue":"Springer","year":2012,"doi":"10.1007/978-3-642-31046-1"},"balay2021petsc":{"authors":"S. Balay and others","title":"PETSc/TAO Users Manual","venue":"Argonne National Laboratory Report ANL-21/39 - Revision 3.16","year":2021,"doi":"10.2172/2205494"}}; </script> <script src="/dopamine/assets/js/citations.js"></script> </head> <body> <a class="skip-to-main" href="#main-content">Skip to main content</a> <svg xmlns="http://www.w3.org/2000/svg" class="d-none"> <symbol id="svg-link" viewBox="0 0 24 24"> <title>Link</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-link"> <path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path> </svg> </symbol> <symbol id="svg-menu" viewBox="0 0 24 24"> <title>Menu</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu"> <line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line> </svg> </symbol> <symbol id="svg-arrow-right" viewBox="0 0 24 24"> <title>Expand</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"> <polyline points="9 18 15 12 9 6"></polyline> </svg> </symbol> <!-- Feather. MIT License: https://github.com/feathericons/feather/blob/master/LICENSE --> <symbol id="svg-external-link" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-external-link"> <title id="svg-external-link-title">(external link)</title> <path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line> </symbol> <symbol id="svg-doc" viewBox="0 0 24 24"> <title>Document</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file"> <path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline> </svg> </symbol> <symbol id="svg-search" viewBox="0 0 24 24"> <title>Search</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"> <circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line> </svg> </symbol> <!-- Bootstrap Icons. MIT License: https://github.com/twbs/icons/blob/main/LICENSE.md --> <symbol id="svg-copy" viewBox="0 0 16 16"> <title>Copy</title> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clipboard" viewBox="0 0 16 16"> <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/> <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z"/> </svg> </symbol> <symbol id="svg-copied" viewBox="0 0 16 16"> <title>Copied</title> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clipboard-check-fill" viewBox="0 0 16 16"> <path d="M6.5 0A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3Zm3 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3Z"/> <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1A2.5 2.5 0 0 1 9.5 5h-3A2.5 2.5 0 0 1 4 2.5v-1Zm6.854 7.354-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 0 1 .708-.708L7.5 10.793l2.646-2.647a.5.5 0 0 1 .708.708Z"/> </svg> </symbol> </svg> <header class="side-bar"> <div class="site-header"> <a href="/dopamine/" class="site-title lh-tight"> DOPAMINE </a> <button id="menu-button" class="site-button btn-reset" aria-label="Menu" aria-expanded="false"> <svg viewBox="0 0 24 24" class="icon" aria-hidden="true"><use xlink:href="#svg-menu"></use></svg> </button> </div> <nav aria-label="Main" id="site-nav" class="site-nav"> <ul class="nav-list"><li class="nav-list-item"><a href="/dopamine/" class="nav-list-link">Home</a></li><li class="nav-list-item"><a href="/dopamine/theory.html" class="nav-list-link">Theory</a></li><li class="nav-list-item"><a href="/dopamine/usage.html" class="nav-list-link">Usage</a></li><li class="nav-list-item"><a href="/dopamine/development.html" class="nav-list-link">Development</a></li></ul> </nav> <div class="d-md-block d-none site-footer"> This site uses <a href="https://github.com/just-the-docs/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll. </div> </header> <div class="main" id="top"> <div id="main-header" class="main-header"> <div class="search" role="search"> <div class="search-input-wrap"> <input type="text" id="search-input" class="search-input" tabindex="0" placeholder="Search DOPAMINE" autocomplete="off"> <label for="search-input" class="search-label"> <span class="sr-only">Search DOPAMINE</span> <svg viewBox="0 0 24 24" class="search-icon" aria-hidden="true"><use xlink:href="#svg-search"></use></svg> </label> </div> <div id="search-results" class="search-results"></div> </div> <nav aria-label="Auxiliary" class="aux-nav"> <ul class="aux-nav-list"> <li class="aux-nav-list-item"> <a href="https://github.com/AkshayPatil1994/dopamine" class="site-button" > DOPAMINE on GitHub </a> </li> </ul> </nav> </div> <div class="main-content-wrap"> <div id="main-content" class="main-content"> <main> </main> <hr> <footer> <p><a href="#top" id="back-to-top">Back to top</a></p> <p class="text-small mb-0">DOPAMINE is licensed under AGPL-3.0-only. See <a href="https://github.com/AkshayPatil1994/dopamine/blob/main/LICENSE">LICENSE</a>.</p> <div class="d-md-none mt-4 fs-2"> This site uses <a href="https://github.com/just-the-docs/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll. </div> </footer> </div> </div> <div class="search-overlay"></div> </div> </body> </html>
