pyro.incompressible_viscous.problems package#
Submodules#
pyro.incompressible_viscous.problems.cavity module#
Initialize the lid-driven cavity problem. Run on a unit square with the top wall moving to the right with unit velocity, driving the flow. The other three walls are no-slip boundary conditions. The initial velocity of the fluid is zero.
Since the length and velocity scales are both 1, the Reynolds number is 1/viscosity.
References: https://doi.org/10.1007/978-3-319-91494-7_8 https://www.fluid.tuwien.ac.at/HendrikKuhlmann?action=AttachFile&do=get&target=LidDrivenCavity.pdf
pyro.incompressible_viscous.problems.converge module#
Initialize a smooth incompressible+viscous convergence test. Here, the velocities are initialized as
and the exact solution at some later time t, for some viscosity nu, is
The numerical solution can be compared to the exact solution to measure the convergence rate of the algorithm.
pyro.incompressible_viscous.problems.plot_cavity module#
pyro.incompressible_viscous.problems.shear module#
Initialize the doubly periodic shear layer (see, for example, Martin and Colella, 2000, JCP, 163, 271). This is run in a unit square domain, with periodic boundary conditions on all sides. Here, the initial velocity is: