22-Mec-B10 Finite Element Analysis · December 2013
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Paper format. National Examinations, December 2013 — 07-Mec-B10 Finite Element Analysis, 3 hours, open book (any textbooks, references or notes; any non-communicating calculator). Seven questions of equal value [20 marks each]; candidates attempt any five, and all questions are to be solved within the context of the finite element method. Every one of the seven questions is worked below, because the full set is more useful as a study resource than a five-question subset.
Reference texts. The worked answers below are keyed to the standard finite-element texts used for this subject:
Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.
A basis function is any member of a set of linearly independent functions that spans the approximation space in which the unknown field is sought. Writing the trial solution as a generalized expansion, $u(x)=\sum_{i} c_i\,\phi_i(x)$, the functions $\phi_i$ are the basis and the $c_i$ are generalized coordinates: they are pure algebraic multipliers with no physical identity. The monomials $1,\,x,\,x^2,\dots$ and the trigonometric set $\sin(n\pi x/L)$ are classic bases.
A shape function (interpolation function) is the particular basis obtained after the generalized coordinates have been eliminated in favour of the nodal values of the field variable, so that the approximation reads $u(x)=\sum_{i=1}^{n} N_i(x)\,u_i$ with $u_i$ the value of $u$ at node $i$. That elimination forces two properties that an arbitrary basis need not have: the Kronecker-delta (cardinal) property $N_i(\mathbf{x}_j)=\delta_{ij}$, and partition of unity $\sum_i N_i = 1$ over the element, which is what guarantees that a rigid-body (constant) field is reproduced exactly.
In short, every shape function is a basis function of the element space, but not every basis function is a shape function: the shape functions are the nodal basis of that same space, and the change from $\phi_i$ to $N_i$ is a change of basis, not a change of the approximation itself.
The two discretizations produce the identical algebraic system when the governing differential operator $\mathcal{L}$ is linear, self-adjoint and positive definite, so that a quadratic functional (a variational principle, e.g. total potential energy) exists whose Euler–Lagrange equation is the governing equation, and the same approximation functions — satisfying the same essential boundary conditions, with the natural boundary conditions carried in the weak form — are used in both methods.
The reason is structural: in the Bubnov–Galerkin method the weight functions are taken from the trial space itself ($w_j=N_j$), so the weighted-residual statement $\int_\Omega N_j\,\mathcal{R}\,d\Omega = 0$ is exactly the stationarity condition $\partial \Pi/\partial u_j = 0$ of the Ritz functional. If the operator is not self-adjoint — the convection term in an advection–diffusion problem is the standard counterexample — no such functional exists, Ritz is simply unavailable, and Galerkin (or a Petrov–Galerkin variant with different weights) must be used on its own.
In the h-version the polynomial order of the element interpolation is held fixed and accuracy is bought by reducing the element size $h$ — refining the mesh, either uniformly or, in an adaptive scheme, only where an a-posteriori error indicator is large. Convergence is algebraic, with the discretization error behaving as $\|e\| = O(h^{p})$ in the energy norm for a smooth solution.
In the p-version the mesh is held fixed and accuracy is bought by raising the polynomial degree $p$ of the element interpolation, normally through hierarchic shape functions so that the previously assembled equations are retained and only new rows and columns are appended. For a smooth solution the p-version converges exponentially in $p$, which is far faster than h-refinement, but it degenerates to algebraic convergence near a re-entrant corner or other singularity. The combined hp-version — h-refinement toward singularities, p-enrichment in smooth regions — recovers exponential convergence for the whole problem and is the basis of most modern adaptive codes.
The phenomenon is shear locking (also called parasitic shear). In a Timoshenko beam the two independent fields are the transverse displacement $w$ and the cross-section rotation $\theta$, and the transverse shear strain is the difference of a derivative of one field and the other field itself:
$$\gamma_{xz}=\frac{dw}{dx}-\theta ,\qquad \Pi=\frac{1}{2}\int_0^L EI\left(\frac{d\theta}{dx}\right)^{2}dx+\frac{1}{2}\int_0^L k_s GA\left(\frac{dw}{dx}-\theta\right)^{2}dx$$As the beam becomes slender the ratio $k_sGAL^{2}/EI$ grows without bound, so the shear term behaves as a numerical penalty that drives the discrete $\gamma_{xz}$ to zero at every integration point. If the polynomial space of $dw/dx$ does not coincide with the polynomial space of $\theta$, that penalty cannot be satisfied by the shear mode alone — it must also annihilate part of the bending mode. The element then carries spurious shear energy in what should be pure bending, is far too stiff, and the computed deflection creeps toward the correct answer only as the mesh is refined enormously: exactly the “very slow convergence” being reported.
The requirement violated is field consistency: $dw/dx$ and $\theta$ must be of the same polynomial order, so $w$ must be interpolated one order higher than $\theta$. Any of the following resolves the problem, and they are ranked here by how commonly they appear in production codes:
Check: The pairing quoted in the question — quadratic $w$ with linear $\theta$ — is, if assembled consistently, the field-consistent pairing, because a quadratic $w$ has a linear $dw/dx$ that matches a linear $\theta$. A correctly implemented consistent-interpolation element with this pairing does not lock. The reported symptom therefore means the element is only nominally of that form: in practice the quadratic $w$ is being used without condensing its interior degree of freedom against the rotation field, or a mid-side rotation degree of freedom has silently raised $\theta$ to quadratic so that $dw/dx$ (linear) and $\theta$ (quadratic) no longer match. Either way the diagnosis and every remedy listed above are unchanged; state this reading as an assumption, as the paper’s instruction 1 invites.
| Part | Answer |
|---|---|
| (a) | Basis = any spanning set with generalized coefficients; shape function = the nodal basis, $N_i(\mathbf{x}_j)=\delta_{ij}$ and $\sum N_i=1$ |
| (b) | Operator linear, self-adjoint, positive definite (a functional exists) and the same admissible trial functions used — then Galerkin $\equiv$ Ritz |
| (c) | h-version: fix $p$, refine $h$, error $O(h^{p})$. p-version: fix mesh, raise $p$, exponential convergence for smooth fields |
| (d) | Shear locking (parasitic shear); resolve by reduced/selective integration, consistent or interdependent interpolation, mixed/assumed-strain elements, or p-refinement |