Consider steady-state one-dimensional flow along an inclined flat plane, with a position-dependent viscosity. The dimensionless coordinate x is measured from the surface of the plane, and flow is in the direction z along the plane. In dimensionless variables, the viscosity is given by μ/μ0 = 1 - α(1 - x)^2, which leads to the differential equation (1 - α(1 - x)^2) d^2v/dx^2 + 2α(1 - x) dv/dx + Ïg cosβ = 0, and the boundary conditions dv/dx = 0 at x = 1, v = 0 at x = 0. We will set up the FEM equations using piecewise linear trial functions, dividing the domain into 3 elements of equal length.
a) Re-write the differential equation in the form - d/dx[p(x) dv/dx] = f and derive the weak form similarly to the example done in class. The main difference will be that the second derivative yields the integral ∫ p(x)φi' φj' dx from 0 to 1, which will lead to the stiffness matrix.
b) Form the element stiffness matrices KeJI for this problem, with α = 0.5. You may use the Galerkin element matrices given in the class handout and apply them to the weak form of the differential equation. For a variable coefficient differential equation, the local element stiffness integral is approximated by ∫P(η)φI' φJ' dx from 0 to 1 = P(0.5) ∫φI' φJ' dη from 0 to 1.
c) Form the element RHS vector FeJ if Ïg cos(β) = 1; assemble the element stiffness matrices and RHS vectors into a system of algebraic equations for the unknown node values.
d) Solve the system of equations by any method available to you.