Legacy Tutorials and Demos
--------------------------

This is the legacy suite of tutorials and demos for *lbmpy*.
For an introduction to the latest generation of lbmpy's APIs, please refer to
`The pycodegen Tutorial <https://pycodegen.walberla.net/tutorial/>`_ instead.

=================
Basics
=================

.. toctree::
    :maxdepth: 1

    /notebooks/00_tutorial_lbmpy_walberla_overview.ipynb
    /notebooks/01_tutorial_predefinedScenarios.ipynb
    /notebooks/02_tutorial_boundary_setup.ipynb
    /notebooks/03_tutorial_lbm_formulation.ipynb
    /notebooks/04_tutorial_cumulant_LBM.ipynb
    /notebooks/05_tutorial_nondimensionalization_and_scaling.ipynb

===================
Turbulence modeling
===================

.. toctree::
    :maxdepth: 1

    /notebooks/06_tutorial_modifying_method_smagorinsky.ipynb

=================
Thermal flows
=================

.. toctree::
    :maxdepth: 1

    /notebooks/07_tutorial_thermal_lbm.ipynb
    /notebooks/demo_thermalized_lbm.ipynb

=================
Multiphase flows
=================

.. toctree::
    :maxdepth: 1

    /notebooks/08_tutorial_shanchen_twophase.ipynb
    /notebooks/09_tutorial_shanchen_twocomponent.ipynb
    /notebooks/10_tutorial_conservative_allen_cahn_two_phase.ipynb

========================
Thermocapillary flows
========================

.. toctree::
    :maxdepth: 1

    /notebooks/12_Thermocapillary_flows_heated_channel.ipynb
    /notebooks/13_Thermocapillary_flows_droplet_motion.ipynb

===================
Non Newtonian flow
===================

.. toctree::
    :maxdepth: 1

    /notebooks/11_tutorial_Non_Newtonian_Flow.ipynb

=================
Diverse
=================

.. toctree::
    :maxdepth: 1

    /notebooks/demo_stencils.ipynb
    /notebooks/demo_streaming_patterns.ipynb
    /notebooks/demo_create_method_from_scratch.ipynb
    /notebooks/demo_moments_cumulants_and_maxwellian_equilibrium.ipynb
    /notebooks/demo_automatic_chapman_enskog_analysis.ipynb
    /notebooks/demo_interpolation_boundary_conditions.ipynb
    /notebooks/demo_shallow_water_lbm.ipynb
    /notebooks/demo_theoretical_background_generic_equilibrium_construction.ipynb
