Examples
The examples directory contains several examples on how to use TransiFlow.
They do this based on a certain problem definition, but in theory, all examples are useful for any problem definition.
On this page, we give an overview of what every example is supposed to demonstrate.
ldc.pyThe most basic example that shows the detection of a bifurcation point in a 2D lid-driven cavity, and computes the eigenvector at that point.
ldc2.pyAn example that goes more into detail on how to compute generalized eigenvalues and eigenvectors for the problem definition.
ldc3.pyAn example that shows how to perform time integration. This may for instance be useful when computing periodic orbits after a Hopf-Bifurcation.
ldc3_3d.pyAn example that shows how to use a parallel back-end (HYMLS in this case) for a 3D problem.
dhc.pyEssentially the same as
ldc.pybut now for a differentially heated cavity, meaning this now includes temperature.qg.pyAn example that shows how to move onto a stable branch after a pitchfork bifurcation by adding asymmetry to the problem.
amoc.pyA more advanced version of
qg.pywith added temperature and salinity and more advanced post-processing.