Poiseuille flow in axisymmetric coordinate test cases (2D, periodic or not)
This test case solves the 2D Poiseuille flow in a vertical cylinder at \( Re=100 (stationary flow test)\).
The aims of this test case is to validate the discretization of the Stokes / Navier-Stokes equations in a 2D axisymmetric coordinate \((r,y)\).
The radius and the height of cylinder are denoted by R and H respectively which are equal to \(0.5\) and \(0.5\). Therefore the axisymmetric domain is square, its opposite corner coordinates being \((0,0)\) and \((0.5,0.5)\).
We solve the Navier-Stokes equations on the whole domain.
The two following basic configurations are used:
flow in a straight circular pipe, where a slip boundary condition is set on the left boundary and a wall is set on the right one. If \( v_{mean} \) is the mean velocity, the velocity profile is given by:
\[ v(r) = 2 \ v_{mean} \ \left[ 1 -\left( \frac{r}{R} \right)^2 \right] \]
flow between two concentric circular pipes, where wall is set on the left and right boundary conditions and the velocity profile is given by:
\[ v(r) = 2 \ v_{mean} \ \left( ln(r/R_{1}) \frac{R^2-R_{1}^2}{ln(R/R_{1})} - r^2 + R_{1}^2 \right)/ \left( R_{1}^2+R^2-\frac{R^2-R_{1}^2}{ln(R/R_{1})} \right) \]
In both cases, the problem can be solved with periodic boundary conditions (the flow is forced with a pressure gradient put on the right-hand-side of \( v \) component of the Navier-stokes equation), or with an inlet bottom boundary condition and a Neumann one on the top boundary.
If periodic boundary conditions are used, the source term is set to:
\[ f = 8 \mu v_{mean}\ / R^2 \]
\[ f = 8 \ \mu v_{mean} \ / \left( R_{1}^2+R^2-\frac{R^2-R_{1}^2}{ln(R/R_{1})} \right) \]
Navier-Stokes equation is used with HYPRE or MUMPS solvers.
Second order spatial convergence is expected.
The advection term could not be discretized in this test case since it is equal to zero. Nevertheless, its activation allows to check its validity.
Spatial convergence is done thanks to a .json file.
Second order convergence is observed with \(L_\infty\), \(L_1\) or \(L_2\) norms and regular meshes. With periodic boundary condition, pressure is verified to be equal to \(0\) up to the computer precision as well as the components of the velocity \(v\).
2D results with inlet
Mesh | Velocity Linf error | Order | Velocity L1 error | Order | Velocity L2 error | Order |
---|---|---|---|---|---|---|
32 | 4.32439203e-04 | n/a | 2.60631280e-05 | n/a | 6.02079959e-05 | n/a |
64 | 1.15073707e-04 | +1.9099 | 6.56492131e-06 | +1.9892 | 1.52197897e-05 | +1.9840 |
128 | 2.96424837e-05 | +1.9568 | 1.64449644e-06 | +1.9971 | 3.81667003e-06 | +1.9956 |
256 | 7.51999248e-06 | +1.9789 | 4.11326116e-07 | +1.9993 | 9.54977398e-07 | +1.9988 |
512 | 1.89365456e-06 | +1.9895 | 1.02773099e-07 | +1.9998 | 2.38646084e-07 | +1.9997 |
Mesh | Velocity Linf error | Order | Velocity L1 error | Order | Velocity L2 error | Order |
---|---|---|---|---|---|---|
32 | 2.52918318e-03 | n/a | 8.62536890e-05 | n/a | 2.82352262e-04 | n/a |
64 | 6.65165490e-04 | +1.9269 | 2.17007893e-05 | +1.9908 | 7.11960770e-05 | +1.9876 |
128 | 1.70415286e-04 | +1.9647 | 5.43448216e-06 | +1.9975 | 1.78417116e-05 | +1.9965 |
256 | 4.31199626e-05 | +1.9826 | 1.35920045e-06 | +1.9994 | 4.46334135e-06 | +1.9991 |
512 | 1.08445420e-05 | +1.9914 | 3.39834474e-07 | +1.9999 | 1.11603033e-06 | +1.9997 |
2D results with periodicity
Mesh | Velocity Linf error | Order | Velocity L1 error | Order | Velocity L2 error | Order |
---|---|---|---|---|---|---|
32 | 4.88281250e-04 | n/a | 1.22070312e-04 | n/a | 2.44140624e-04 | n/a |
64 | 1.22070312e-04 | +2.0000 | 3.05175772e-05 | +2.0000 | 6.10351544e-05 | +2.0000 |
128 | 3.05175780e-05 | +2.0000 | 7.62939185e-06 | +2.0000 | 1.52587837e-05 | +2.0000 |
256 | 7.62939443e-06 | +2.0000 | 1.90734239e-06 | +2.0000 | 3.81468478e-06 | +2.0000 |
512 | 1.90734850e-06 | +2.0000 | 4.76819065e-07 | +2.0001 | 9.53638127e-07 | +2.0001 |
Mesh | Velocity Linf error | Order | Velocity L1 error | Order | Velocity L2 error | Order |
---|---|---|---|---|---|---|
32 | 2.73130531e-03 | n/a | 2.56693165e-04 | n/a | 6.87887027e-04 | n/a |
64 | 6.90469061e-04 | +1.9839 | 6.41867659e-05 | +1.9997 | 1.72017632e-04 | +1.9996 |
128 | 1.73579313e-04 | +1.9920 | 1.60475341e-05 | +1.9999 | 4.30072775e-05 | +1.9999 |
256 | 4.35155020e-05 | +1.9960 | 4.01193566e-06 | +2.0000 | 1.07519974e-05 | +2.0000 |
512 | 1.08939857e-05 | +1.9980 | 1.00298545e-06 | +2.0000 | 2.68800624e-06 | +2.0000 |