web counter

A First Course in Finite Element Method Logan Explained

macbook

A First Course in Finite Element Method Logan Explained

A first course in finite element method logan introduces the foundational concepts of this powerful numerical technique, setting the stage for understanding how complex engineering and scientific problems are tackled. This exploration delves into the core principles that underpin the finite element method, as laid out in Logan’s seminal work, providing a clear pathway for grasping its fundamental application.

We will navigate through the essential stages of FEM, from the initial discretization of continuous domains into manageable elements to the sophisticated mathematical formulations that enable problem-solving. The journey will cover the derivation of governing equations, the transformation into weak forms, and the practical steps of assembling global systems, all while highlighting the practical motivations driving FEM’s widespread adoption in various technical fields.

Introduction to Finite Element Method (FEM) as presented in Logan’s work

A First Course in Finite Element Method Logan Explained

Logan’s “A First Course in Finite Element Method” provides a foundational understanding of the Finite Element Method (FEM), a powerful numerical technique used to approximate solutions to complex engineering and scientific problems. The book systematically introduces the core principles and methodologies that underpin this versatile tool.The essence of FEM lies in its ability to discretize a continuous physical domain into a finite number of smaller, simpler subdomains called finite elements.

By analyzing the behavior of these individual elements and assembling their contributions, an approximate solution for the entire domain can be obtained. This approach is particularly effective for problems involving complex geometries, varied material properties, and intricate boundary conditions, which are often intractable with analytical methods.

Fundamental Principles of the Finite Element Method

The methodology of FEM is built upon a set of fundamental principles that guide the transformation of a continuous problem into a solvable discrete form. These principles ensure that the approximations made are systematic and lead to accurate results.The core idea is to represent the unknown physical quantities (like displacement, temperature, or stress) within each element using simple approximating functions, typically polynomials.

These functions are defined in terms of nodal values, which are the values of the unknown quantity at specific points (nodes) on the element. The governing differential equations of the problem are then reformulated in an integral or weak form. This weak form allows for less stringent continuity requirements on the solution compared to the strong form, making it suitable for numerical approximation.

The process involves applying variational principles or weighted residual methods to derive element equations, which are then assembled into a global system of equations representing the entire domain.

Core Concepts in Logan’s “A First Course in Finite Element Method”

Logan’s introductory text meticulously details the essential concepts required to grasp FEM. The book emphasizes a step-by-step approach, making the learning curve manageable for beginners.Key concepts introduced include:

  • Discretization: The process of dividing the continuous domain into a mesh of finite elements. This involves defining nodes and elements, and establishing connectivity.
  • Element Formulation: Developing the mathematical relationships (stiffness matrices, load vectors) that describe the behavior of an individual element. This often involves the use of shape functions.
  • Shape Functions: Polynomial functions used to interpolate the unknown variable within an element based on its nodal values. These functions are crucial for relating nodal displacements to strains and stresses.
  • Assembly Process: Combining the individual element equations into a global system of equations that represents the entire structure or domain. This involves mapping element degrees of freedom to global degrees of freedom.
  • Boundary Conditions: Applying constraints and loads to the global system of equations to accurately represent the physical problem.
  • Solution of Global Equations: Solving the resulting system of algebraic equations to obtain the nodal values of the unknown quantity.
  • Post-processing: Calculating derived quantities such as strains, stresses, or heat fluxes from the nodal solutions.

Typical Structure of Introductory FEM Chapters and Logan’s Approach

Introductory chapters in FEM textbooks, including Logan’s, generally follow a logical progression to build a solid understanding from the ground up. Logan’s approach is characterized by its clarity and focus on practical application.The typical structure often includes:

  • A general introduction to numerical methods and the motivation for using FEM.
  • The mathematical basis for FEM, often starting with simple one-dimensional problems.
  • Detailed explanation of the steps involved in FEM analysis.
  • Examples illustrating the application of FEM to different types of problems.

Logan’s book, for instance, typically begins with a review of relevant mathematics, then moves to the one-dimensional bar and beam elements. This progression allows students to master the fundamental concepts in a simplified setting before tackling more complex two- and three-dimensional problems. The emphasis is on understanding the underlying physics and the numerical implementation rather than just memorizing formulas.

Primary Motivations for Using FEM in Engineering and Scientific Disciplines

The widespread adoption of FEM across various engineering and scientific fields is driven by its ability to address problems that are otherwise too complex or impossible to solve analytically. Logan highlights these key motivations.The primary reasons for employing FEM include:

  • Handling Complex Geometries: FEM can easily model structures with irregular shapes, curved boundaries, and intricate details, which are common in real-world engineering designs.
  • Accommodating Material Heterogeneity: The method allows for the analysis of structures made from different materials or materials with varying properties across the domain.
  • Incorporating Diverse Boundary Conditions: FEM can readily incorporate various types of loads, supports, and thermal conditions, enabling accurate simulations of real-world scenarios.
  • Solving Complex Governing Equations: Many physical phenomena are described by partial differential equations that do not have simple analytical solutions. FEM provides a robust numerical approach to approximate these solutions.
  • Predicting Behavior Under Various Conditions: FEM enables engineers to simulate and predict how a structure or system will behave under different operating conditions, allowing for design optimization and failure analysis.
  • Cost and Time Efficiency: While initial setup can be involved, FEM simulations can significantly reduce the need for extensive physical prototyping and testing, leading to cost and time savings in the design process.

For example, in the aerospace industry, FEM is indispensable for analyzing the structural integrity of aircraft components under extreme loads and temperatures. Similarly, in biomechanics, it is used to simulate the behavior of human tissues and organs under stress, aiding in the design of prosthetics and medical devices. The ability to perform “virtual testing” is a significant advantage.

Discretization and Element Formulation

What is First?

The Finite Element Method (FEM) begins by transforming a continuous problem domain into a collection of smaller, interconnected subdomains known as finite elements. This process, called discretization, allows us to approximate the complex behavior of the original domain with a simpler, piecewise representation. The accuracy of the FEM solution is heavily influenced by how well this discretization captures the essential characteristics of the problem and how effectively the behavior within each element is modeled.This fundamental step is crucial because it converts a problem that might be analytically intractable into a system of algebraic equations that can be solved numerically.

