Abstract
The Method of Weighted Residuals (MWR) is used to compare the finite element method (FEM) with the finite volume method (FVM) through nodal recursion relations. Both methods reside under the general MWR structure, with the underlying switch between the two methods established through the weighting function. Both methods yield comparable spatial accuracy for steady-state conditions. However, the flexibility of the FEM permits additional options that can increase accuracy, but generally at the expense of additional time and resource constraints.
Keywords
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Zienkiewicz, O. C., & Taylor, R. L. (1989). The finite element method. Basic Formulation and Linear Problems, 4th Ed., McGraw-Hill, London, UK.
Patankar, S. V. (1980). Numerical heat transfer and fluid flow. Hemisphere, NY.
Gosman, A. D., Pun, W. M., Runchal, A. K., Spalding, D. B., & Wolfshtein, M. (1969). Heat and mass transfer in recirculating flows. London: Academic Press.
Ansys Fluent (2019). Ansys Inc., Canonsburg, PA.
Argyris, J. H. (1954). Recent advances in matrix methods of structural analysis. Pergamon Press, Elmsford, NY.
Turner, M., Clough, R. W., Martin, H., & Topp, L. (1956). Stiffness and deflection of complex structures. Journal of Aerosol Science, 23, 805–823.
Clough, R. W. (1960). The finite element method in plane stress analysis. In Proceedings of the 2nd Conference on Electronic Computation, ASCE, Pittsburgh, PA (pp. 345–378).
Patran 2019 Installation and Operations Guide, 2019, MSC Software Corporation, Newport Beach, CA, 132 p.
Ansys 19.2, 2019, Ansys Inc., Canonsburg, PA.
COMSOL 5.4, 2019, User’s Manual, COMSOL, Inc., Burlington, MA.
Pepper, D. W., Kassab, A. J., & Divo, E. A. (2014). Introduction to finite element, boundary element, and meshless methods, ASME Press, NY.
Roache, P. J. (1998). Fundamentals of computational fluid dynamics. Albuquerque, New Mexico: Hermosa Press.
Fletcher, C. A. J. (1991). Computational techniques for fluid dynamics, Vol. I and II, Springer, New York.
Finlayson, B. A. (1972). The method of weighted residuals and variational principles. New York: Academic Press.
Pepper, D., & Heinrich, J. (2017). The finite element method: basic concepts and applications with MATLAB, Maple, and COMSOL (3rd ed.). Boca Raton, FL: CRC Press.
Gottlieb, D., & Orzag, S. A. (1977). Numerical analysis of spectral methods: theory and applications. Bristol, England: Society for Industrial and Applied Mathematics.
Maday, Y., & Quateroni, A. (1982). Spectral and pseudo-spectral approximations of the Navier–Stokes equations. SIAM Journal of Numerical Analysis, 19(4), 761–780.
Gray, W. G., & Pinder, G. F. (1976). On the relationship between the finite element and finite difference methods. International Journal for Numerical Methods in Engineering, 10, 893–923.
Pepper, D. W., & Baker, A. J. (1979). A simple one-dimensional finite element algorithm with multidimensional capabilities. Numerical Heat Transfer, 2, 81–95.
Pirbastami, S., & Pepper, D. W. (2018). Two-dimensional chapeau function recursion relations, WCCM XIII, July 22–27, NY.
Harlow, F. H., & Amsden, A. A. (1971). Fluid Dynamics, A LASL Monograph, LA-4700, June 1971.
Schneider, G. E., & Zedan, M. (1981). A modified strongly implicit procedure for the numerical solution of field problems. Numerical Heat Transfer, 4, 1–19.
Idelsohn, S. R., & Onate, E. (1994). Finite volumes and finite elements: two ‘Good Friends’. International Journal for Numerical Methods in Engineering, 37, 3323–3341.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Appendix
Appendix
1D FEM Formulation with Advection
For simplicity, we define \(\phi (x,t)\) as a 1D scalar transport variable. Linear shape functions are used for two consecutive adjacent linear elements. After assembly (creating a 3 × 3 global matrix), the recursion relation for the ith node can be established.
Setting W(x) = N(x) and using the integral relation for the 1D element spanning nodes i-1 to i, the governing equation for time-dependent transport and diffusion,
can be written numerically as
where \(\dot{\phi }(x,t)\) denotes time dependence and U(x) is velocity. The integral terms are similarly evaluated for elements spanning i to i + 1. Thus, for the two adjacent linear elements,
For \(\Delta x_{ - } = x_{i} - x_{i - 1}\)
For \(\Delta x_{ + } = x_{i + 1} - x_{i}\)
For simplicity, the velocity is assumed constant. The use of hypermatrix formulation is needed to deal with variable velocity—more details are described in [19].
Assembling the two adjacent elements into a 3 × 3 global matrix,
Setting Δx- = Δx+ = Δx, the recursion relation in 1D is obtained by stripping out the central expression within the global matrix, i.e.,
which appears similar to the central difference FDM (or FVM). The improved accuracy of the FEM lies in the time-dependent terms, \(\dot{\phi }\). When employing Crank–Nicolson time averaging, Eq. (37) yields O(Δx4) versus O(Δx2) in space.
2D FEM Formulation with Advection
The general transport equation in 2D can be discretized using either 2D triangular elements or quadrilateral elements and then assembled over eight triangular elements, four quadrilateral elements, or one quadratic Lagrangian quadrilateral element, consecutively, to establish a set of recursion relations. The resulting set of recursion relations can then be solved using the Strongly Implicit Procedure (SIP), or with a Modified SIP [20, 22]. A more detailed discussion on the formulation of FEM and FVM methods that includes advection and upwinding is provided in Idelsohn and Onate [23].
The matrix equivalent equation of the transport relation (assume \(\phi (x,y) \equiv T(x,y)\) for simplicity) can be written as
where [M] is the mass matrix, [A(V)] is the advection matrix, and [K] is the diffusion matrix
where the i, j, k indices denote row and column vectors [20]. After establishing the global matrices for a patch consisting of 8 bilinear triangular elements, 4 bilinear quadrilateral elements, and one Lagrangian quadratic quadrilateral element, a set of recursion relations for the Ti, j node can be established.
2D BASIS Functions
Bilinear triangular and quadratic elements are used for the 2D trial functions [19, 20]. The general 2D bilinear element configurations are shown in Figs. 11 and 12. Notice that the triangular element array permits either a 9-node configuration or a 5-node configuration.
The set of finite element expressions, defined over a rectangular subspace and formulated using chapeau basis functions, can be interpreted as integrated averaged difference approximations. After applying Galerkin’s method, integrating by parts, and using isoparametric transformations, we obtain the equations as follows:
2D bilinear triangular elements:
2D bilinear quadrilateral elements:
2D Quadratic Lagrangian quadrilateral element:
Rights and permissions
Copyright information
© 2020 Springer Nature Singapore Pte Ltd.
About this chapter
Cite this chapter
Pepper, D.W., Pirbastami, S., Carrington, D.B. (2020). A Comparison Between FEM and FVM via the Method of Weighted Residuals. In: Runchal, A. (eds) 50 Years of CFD in Engineering Sciences. Springer, Singapore. https://doi.org/10.1007/978-981-15-2670-1_21
Download citation
DOI: https://doi.org/10.1007/978-981-15-2670-1_21
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-2669-5
Online ISBN: 978-981-15-2670-1
eBook Packages: EngineeringEngineering (R0)