<!DOCTYPE html>
(9.1) |
where represents the kinematic viscosity. For incompressible flow, the mass conservation equation is:
(9.2) |
Consider the channel illustrated in figure LABEL:Fi:C6S1ShowPoseuille. Initially, for , the velocities are everywhere zero. At the pressure difference across the channel is set equal to one. How does the velocity change? The solution to the steady flow problem has been described in Chapter 6, where the axial velocity is show to vary parabolically across the width of the channel (equation 6.5)
Batchelor, Chap 4, pp 193-194, shows that equation 9.1 can be made homogeneous by introducing a new dependent variable:
(9.3) |
Look for a solution where is everywhere zero, so that is independent of , the equation for is:
(9.4) |
Solutions of the form
(9.5) |
exist so long as:
(9.6) |
The constants are determined by the initial condition:
(9.7) |
The analytic solution is then:
(9.8) |
This solution is illustrated in figure 9.1.
The weak form of equations 9.1 through 9.2 can be written
(9.9) |
(9.10) |
(9.11) |
The system of constrained global equations can be written as:
For linear TF, the stiffness matrix is given by equation 6.16. In this case the gradient matrices are the same: and .
Since the pressure is specified at the boundaries, there is no ambiguity regarding the mean presseure nor any need for imposing a constraint. In matrix form equations 6.10 through 6.12 are
(9.12) |
where is the usual mass matrix. The zero in the lower right corner of the left lost matrix remains a concern, notably when the transient problem is forced by velocity.
The trapezoidal is adopted as a scheme to step the equations forward in time.
Consider the grid illustrated in figure LABEL:Fi:C4S2simplegrid. The grid has 9 nodes; there are three variables: and . the total number of variabless is of which are prescribed at the boundaries (six BC on both and and six more on ) and variables are unknown. The problem for the unknown variables is then:
The solution is compared with the analytical solution on figure 9.1. The agreement is excelent.
If the preceeding scheme were applied to the situation where pressure is unknown everywhere, but the velocity is given on three of the four boundaries, there would be four unknown velocities (two and two ) and nine unknown . Just as was found in chapter 6, it is possible to show that if the number of unknown pressure values exceeds the total number of unknown velocities, the matrix is singular. The accepted solution is to use different order polynomials for velocity (e.g. quadratic polynomials) and for pressure (linear polynomials). In this case the matrix form is:
(9.13) |
where now the s and are no longer the same, and a constraint is included on the mean pressure.
Consider now the reverse of the problem described in 9.2.1: Poiseuille flow is built up by increasing the velocity at the boundary according to equation 9.8. The computed pressure constant shoul be constant in time.
Just refer to Chap 6 figure2.
Any element has three vertices, where pressure is evaluared and a total of six nodes where the velocity is evaluated: the three vertices supplemented by three mid-point along the element boundaries.
Even with this scheme in place, the pressure is only determined to within a constant which would still cause the matrix to be singular. This problem has been encountered in Chapter 4. It can be dealt with by adding a Lagrange multiplier to the problem, as discussed in Chapter 4, section 4.3.1. The global problem can now be written
(9.14) |
Equation LABEL:sec:C9S2:DBC is discretized through the trapezoidal rule:
(9.15) |
(9.16) |
Define response time.This response time determined by speed of sound.
Read: https://en.wikipedia.org/wiki/Stiff_equation
Consider a damped spring-mass system:
(9.17) |
where the spring constant and the damping coefficient are lage and nearly equal. Maxima gives the solution as:
(9.18) |
To step equation 9.17, rewrite it as a system of two first order ODE’s:
(9.19) |
If the trapezoidal rule is used to discretize in time, The system of equations is
(9.20) |
The result is illustrated id figure xx (blue line). The time step, is selcted on the basis that except for a very small time initially, the solution is expected to decay as . The initial large oscillations of the derivative are sometimes referred to as ringing. This behavior is symtomatic of stiff11 1 no relation to the stiffness matris described elsewhere problems. To understand what is happening, consider the one step growth factor called in Strang’s book. Need For Trapezoidal, if
(9.21) |