The choice of elements and the way they are connected dictates the degrees of freedom and the overall structure of the system of equations, directly impacting the computational cost and the accuracy of the results.

Element Shapes and Characteristics

The selection of element shapes is guided by the geometry of the problem domain and the desired accuracy. Common element shapes are chosen for their mathematical tractability and their ability to conform to various geometries.Common element shapes include:

  • Triangles: Often used in 2D problems, triangles are the simplest polygonal elements. They can be linear (with nodes only at the vertices) or quadratic (with additional nodes at the midpoints of edges). Linear triangles are straightforward to formulate but may require a finer mesh for accurate results, especially in areas with significant gradients.
  • Quadrilaterals: Also used in 2D, quadrilaterals offer a higher order of approximation than triangles for the same number of nodes, potentially leading to more efficient meshes. They can be linear (four corner nodes) or quadratic (with additional nodes on edges and sometimes at the center).
  • Tetrahedrons: These are the 3D analogues of triangles, forming the simplest volumetric elements. Like triangles, they can be linear or quadratic.
  • Hexahedrons: The 3D counterparts to quadrilaterals, offering a more refined approximation for volumetric problems.

The characteristics of these elements, such as the number of nodes, the type of interpolation used, and their connectivity, are vital for formulating the element stiffness matrices and load vectors.

Shape Functions for Solution Approximation

Within each finite element, the unknown field variable (e.g., displacement, temperature) is approximated using a set of functions called shape functions, also known as interpolation functions. These functions are defined locally within each element and are typically expressed in terms of nodal values of the unknown variable. The key role of shape functions is to interpolate the solution within the element based on the values at its nodes.The process involves:

  1. Defining the Element Geometry: Each element is defined by a set of nodal coordinates.
  2. Selecting the Interpolation Polynomial: A polynomial of a certain degree is chosen to approximate the behavior of the field variable within the element. The degree of the polynomial is related to the number of nodes in the element.
  3. Formulating the Shape Functions: Shape functions, denoted by $N_i$, are derived such that $N_i$ is equal to 1 at node $i$ and 0 at all other nodes of the element. The field variable $u$ within an element can then be expressed as a linear combination of the nodal values $u_i$ and the shape functions: $u(x) \approx \sum_i=1^n N_i(x) u_i$, where $n$ is the number of nodes in the element.

The accuracy of the approximation depends on the choice of shape functions and the element size. Higher-order shape functions can capture more complex variations of the field variable, potentially leading to more accurate results with fewer elements.

Simple 1D Bar Element Formulation

Let’s consider the formulation of a simple one-dimensional bar element. This element is used to model axial behavior, such as stretching or compression. The formulation involves defining the element, approximating the displacement within it, and deriving the element stiffness matrix.The steps for formulating a simple 1D bar element are as follows:

  1. Element Definition: A 1D bar element is defined by two nodes, typically located at positions $x_1$ and $x_2$. The length of the element is $L = x_2 – x_1$. The displacement field within the bar is denoted by $u(x)$.
  2. Displacement Approximation: We assume a linear variation of displacement within the element. This means we use linear shape functions. For an element with two nodes, we need two shape functions.

    The displacement within the element $u(x)$ can be approximated as: $u(x) \approx N_1(x) u_1 + N_2(x) u_2$, where $u_1$ and $u_2$ are the nodal displacements at nodes 1 and 2, respectively.

    The linear shape functions are derived as:$N_1(x) = 1 – \fracx – x_1L$$N_2(x) = \fracx – x_1L$Note that $N_1(x_1) = 1$, $N_1(x_2) = 0$, $N_2(x_1) = 0$, and $N_2(x_2) = 1$.

  3. Strain-Displacement Relationship: For a 1D bar element, the axial strain $\epsilon$ is the derivative of the displacement with respect to $x$:

    $\epsilon(x) = \fracdudx$

    Substituting the approximation for $u(x)$:$\epsilon(x) = \fracddx (N_1(x) u_1 + N_2(x) u_2) = \fracdN_1dx u_1 + \fracdN_2dx u_2$The derivatives of the shape functions are:$\fracdN_1dx = -\frac1L$$\fracdN_2dx = \frac1L$So, $\epsilon(x) = -\frac1L u_1 + \frac1L u_2 = \frac1L (u_2 – u_1)$.

  4. Stress-Strain Relationship (Constitutive Law): For a linear elastic material, the axial stress $\sigma$ is related to the strain by Young’s modulus $E$:

    $\sigma(x) = E \epsilon(x)$

    Substituting the expression for strain:$\sigma(x) = E \frac1L (u_2 – u_1)$

  5. Element Stiffness Matrix Derivation: The element stiffness matrix $[k_e]$ relates the nodal forces $\f_e\$ to the nodal displacements $\u_e\$. The relationship is $\f_e\ = [k_e] \u_e\$. The nodal forces are obtained by integrating the stress over the element’s cross-sectional area $A$.The force at node 1 is $f_1 = \int_0^L \sigma(x) N_1(x) A dx$ and at node 2 is $f_2 = \int_0^L \sigma(x) N_2(x) A dx$.This can be expressed in matrix form: $\f_e\ = \int_V [B]^T [D] [B] dV \u_e\$, where $[B]$ is the strain-displacement matrix and $[D]$ is the material property matrix.

    For 1D, $[D] = E$ and $[B] = \fracddx[N]$, where $[N] = [N_1, N_2]$.So, $[B] = [-\frac1L, \frac1L]$.The element stiffness matrix is then:$[k_e] = \int_0^L [B]^T [D] [B] A dx = \int_0^L \beginbmatrix -\frac1L \\ \frac1L \endbmatrix E \beginbmatrix -\frac1L & \frac1L \endbmatrix A dx$$[k_e] = \fracAEL \int_0^L \beginbmatrix 1 & -1 \\ -1 & 1 \endbmatrix dx$Performing the integration:$[k_e] = \fracAEL \beginbmatrix 1 & -1 \\ -1 & 1 \endbmatrix$

