---
title: "Necessity of computational techniques; FEM algorithm"
subject: "Computational Techniques in Civil Engineering"
chapter: 1
key: "semester_8/computational_techniques_in_civil_engineering:necessity-computational-fem-algorithm"
source: https://www.bctengineer.com/q/semester_8/computational_techniques_in_civil_engineering/necessity-computational-fem-algorithm
site: BCT Engineering
---

# Necessity of computational techniques; FEM algorithm

Computational Techniques in Civil Engineering · Chapter 1: Introduction

- Asked in: 2078 Chaitra, 2+4+2 marks
- Video: [Lect01: Finite Element Method](https://www.youtube.com/watch?v=RM-c-8xDwZk) — Dr. A. S. Sayyad
- Answer checked by Claude Opus 5.5 (high effort) on 2026-10-14
- Page: https://www.bctengineer.com/q/semester_8/computational_techniques_in_civil_engineering/necessity-computational-fem-algorithm
- Whole chapter: https://www.bctengineer.com/md/semester_8/computational_techniques_in_civil_engineering/chapter-1

## Question

Explain the necessity of computational techniques in civil engineering. Also discuss the algorithm followed while solving problems using the Finite Element Method. Write down the advantages of the Finite Element Method.

## Short answer

Computational techniques handle complex geometry, loading and nonlinearity where closed-form solutions fail, and solve large systems quickly. FEM algorithm: discretise, choose shape functions, define strain and stress relations, form element stiffness, assemble global equations, apply boundary conditions, solve, then compute stresses and strains. Advantages include complex geometry, mixed materials, mesh refinement and wide applicability.

## Answer

#### Necessity of computational techniques
- Real structures and soils have complex geometry, loading and material behaviour, so closed-form solutions do not exist.
- Classical hand methods (slope-deflection, moment distribution) become impractical for large indeterminate structures with hundreds of unknowns.
- Computers solve thousands of equations quickly and accurately, allowing many load cases and design iterations.
- Non-linear, dynamic, time-dependent (seepage, consolidation, flood routing) and soil-structure problems can only be solved numerically.
- They reduce the cost of physical model tests and allow parametric studies and safer, more economical design.

#### Algorithm of the finite element method
1. **Discretisation:** divide the body into finite elements joined at nodes (select element type and mesh).
2. **Select interpolation (shape) functions:** assume displacement within an element as $u = [N]\{d\}$.
3. **Strain-displacement and stress-strain relations:** $\{\varepsilon\} = [B]\{d\}$, $\{\sigma\} = [D]\{\varepsilon\}$.
4. **Element stiffness matrix and load vector:** $[k] = \int [B]^T[D][B]\,dV$ and equivalent nodal loads $\{f\}$.
5. **Assembly:** combine element matrices into the global equations $[K]\{U\} = \{F\}$.
6. **Boundary conditions:** apply supports (known displacements) and loads.
7. **Solve** for nodal displacements.
8. **Post-processing:** compute strains, stresses, reactions and plot results.

#### Advantages of FEM
- Handles complex geometry, irregular boundaries and any support condition.
- Handles different materials, non-homogeneous and non-linear behaviour in the same model.
- Mesh can be refined where stress changes rapidly.
- Applicable to many fields: structures, soil, seepage, heat and fluid flow.
- Algorithm is systematic and easy to program; wide software availability.

## Check yourself

The answer's key points as multiple-choice questions, with the correct option and why.

1. Why are computational techniques needed in civil engineering?
   A. Because closed-form solutions are always more accurate
   B. Because physical model tests are always cheaper
   C. Real geometry, loading and materials are too complex for closed-form solutions, and large systems are impractical by hand
   D. Because hand methods handle non-linear problems best
   Answer: C. Real problems often have no closed-form solution and hand methods become impractical for hundreds of unknowns. (Key point: Need for computing)

2. In the FEM algorithm, what comes immediately after finding element stiffness matrices?
   A. Post-processing of stresses
   B. Assembly into the global equations [K]{U} = {F}
   C. Discretisation of the body
   D. Selection of shape functions
   Answer: B. Element matrices are assembled into the global system, then boundary conditions are applied and the system is solved. (Key point: FEM step order)

3. What is the purpose of applying boundary conditions before solving?
   A. To insert known displacements at supports so the system can be solved
   B. To compute the strains in each element
   C. To select the element type
   D. To calculate the shape functions
   Answer: A. Without support conditions [K] is singular; applying known displacements makes the equations solvable. (Key point: Boundary conditions)

4. Which is an advantage of FEM?
   A. It needs only the boundary to be meshed
   B. It requires a regular grid
   C. It applies only to structures
   D. The mesh can be refined where stress changes rapidly
   Answer: D. Local mesh refinement, complex geometry and varied materials are key FEM advantages. (Key point: FEM advantage)

## Related in Computational Techniques in Civil Engineering

- [Techniques of solving problems; FEM and FDM](https://www.bctengineer.com/question.md?key=semester_8%2Fcomputational_techniques_in_civil_engineering%3Afem-fdm-working-techniques) — Computational Techniques in Civil Engineering, chapter 1
- [Computational techniques; why FEM predominates](https://www.bctengineer.com/question.md?key=semester_8%2Fcomputational_techniques_in_civil_engineering%3Alist-techniques-why-fem-steps) — Computational Techniques in Civil Engineering, chapter 1
- [Types of problems solved by FEM](https://www.bctengineer.com/question.md?key=semester_8%2Fcomputational_techniques_in_civil_engineering%3Afem-problem-types) — Computational Techniques in Civil Engineering, chapter 1
- [Basic steps in finite element analysis](https://www.bctengineer.com/question.md?key=semester_8%2Fcomputational_techniques_in_civil_engineering%3Afem-basic-steps) — Computational Techniques in Civil Engineering, chapter 1
- [History of computational techniques](https://www.bctengineer.com/question.md?key=semester_8%2Fcomputational_techniques_in_civil_engineering%3Ahistory-computational-techniques) — Computational Techniques in Civil Engineering, chapter 1
- [Concepts of FEM and FDM with advantages](https://www.bctengineer.com/question.md?key=semester_8%2Fcomputational_techniques_in_civil_engineering%3Afem-fdm-concepts-advantages) — Computational Techniques in Civil Engineering, chapter 1

## Related in other subjects

- [Conditions for solving problems recursively](https://www.bctengineer.com/question.md?key=semester_4%2Fdata_structure_and_algorithm%3Arecursion-conditions) — Data Structure and Algorithm, chapter 5
- [Steps and advantages of finite element method](https://www.bctengineer.com/question.md?key=semester_8%2Ffinite_element_method%3Afem-steps-advantages) — Finite Element Method, chapter 1
- [Necessity of appraisal; formulation techniques](https://www.bctengineer.com/question.md?key=semester_7%2Fproject_engineering%3Aappraisal-necessity-formulation-techniques) — Project Engineering, chapter 2, asked 2×
- [Top-down integration problems; regression testing](https://www.bctengineer.com/question.md?key=semester_5%2Fsoftware_engineering%3Atop-down-integration-regression) — Software Engineering, chapter 8