This resulting matrix is the stiffness matrix for a simple 1D bar element. It represents the stiffness of the element in resisting axial deformation. The global stiffness matrix for the entire structure is assembled by summing the stiffness matrices of individual elements.

Governing Equations and Weak Formulations

First (adv) : Thứ nhất, đầu tiên, trước hết

In our journey through the Finite Element Method, we have understood the essence of discretization and how we break down complex domains into simpler elements. Now, we turn our attention to the fundamental principles that govern the physical phenomena we aim to model and how we translate these principles into a form amenable to our discrete approach. This involves understanding the underlying mathematical equations that describe physical behavior and then transforming them into a more flexible format.The governing differential equations are the bedrock upon which any numerical simulation is built.

They are mathematical expressions that capture the fundamental laws of physics governing a particular problem, such as heat transfer, fluid flow, or structural mechanics. These equations, often expressed in terms of partial derivatives, describe how quantities like temperature, velocity, or displacement change over space and time. For instance, in heat conduction, the governing equation might be Fourier’s Law, which relates the heat flux to the temperature gradient, and the principle of energy conservation.

Similarly, for structural mechanics, the equilibrium equations, derived from Newton’s laws of motion and material constitutive relations, form the governing differential equations.

Derivation of Governing Differential Equations

The derivation of governing differential equations for various physical phenomena is a rigorous process rooted in fundamental physical principles and conservation laws. These laws, such as conservation of mass, momentum, and energy, are applied to a representative infinitesimal control volume or region within the physical domain. By carefully accounting for fluxes across the boundaries of this control volume and any sources or sinks within it, and by applying appropriate constitutive relations that link different physical quantities, we arrive at differential equations that describe the behavior of the system.For example, consider the steady-state heat conduction problem in one dimension.

The conservation of energy principle states that the net rate of heat flow into any region must be zero in a steady state. Applying this to an infinitesimal segment dx, we have:

Heat flow in at x – Heat flow out at x+dx = 0

Using Fourier’s Law, which states that heat flux (q) is proportional to the negative temperature gradient ($q = -k \fracdTdx$), and considering that heat flow is flux multiplied by area (A), we get:

$A q(x)

A q(x+dx) = 0$

Substituting Fourier’s Law:

$-A k \fracdTdx|_x – (-A k \fracdTdx|_x+dx) = 0$

This simplifies to:

$A k \fracdTdx|_x+dx – A k \fracdTdx|_x = 0$

Dividing by $A \Delta x$ and taking the limit as $\Delta x \to 0$, we obtain the familiar one-dimensional steady-state heat conduction equation:

$\fracddx \left( k \fracdTdx \right) = 0$

If thermal conductivity (k) is constant, this further simplifies to:

$k \fracd^2Tdx^2 = 0$

Similar systematic derivations based on relevant physical laws are used for other phenomena, such as Navier-Stokes equations for fluid dynamics (conservation of momentum and mass) or elasticity equations for solid mechanics (conservation of momentum and strain-displacement relations).

Transformation to Weak Formulations

The governing differential equations derived from physical principles are often in a “strong form,” meaning they must be satisfied exactly at every point in the domain. For numerical methods like FEM, directly solving these strong-form equations can be challenging, especially when dealing with complex geometries, boundary conditions, and material properties. The process of transforming these strong-form differential equations into their “weak” or “variational” form is a crucial step in FEM.

This transformation relaxes the requirement of exact satisfaction at every point and instead seeks a solution that satisfies a certain integral condition over the domain.The core idea behind deriving the weak form is to multiply the governing differential equation by a suitable “weight function” and then integrate over the entire domain. This integration process often involves integration by parts, which has the effect of reducing the order of derivatives required for the solution and naturally incorporating boundary conditions.Let’s consider a general second-order differential equation in one dimension:

$L(u) = f$ in $\Omega$

where $L$ is a linear differential operator, $u$ is the unknown function, and $f$ is a known function. The domain is $\Omega$.To obtain the weak form, we introduce a test function (or weight function), denoted by $v$, which is assumed to be sufficiently smooth and typically vanishes at the essential (Dirichlet) boundary conditions. We multiply the governing equation by $v$ and integrate over the domain:

$\int_\Omega v L(u) \, dx = \int_\Omega v f \, dx$

Now, we apply integration by parts to the term involving the differential operator $L(u)$. For a typical second-order operator like $\fracd^2udx^2$, integration by parts yields:

$\int_\Omega v \fracd^2udx^2 \, dx = \left[ v \fracdudx \right]_\partial \Omega – \int_\Omega \fracdvdx \fracdudx \, dx$

Here, $\left[ v \fracdudx \right]_\partial \Omega$ represents the boundary terms evaluated at the domain’s boundaries. The weak form of the equation is then:

$\int_\Omega \fracdvdx \fracdudx \, dx – \left[ v \fracdudx \right]_\partial \Omega = \int_\Omega v f \, dx$

This weak form is satisfied by the solution $u$ for all admissible test functions $v$.

Advantages of Weak Formulations in FEM

The transition from the strong form to the weak form offers significant advantages that make FEM a powerful tool for solving a wide range of engineering and scientific problems. These advantages are fundamental to the method’s success and its ability to handle complex real-world scenarios.The key benefits include:

  • Reduced Continuity Requirements: The weak form, through integration by parts, lowers the order of derivatives required for the unknown solution $u$. In the strong form, second derivatives might be present, requiring the solution to be twice continuously differentiable ($C^2$). In the weak form, typically only first derivatives are needed, meaning the solution only needs to be once continuously differentiable ($C^1$). This relaxation of continuity requirements makes it easier to find approximate solutions and allows for simpler element formulations.

  • Natural Incorporation of Boundary Conditions: Essential boundary conditions (e.g., prescribed displacements or temperatures) are directly imposed on the solution $u$ in the strong form. Natural boundary conditions (e.g., prescribed forces or heat fluxes) arise naturally from the integration-by-parts process and appear in the boundary integral terms of the weak form. This makes the handling of boundary conditions more systematic and less prone to errors.

  • Greater Flexibility in Element Choice: Because the weak form requires less stringent continuity, a wider variety of element types and interpolation functions can be used. This flexibility allows for the construction of elements that are well-suited to the geometry of the problem and the nature of the solution.
  • Foundation for Variational Principles: Many physical problems can also be formulated using variational principles (e.g., minimizing potential energy in structural mechanics). The weak form is directly related to these variational principles, providing a unified mathematical framework for FEM.
  • Systematic Derivation of Element Equations: The weak form provides a clear and systematic procedure for deriving the algebraic equations that govern the behavior of each finite element. This process leads to the stiffness matrices and force vectors that form the core of the FEM solution.

Role of Weighted Residuals

The concept of weighted residuals is central to the derivation of weak formulations in FEM, as explained by Logan. The underlying idea is that if a strong-form differential equation is not exactly satisfied by an approximate solution, the difference between the left-hand side and the right-hand side of the equation, known as the residual, will not be zero. The method of weighted residuals aims to minimize this residual in some average sense over the domain.The general approach involves:

  • Defining the Residual: For a governing differential equation $L(u) = f$, where $u$ is an approximate solution, the residual $R$ is defined as $R = L(u)
    -f$. This residual quantifies how well the approximate solution satisfies the original equation.
  • Introducing Weight Functions: A set of weight functions, $w_i$, is chosen. These functions are often referred to as test functions or basis functions in the context of FEM.
  • Formulating the Weighted Residual Statement: The weighted residual statement requires that the integral of the residual multiplied by each weight function over the domain be zero:
  • $\int_\Omega w_i R \, dx = 0$ for all $i$

    Substituting the definition of the residual:

    $\int_\Omega w_i (L(u)
    -f) \, dx = 0$

    This can be rewritten as:

    $\int_\Omega w_i L(u) \, dx = \int_\Omega w_i f \, dx$

    This equation is the foundation for obtaining the weak form. The choice of weight functions and the subsequent application of integration by parts lead to the specific weak formulation used in FEM. Logan’s approach emphasizes how this integral statement, when applied to a set of basis functions that represent the approximate solution, leads to a system of algebraic equations. For instance, if the approximate solution $u$ is expressed as a linear combination of shape functions $\phi_j$ ($u = \sum_j=1^N u_j \phi_j$), and the weight functions $w_i$ are chosen to be the same as the shape functions $\phi_i$ (this specific choice is known as the Galerkin method), the weighted residual statement transforms into a system of algebraic equations for the unknown coefficients $u_j$.

Assembly of Global Stiffness Matrix and Load Vector: A First Course In Finite Element Method Logan

First

Having understood the fundamental principles of discretization, element formulation, and the derivation of governing equations through weak formulations, we now embark on the crucial step of assembling these individual element contributions into a comprehensive system that represents the entire physical domain. This process allows us to solve for the unknown nodal degrees of freedom for the entire structure, rather than just for isolated elements.

This assembly is a cornerstone of the Finite Element Method, enabling us to tackle complex engineering problems with a unified mathematical framework.The assembly process essentially involves combining the smaller, localized stiffness matrices and load vectors, derived for each individual element, into larger, global matrices that encompass the entire problem domain. This is achieved by recognizing that nodes shared between elements are interconnected, and the forces and displacements at these shared nodes must be consistent across the elements.

The direct stiffness method provides a systematic and intuitive approach to achieving this integration.

The Direct Stiffness Method Procedure, A first course in finite element method logan

The direct stiffness method is a fundamental technique for assembling the global system of equations in FEM. It systematically maps the element-level stiffness matrices and load vectors onto their corresponding global counterparts. This method is systematic and ensures that the contributions from each element are correctly placed within the global system.The procedure can be Artikeld as follows:

  • Initialization: Create global stiffness matrix [K] and global load vector F of appropriate size (number of degrees of freedom x number of degrees of freedom for [K], and number of degrees of freedom x 1 for F), typically filled with zeros.
  • Element Contribution: For each element in the mesh, obtain its local stiffness matrix [k] e and local load vector f e.
  • Mapping: Identify the global node numbers associated with the element’s local nodes. This mapping is crucial for correctly placing the element’s contributions into the global matrices.
  • Addition: Add the entries of the element stiffness matrix [k] e to the corresponding positions in the global stiffness matrix [K]. Similarly, add the entries of the element load vector f e to the corresponding positions in the global load vector F.
  • Iteration: Repeat steps 2-4 for all elements in the mesh.

Incorporating Boundary Conditions

Boundary conditions are essential for ensuring a unique and physically meaningful solution. They represent known displacements or applied forces at specific nodes. In the context of the direct stiffness method, boundary conditions are incorporated into the global system after the initial assembly of the stiffness matrix and load vector.The common approaches for incorporating boundary conditions include:

  • Prescribed Displacements: If a nodal displacement is known (e.g., a fixed support), the corresponding row and column in the global stiffness matrix are modified. For a prescribed displacement $u_i = \baru$, the $i$-th row and column of [K] are adjusted. A common technique is to set the diagonal entry $K_ii$ to a very large number (effectively infinity) and set the corresponding entry in the load vector $F_i$ to $K_ii \times \baru$.

    All other entries in the $i$-th row and column are set to zero, except for $K_ii$ and $F_i$.

  • Prescribed Forces: If a force is known at a node, it is directly added to the corresponding entry in the global load vector F. For example, if a force $P$ is applied at node $j$, then $F_j = F_j + P$.

It is important to note that the method of incorporating prescribed displacements aims to enforce the known displacement while allowing the system to determine the reaction forces.

Conceptual Assembly of a Simple 2D Problem

Consider a simple 2D problem, such as a rectangular plate discretized into two triangular elements. Let’s assume each node has two degrees of freedom: horizontal displacement (u) and vertical displacement (v).Let’s visualize a mesh with three nodes: Node 1 at (0,0), Node 2 at (1,0), and Node 3 at (0,1). Suppose we have two triangular elements: Element 1 connecting nodes 1, 2, and 3, and Element 2 connecting nodes 1, 2, and a new node 4 at (1,1).The global system will have $4 \times 2 = 8$ degrees of freedom (u1, v1, u2, v2, u3, v3, u4, v4).

The global stiffness matrix [K] will be an 8×8 matrix, and the global load vector F will be an 8×1 vector.Let’s focus on Element 1, connecting nodes 1, 2, and 3. Its local stiffness matrix [k] 1 will be 6×6 (since each node has 2 DOFs). The mapping would associate the local node indices of Element 1 (1, 2, 3) with their global counterparts (1, 2, 3).When assembling [k] 1 into [K], the entries from [k] 1 will be added to the appropriate positions in the 8×8 [K].

For example, the entry $k_11^1$ (stiffness between DOF 1 and DOF 1 of Element 1) will be added to $K_11$ in the global matrix. Similarly, $k_12^1$ will be added to $K_12$, and so on. The mapping ensures that if DOF 1 of Element 1 corresponds to global DOF 3 (e.g., u2), then $k_11^1$ is added to $K_33$.The same process is repeated for Element 2, connecting nodes 1, 2, and 4.

Its 6×6 local stiffness matrix [k] 2 will be mapped and added to the global matrix [K]. For instance, if DOF 1 of Element 2 corresponds to global DOF 1 (u1), then $k_11^2$ is added to $K_11$. If DOF 3 of Element 2 corresponds to global DOF 7 (u4), then $k_33^2$ is added to $K_77$.The global load vector F is assembled by summing the contributions from each element’s local load vector f e and any externally applied nodal forces.

If, for example, a force is applied at Node 2 in the x-direction, its value would be added to the global load vector entry corresponding to u2.

The assembly process is analogous to connecting individual components of a structure; the properties of each component are integrated into the overall behavior of the structure.

Diving into a first course in finite element method by Logan can feel like a significant undertaking, and sometimes you wonder about time commitments for other certifications, like checking how long does cna course take. But don’t let the duration of other programs distract you; mastering the FEM concepts from Logan requires focused study.

After all element stiffness matrices and load vectors are assembled, and boundary conditions are applied, the resulting global system of linear equations is:

[K]U = F

where [K] is the global stiffness matrix, U is the vector of unknown nodal displacements, and F is the global load vector. This system is then solved to obtain the displacement field for the entire domain.

Solution of Linear Systems

Being first doesn’t matter as much as being the best does - Blue16 ...

After the process of discretization and element formulation, and the subsequent assembly of the global stiffness matrix and load vector, we are left with a system of linear algebraic equations. This system, often represented as [K]u = F, is fundamental to the FEM. The matrix [K] is the global stiffness matrix, u is the vector of unknown nodal displacements, and F is the global load vector.

Solving this system is a crucial step to obtain the desired displacements and subsequently other engineering quantities like stresses and strains. The accuracy and efficiency of the overall FEM solution depend heavily on the method used to solve this linear system.

Numerical Methods for Solving Linear Systems

Various numerical methods exist to solve the system of linear algebraic equations [K]u = F. These methods can be broadly categorized into direct and iterative solvers. The choice of method often depends on the size, structure, and properties of the stiffness matrix [K].

Direct Solvers

Direct solvers aim to compute the exact solution in a finite number of operations, assuming perfect arithmetic precision. They are generally robust and reliable, especially for smaller systems.

Gaussian Elimination

Gaussian elimination is a fundamental direct method. It involves transforming the original system into an equivalent upper triangular system through a series of elementary row operations. This triangular system can then be solved efficiently using back-substitution. For a system of size N x N, the computational complexity is typically O(N^3).

LU Decomposition

LU decomposition factorizes the stiffness matrix [K] into a lower triangular matrix [L] and an upper triangular matrix [U], such that [K] = [L][U]. Solving [K]u = F then becomes solving two simpler systems: [L]y = F and [U]u = y. This is particularly efficient when multiple load vectors need to be solved with the same stiffness matrix, as the decomposition is performed only once.

The complexity of decomposition is O(N^3), and solving for each load vector is O(N^2).

Iterative Solvers

Iterative solvers start with an initial guess for the solution and refine it through successive approximations until a desired level of accuracy is reached. They are often preferred for large-scale problems, especially those arising from FEM, where the stiffness matrix is typically large and sparse.

Jacobi Method

The Jacobi method is a basic iterative technique where each component of the solution vector is updated using values from the previous iteration. It can be expressed as:

u_i^(k+1) = (1/K_ii)

  • (F_i – sum(K_ij
  • u_j^k for j != i))

where k denotes the iteration number.

Gauss-Seidel Method

The Gauss-Seidel method is an improvement over the Jacobi method. It uses the most recently computed values of the solution vector within the same iteration. This typically leads to faster convergence. The update formula is:

u_i^(k+1) = (1/K_ii)

(F_i – sum(K_ij

– u_j^(k+1) for j < i) -sum(K_ij - u_j^k for j > i))

Conjugate Gradient (CG) Method

The Conjugate Gradient method is a powerful iterative technique specifically designed for symmetric positive-definite matrices, which are common for stiffness matrices in FEM. It converges in at most N iterations in exact arithmetic, but in practice, it often converges much faster. It minimizes a quadratic functional related to the system of equations.

Challenges in Solving Large, Sparse FEM Systems

Solving large, sparse systems arising from FEM presents several challenges:

  • Computational Cost: Direct solvers can become computationally prohibitive for very large systems due to their O(N^3) complexity.
  • Memory Requirements: Storing the dense factors [L] and [U] in direct methods can require significant memory, even if the original matrix [K] is sparse.
  • Ill-Conditioning: The stiffness matrix can become ill-conditioned, especially for problems with complex geometries, material properties, or boundary conditions, leading to numerical instability and slow convergence for iterative solvers.
  • Bandwidth and Profile: The sparsity pattern of the stiffness matrix, often characterized by its bandwidth and profile, influences the efficiency of both direct and iterative solvers.

Pre-conditioning Techniques for Iterative Solvers

Pre-conditioning is a technique used to transform the original linear system into an equivalent one that is easier for an iterative solver to converge. This is achieved by multiplying the system by a pre-conditioning matrix [M] such that [M]^-1[K]u = [M]^-1F. The goal is to choose [M] such that [M]^-1[K] has better spectral properties (e.g., smaller condition number).

Incomplete LU (ILU) Factorization

ILU factorization is a popular pre-conditioning technique. It is similar to LU decomposition but omits certain terms (e.g., fill-in elements) during the factorization process, keeping the pre-conditioner sparse and computationally inexpensive to form. Different levels of incompleteness exist, offering a trade-off between pre-conditioning effectiveness and computational cost.

Jacobi Pre-conditioning

This is the simplest form of pre-conditioning, where [M] is a diagonal matrix containing the diagonal elements of [K]. The pre-conditioned system becomes:

u_i^(k+1) = u_i^k + (1/K_ii)

  • (F_i – sum(K_ij
  • u_j^k for j != i))

This method is generally less effective than ILU but is very easy to implement.

SOR (Successive Over-Relaxation)

SOR is an extension of the Gauss-Seidel method that introduces a relaxation parameter to accelerate convergence. While not strictly a pre-conditioning matrix in the [M]^-1[K] sense, it modifies the iterative update to achieve faster convergence.

Applications and Extensions in Logan’s Textbook

First floor old white hi-res stock photography and images - Alamy

Having grasped the foundational principles of finite element method through discretization, element formulation, governing equations, weak formulations, assembly, and solution of linear systems, we now turn our attention to how these concepts are applied to solve real-world engineering challenges as presented in Logan’s textbook. This section explores the breadth of problems amenable to FEM and hints at pathways for further learning.

Engineering Problems Addressed in a First FEM Course

Logan’s introductory text is designed to equip students with the ability to model and analyze a variety of common engineering problems. The focus is on translating physical phenomena into a numerical framework that the FEM can solve. This allows engineers to predict the behavior of complex systems under various loads and conditions without the need for expensive and time-consuming physical prototyping for every scenario.

Structural Mechanics Applications

The domain of structural mechanics is a cornerstone of FEM education, and Logan’s book provides thorough coverage of its application. Students learn to analyze how structures deform and withstand applied forces.

Beam Bending Analysis

The analysis of beams, fundamental components in bridges, buildings, and machinery, is a key application. Logan demonstrates how to discretize a beam into finite elements, derive element stiffness matrices considering bending stiffness, and assemble these into a global system to solve for displacements and internal forces under various loading conditions, including point loads, distributed loads, and moments.

Plate Bending Analysis

Extending from beam theory, plate bending involves analyzing two-dimensional structures that are thin relative to their other dimensions. Logan introduces the formulation of plate bending elements, which account for both transverse deflection and rotations. The assembly of global stiffness matrices for plates allows for the prediction of deflections and stresses in components like aircraft wings, vehicle floors, and pressure vessel walls.

Heat Transfer and Fluid Flow Problems

Beyond structural analysis, FEM is a versatile tool for other physics-based problems. Logan’s text introduces the formulation of elements and governing equations for these domains.

Heat Transfer Analysis

In heat transfer, FEM is used to determine temperature distributions and heat fluxes within a material or system. Logan explains how to discretize a domain, formulate element conduction matrices based on thermal conductivity, and incorporate boundary conditions such as prescribed temperatures or heat fluxes. This is crucial for designing heat sinks, analyzing thermal stresses, and optimizing insulation.

Fluid Flow Analysis

For fluid dynamics, FEM can be employed to solve problems related to fluid velocity, pressure, and viscosity. Logan’s treatment typically involves the formulation of elements for the Navier-Stokes equations or simplified versions like the Stokes flow equations. Applications include analyzing flow through pipes, around airfoils, and in biological systems, predicting pressure drops and flow patterns.

Introduction to Advanced FEM Topics

Logan’s textbook serves not only as a primer but also as a gateway to more complex FEM concepts. The principles established in the initial chapters are foundational for understanding advanced techniques.The methodology of deriving element stiffness matrices from variational principles or weighted residual methods, as introduced for simpler problems, is directly extensible to more intricate element formulations. This includes higher-order elements, which offer improved accuracy by using more complex interpolation functions within each element.Furthermore, the techniques for handling nonlinearities, which are prevalent in many real-world engineering problems, are often introduced conceptually.

This includes:

  • Nonlinear material behavior: Where the stress-strain relationship is not linear.
  • Geometric nonlinearities: Where the deformations of the structure are large enough to affect the equilibrium equations.
  • Contact problems: Where different parts of a structure interact with each other.

Logan’s approach prepares students to delve into specialized courses or research that tackle these advanced scenarios, often involving iterative solution schemes to converge to the correct solution. The fundamental concepts of discretization and equation assembly remain central, but the complexity of the governing equations and the solution procedures increase significantly.

Numerical Integration and Error Estimation

Craig Groeschel | First | Messages | Free Church Resources from Life.Church

In our journey through the Finite Element Method, we have learned to discretize our domain, formulate element equations, and assemble them into a global system. However, the process of deriving these element equations often involves integrals that cannot be solved analytically. This is where the art and science of numerical integration come into play, allowing us to approximate these essential integrals.

Equally important is understanding the errors that can creep into our computations and how to manage them, ensuring the reliability of our FEM solutions.

Necessity of Numerical Integration

Many integrals encountered in the finite element method, particularly those arising from the evaluation of element stiffness matrices and load vectors, do not possess simple closed-form analytical solutions. These integrals often involve complex polynomial or trigonometric functions, or they are derived from weak formulations that introduce integrals over element domains. To proceed with the FEM analysis, these integrals must be approximated using numerical techniques.

A cornerstone of numerical integration in FEM is Gaussian quadrature, a powerful method that provides highly accurate approximations with a minimal number of evaluation points.Gaussian quadrature approximates an integral of a function $f(x)$ over an interval $[a, b]$ by a weighted sum of function values at specific points, called Gauss points. The general form is:

$$ \int_a^b f(x) dx \approx \sum_i=1^n w_i f(x_i) $$

where $w_i$ are the weights and $x_i$ are the abscissas (Gauss points). For integration over a standard reference element (e.g., a line segment from -1 to 1), the formula is:

$$ \int_-1^1 f(\xi) d\xi \approx \sum_i=1^n w_i f(\xi_i) $$

The effectiveness of Gaussian quadrature lies in its ability to achieve a high degree of accuracy for a given number of points. For example, $n$ points can exactly integrate polynomials up to degree $2n-1$. This efficiency is crucial in FEM, where these integrals are computed for every element in the domain.

Convergence in Finite Element Analysis

Convergence is a fundamental concept in FEM, referring to the tendency of the approximate solution to approach the exact solution as the mesh is refined and the element order is increased. A convergent FEM formulation guarantees that with a sufficiently fine mesh and high enough element order, the numerical solution will be arbitrarily close to the true solution of the underlying partial differential equation.The relationship between convergence, mesh refinement, and element order can be understood through the concept of error.

As we refine the mesh (i.e., reduce the size of the elements), the approximation of the geometry and the solution within each element becomes more accurate. Similarly, increasing the order of the polynomial approximation within each element (using higher-order shape functions) allows for a more accurate representation of the solution’s behavior.For a convergent FEM, the error in the solution typically decreases as the mesh is refined or the element order is increased.

This relationship is often expressed in terms of the mesh size $h$ and the element order $p$. For many problems, the error is proportional to $h^p+1$ or $h^p+2$ (depending on the problem and the order of the approximation). This means that refining the mesh by a factor of 2 will reduce the error by a factor of $2^p+1$ or $2^p+2$, and increasing the element order can lead to a more significant reduction in error.

Types of Errors in Finite Element Method

Errors in FEM can be broadly categorized into several types, each contributing to the difference between the numerical solution and the exact solution. Understanding these errors is crucial for interpreting the results and for improving the accuracy of the analysis.

  • Discretization Error: This is the most significant error and arises from the fundamental approximation inherent in FEM. It stems from two main sources:
    • Geometric Discretization: The continuous domain is approximated by a collection of finite elements. Curved boundaries or complex geometries are approximated by straight lines or planar surfaces, introducing errors.
    • Solution Discretization: The exact solution is approximated by piecewise polynomial functions (shape functions) within each element. The ability of these functions to represent the true solution is limited by the element order and the number of elements.
  • Round-off Error: This error arises from the finite precision of computer arithmetic. During calculations, especially with large systems of equations or many iterations, small errors can accumulate and affect the final result. While often less dominant than discretization error in well-posed problems, it can become significant in ill-conditioned systems.
  • Modeling Error: This error is introduced during the initial setup of the problem and is not directly related to the FEM formulation itself. It includes simplifications made in the physical model, incorrect material properties, or inaccurate boundary conditions.
  • Integration Error: This error is associated with the numerical approximation of integrals using methods like Gaussian quadrature. While Gaussian quadrature is highly accurate, it is still an approximation, and a finite number of integration points will introduce some error, especially for high-degree polynomials or complex integrands.

Procedure for Mesh Refinement Study

A mesh refinement study is a systematic process used to assess the convergence of a finite element solution and to estimate the discretization error. By observing how the solution changes as the mesh is refined, one can gain confidence in the accuracy of the results or identify areas where further refinement is needed.A typical procedure for a simple mesh refinement study involves the following steps:

  1. Perform an initial analysis: Solve the problem using a relatively coarse mesh. Record key results such as displacements, stresses, or temperatures at specific points of interest, or global quantities like reaction forces or energy norms.
  2. Refine the mesh: Create a new mesh by dividing the elements of the previous mesh into smaller ones. This can be done by halving the element size or by using a more sophisticated adaptive meshing strategy.
  3. Re-solve the problem: Solve the problem using the refined mesh. Again, record the same key results as in step 1.
  4. Compare results: Compare the results obtained from the coarse and refined meshes. Calculate the percentage difference or relative error for the quantities of interest.
  5. Iterate: Repeat steps 2-4 by further refining the mesh. Continue this process until the changes in the solution between successive refinements are acceptably small. This indicates that the solution has converged to a stable value.
  6. Analyze convergence behavior: Plot the error (or the difference between successive solutions) against a measure of mesh refinement (e.g., the number of elements, the maximum element size, or the mesh size parameter $h$). The rate at which the error decreases can be used to estimate the order of convergence of the FEM formulation.

For instance, consider a simple 1D bar under tension. One might refine the mesh by doubling the number of elements. If the displacement at the free end changes by 5% when going from $N$ elements to $2N$ elements, and then by 1% when going from $2N$ elements to $4N$ elements, this suggests that the solution is converging. If the error is approximately proportional to $h^2$, halving $h$ should reduce the error by a factor of 4.

Observing such a trend in the data would support the convergence hypothesis.

Element Connectivity and Mesh Generation

A first course in finite element method logan

The process of transforming a continuous physical domain into a discrete set of interconnected elements, known as meshing, is fundamental to the Finite Element Method. This discretization allows us to approximate the behavior of complex systems. The way these elements are connected and how we number the points (nodes) where they meet are crucial for the accurate and efficient solution of the governing equations.

This section delves into the importance of these aspects and the strategies employed in creating suitable meshes.The foundation of any FEM analysis lies in the proper definition of how individual elements relate to each other. This connectivity dictates the flow of information and the assembly of the global system of equations. Understanding nodal numbering schemes is equally vital for systematic matrix assembly and for identifying boundary conditions and applied loads.

Importance of Element Connectivity and Nodal Numbering

Element connectivity defines the topological relationships between elements and nodes within a mesh. This relationship is essential for constructing the global stiffness matrix and load vector. Each element is defined by a set of nodes, and the connectivity matrix for an element lists the global node numbers associated with its local nodes. For instance, a triangular element might be connected to nodes 1, 3, and 5 of the global system.

The order in which these nodes are listed for an element can also be significant, particularly for defining element orientation and local coordinate systems.Nodal numbering refers to the assignment of unique integers to each node in the mesh. A systematic nodal numbering scheme, such as numbering nodes sequentially across the domain or by rows/columns in structured meshes, can significantly simplify the assembly process.

Efficient nodal numbering can also lead to a banded stiffness matrix, which in turn reduces computational effort and memory requirements during the solution phase. Poor nodal numbering can result in a widely spread stiffness matrix, making the solution process more computationally expensive.

Strategies for Generating Meshes for Complex Geometries

Complex geometries, often encountered in real-world engineering problems, require careful meshing strategies to ensure accuracy and computational efficiency. The goal is to capture the geometric features and stress concentrations effectively.Common strategies include:

  • Substructuring or Decomposition: Dividing a complex geometry into simpler, manageable subdomains. Each subdomain can be meshed independently, and then the resulting meshes are connected at the shared boundaries. This is particularly useful for composite structures or components with distinct regions.
  • Automatic Mesh Generation: Utilizing algorithms that automatically discretize a given geometry. These algorithms can handle intricate shapes but require careful parameterization to control mesh density and quality.
  • Mesh Refinement: Starting with a coarse mesh and progressively adding more elements in regions where higher accuracy is required, such as areas with high stress gradients or complex boundary conditions. This can be done adaptively, based on error estimates from a preliminary analysis.

Mesh Quality and its Impact on Solution Accuracy

Mesh quality refers to the geometric characteristics of the elements within a mesh. Elements that are distorted, highly skewed, or have very small angles can lead to significant errors in the computed solution.Key aspects of mesh quality include:

  • Aspect Ratio: The ratio of the longest side to the shortest side of an element. High aspect ratios can degrade accuracy.
  • Skewness: A measure of how much an element deviates from being “ideal” (e.g., equilateral for triangles, cubical for hexahedra). Highly skewed elements can introduce significant numerical errors.
  • Angles: The angles within an element. Elements with very small or very large angles are generally considered poor quality.

The impact of poor mesh quality on solution accuracy is profound. For instance, in stress analysis, a poorly shaped element might predict stresses that are significantly different from the true stresses, leading to incorrect design decisions. A well-conditioned mesh ensures that the interpolation functions within each element accurately represent the underlying physics.

Different Mesh Generation Techniques

Mesh generation techniques can be broadly categorized into structured and unstructured meshing. The choice between them often depends on the geometry of the domain and the desired level of control.

Structured Meshing

Structured meshes are characterized by a regular, predictable arrangement of elements. They are typically generated using mapping techniques, where a simple, regular domain (like a rectangle or cube) is mapped onto the complex geometry.

  • Characteristics: Elements are arranged in a grid-like pattern. Each internal node has the same number of neighbors.
  • Advantages: Easy to generate for simple geometries, leads to efficient data structures and algorithms, often results in high-quality elements.
  • Disadvantages: Difficult to apply to complex geometries with intricate features or holes, limited flexibility in mesh refinement.
  • Example: Meshing a rectangular plate with uniform subdivisions.

Unstructured Meshing

Unstructured meshes consist of elements that are arranged in an irregular pattern. This offers greater flexibility in conforming to complex geometries and in local mesh refinement.

  • Characteristics: Elements can be of various shapes and sizes, and nodes do not follow a strict grid.
  • Advantages: Highly flexible, capable of meshing very complex geometries, allows for targeted mesh refinement.
  • Disadvantages: More complex to generate and manage data structures, can sometimes lead to lower quality elements if not generated carefully.
  • Techniques:
    • Delaunay Triangulation/Tetrahedralization: A popular algorithm that generates meshes by maximizing the minimum angle of the elements, thus promoting good mesh quality.
    • Advancing Front Method: Starts by generating elements on the boundary and progressively fills the domain.
    • Quadtree/Octree Methods: Hierarchical methods that recursively subdivide regions of the domain.

For instance, meshing a car engine block with its numerous internal passages and external features would typically require an unstructured meshing approach to accurately capture all the geometric details and potential areas of interest for analysis.

Conclusive Thoughts

A first course in finite element method logan

In essence, this comprehensive overview, inspired by Logan’s foundational text, illuminates the intricate yet elegant process of the finite element method. From initial discretization and element formulation to solving complex linear systems and estimating numerical errors, the path through FEM is demystified. The applications and extensions discussed underscore the method’s versatility, equipping readers with a solid understanding of its power in addressing real-world engineering challenges and paving the way for further advanced study.

User Queries

What is the primary advantage of using the weak form of differential equations in FEM?

The weak form allows for the use of less restrictive continuity requirements for the approximate solution, enabling the use of simpler polynomial shape functions and making it suitable for problems with discontinuities or singularities.

How does mesh refinement impact the accuracy of FEM solutions?

Increasing the density of elements (mesh refinement) generally leads to a more accurate approximation of the true solution. This is because smaller elements can better capture local variations in the solution field.

What is the difference between structured and unstructured meshes?

Structured meshes have a regular, grid-like pattern, making them easier to generate and manage for simple geometries. Unstructured meshes offer more flexibility for complex shapes, allowing elements to be arranged more adaptively, but are generally harder to generate.

Why is numerical integration necessary in FEM?

Many element integrals, especially those involving complex shape functions or non-uniform material properties, cannot be evaluated analytically. Numerical integration techniques like Gaussian quadrature provide an efficient and accurate way to approximate these integrals.

What are common challenges when solving large FEM systems?

Large FEM systems are often sparse (contain many zeros) and can be computationally expensive to solve. Challenges include memory limitations, slow convergence of iterative solvers, and potential numerical instability.