Treffer: Embedding numerical methods and MATLAB programming in a fluid mechanics course for undergraduates in engineering technology
0306-4190
Weitere Informationen
Undergraduate students in engineering technology are typically not required to take any courses on numerical methods or computational techniques and thus have little or no knowledge of many basic numerical approaches commonly used in engineering disciplines, such as root finding, curve fitting, numerical integration, and numerical differentiation. In addition, they are only required to take one introductory level programming course and thus usually experience difficulty when working on course projects involving extensive programming. However, the industry is demanding different skillsets than the ones that were expected just a decade ago. Numerical and programming skills are becoming increasingly important. In this case study, the effectiveness of embedding numerical methods and MATLAB programming in MMET 303 Fluid Mechanics and Power, a four-credit junior-level required course offered every semester for undergraduates at the Department of Engineering Technology and Industrial Distribution at Texas A&M University, was assessed. A series of learning modules were purposefully designed and implemented as a trial test in the classes offered in the semester of Fall 2023. Instructor's observation, submitted assignments, and survey results were analyzed. The results suggested that embedding numerical methods and associated MATLAB programming into a required course enhanced students’ analytical skills of tackling practical problems, helping them become better prepared as they move on into the industrial companies or the graduate schools.
AN0185986047;8d801jul.25;2025Jun19.02:57;v2.2.500
Embedding numerical methods and MATLAB programming in a fluid mechanics course for undergraduates in engineering technology
Undergraduate students in engineering technology are typically not required to take any courses on numerical methods or computational techniques and thus have little or no knowledge of many basic numerical approaches commonly used in engineering disciplines, such as root finding, curve fitting, numerical integration, and numerical differentiation. In addition, they are only required to take one introductory level programming course and thus usually experience difficulty when working on course projects involving extensive programming. However, the industry is demanding different skillsets than the ones that were expected just a decade ago. Numerical and programming skills are becoming increasingly important. In this case study, the effectiveness of embedding numerical methods and MATLAB programming in MMET 303 Fluid Mechanics and Power, a four-credit junior-level required course offered every semester for undergraduates at the Department of Engineering Technology and Industrial Distribution at Texas A&M University, was assessed. A series of learning modules were purposefully designed and implemented as a trial test in the classes offered in the semester of Fall 2023. Instructor's observation, submitted assignments, and survey results were analyzed. The results suggested that embedding numerical methods and associated MATLAB programming into a required course enhanced students' analytical skills of tackling practical problems, helping them become better prepared as they move on into the industrial companies or the graduate schools.
Keywords: Numerical methods; MATLAB programming; engineering technology; fluid mechanics; course development
Introduction
According to Engineering Technology Council of the American Society of Engineering Education (ASEE), engineering technology is a profession in which knowledge of the applied mathematical and natural sciences gained by higher education, practical experience, and competence developed in a specific field is devoted to application of engineering principles and the implementation of technological advances for the benefit of humanity through its focus on product improvement, manufacturing, and automation of technological processes and operational functions.[1] It is a unique blending of engineering and business. Compared with other engineering disciplines, engineering technology has a stronger focus on educating students with hands-on skills and entrepreneurship.
Undergraduate students in engineering technology programs are typically not required to take any courses on numerical methods or computational techniques and thus have little or no knowledge of many basic numerical approaches commonly used in engineering disciplines, such as root finding, curve fitting, numerical integration, and numerical differentiation. In addition, they are only required to take one introductory level programming course and thus usually experience difficulty when working on course projects involving extensive programming. Even worse, they are typically deterred by many negative perceptions about numerical methods and the associated programming activities, for example, it is difficult to learn and requires significant amounts of time, or it is irrelevant and only for researchers. However, this fast-changing world is demanding different skillsets than the ones that were expected just a decade ago. Many industrial companies, both large and small, explicitly require or prefer their job applicants to have numerical and programming skills. As technology advances in the industrial companies, the undergraduate curriculum must advance accordingly. Various innovative practices are ongoing, aiming at strengthening undergraduates' numerical and programming skills.
In this case study, the effectiveness of embedding numerical methods and MATLAB programming in MMET 303 Fluid Mechanics and Power, a four-credit junior-level required course offered every semester for undergraduates at the Department of Engineering Technology and Industrial Distribution at Texas A&M University, was assessed. A series of learning modules were purposefully designed and implemented as a trial test in the classes offered in the semester of Fall 2023. The course includes two 75-minute lectures and one 2-hour laboratory session each week. Laboratory activities are used to enhance lecture materials and provide students with hands-on experience in fluid mechanics testing. Typically, approximately 120 undergraduate students enroll in this course every semester, predominantly junior (approximately 80%) and senior (approximately 20%) engineering technology majors. In the semester of Fall 2023, 125 students were enrolled in the course, and the author served as the instructor. If proven useful, this practice could be employed in MMET 303 in future years; learning modules on more advanced numerical methods could be developed; and similar activities could be embedded into other required courses. Texas A&M University's Institutional Review Board reviewed and approved the research study under Exempt Category 1 at 45 CFR 46.104. The IRB number is 162456.
Background
Numerical methods, also referred to as computer mathematics, are techniques by which mathematical problems are formulated so that they can be solved with arithmetic and logical operations.[2] In the precomputer era, the time and drudgery of implementing such calculations seriously limited their practical use. As computers moved from laboratories to classrooms and homes, the role of numerical methods in engineering and scientific problem solving has exploded, becoming an essential part of every engineer's and scientist's basic education.
Numerical methods greatly expand the types of problems students can address. They are capable of handling large systems of equations, nonlinearities, and complicated geometries that are not uncommon in engineering and science and that are often impossible to solve analytically with standard calculus. Numerical methods also allow students to use commercially available software with insight, that is, the intelligent use of the software is greatly enhanced by a better understanding of the basic theory underlying the methods. On the other hand, when students are conversant with numerical methods and adept at programming, they can design their own programs to solve the problems that cannot be tackled using commercially available software.
Fluid mechanics courses often involve diverse numerical methods and plenty of valuable work has been done in the past. For example, Praks and Brkic[3] presented how the nonlinear Colebrook equation can be used for introducing in curricula various root-finding methods, including single fix-point iterative methods, two-point iterative methods, and multipoint iterative methods. Castilla and Pena[4] introduced various curve-fitting techniques when asking students to fit a set of experimental data on the rheological behavior of creams and lotions, that is, the viscosity versus shear stress data taken from the Center for Industrial Rheology,[5] to the classical Carreau model. Zamora et al.[6] introduced various numerical methods to solve partial differential equations, such as finite difference methods and finite volume methods, through a course project involving solving the Navier-Stokes equation governing a laminar, forced, two-dimensional flow between two flat plates. Campo et al.[7] introduced the numerical method of the transversal method of lines for the prediction of the friction factors and the axial descent of the convection coefficients in the upstream region of internally finned tubes for laminar regimes.
Purpose
The goal of this case study is to seamlessly integrate numerical methods and associated MATLAB programming into a fluid mechanics course in the form of learning modules and course projects. Four modules will be made available to the students, including root finding, curve fitting, numerical integration, and numerical solution of ordinary differential equations (ODEs). Each module is a concise yet self-sufficient teaching unit, and it takes the learn-by-example approach, emphasizing the practical application of the numerical methods rather than the complexity of the mathematics involved. Each learning module is associated with two course projects. Upon successful completion of the course projects, the students are expected to be able to develop scripts and graphics within MATLAB environment, use numerical methods to handle systems that are impossible to solve analytically with standard calculus, and design numerical procedures to tackle practical problems in various engineering disciplines that cannot be approached using commercially available software.
Without altering the current curricula, this practice has the effect of broadening the essential skillset of engineering technology graduates and stimulating students' interest in numerical methods and programming, timely addressing the demands from the industry. The practice also helps the Bachelor of Science programs offered by the Department of Engineering Technology and Industrial Distribution meet the Accreditation Board for Engineering and Technology (ABET) requirements, as the student outcomes in the recently updated ABET engineering accreditation criteria include "an ability to apply knowledge, techniques, skills and modern tools of mathematics, science, engineering, and technology to solve broadly defined engineering problems appropriate to the discipline."[8]
Method
The course aims to give students broad information on both the principles of fluid mechanics and the application of these principles to practical, applied problems. The book entitled "Applied Fluid Mechanics" by Mott and Untener has been used as the textbook.[9] The course content is tailored to fit a one-semester schedule. Four learning modules and eight course projects were developed to embed numerical methods and MATLAB programming into the course, as shown in Figure 1, each learning module being associated with two course projects.
Graph: Figure 1. Four learning modules and eight course projects were embedded into the course.
Curve-fitting module
During the 1st week, students obtain experimentally measured data of the dynamic viscosity of liquids
Graph
where both
Graph: Figure 2. The learning module on linearization of nonlinear relationships.
During the 12th week, students obtain experimentally measured data of the velocity profile of a turbulent flow in an open channel. In a near wall flow, there exist three layers, that is, the viscous sublayer, the buffer layer, and the log-law layer. In the log-law layer, which occupies the majority of the water column, the time-averaged velocity at a certain point,
Graph
where both
Numerical integration module
During the 3rd week, when students learn forces due to static fluids, they are asked to calculate the total force exerted by water to the upstream face of a dam,
Graph
where
Numerical integration is used where an integral is impossible to solve analytically. The learning module on numerical integration is shown in Figure 3, including both composite trapezoidal rule and composite Simpson's 1/3 rule. The technique of composite trapezoidal rule is to subdivide the interval and approximate the integral of the function with a number of trapezoids, whereas the approach of composite Simpson's 1/3 rule is to subdivide the interval and approximate the integral of the function with a number of quadratics. During the 3rd week, students are asked to calculate the total force exerted by water to the upstream face of a dam using both methods. During the 8th week, students are asked to calculate the volumetric flow rate
Graph
where
Graph: Figure 3. The learning module on numerical integration methods.
Numerical solution of ODEs module
The Roman natural philosopher, Pliny the Elder, purportedly had an intermittent fountain in his garden.[2] The water enters a cylindrical tank at a constant flow rate,
Graph
where
The learning module on numerical techniques to solve ODEs is shown in Figure 4, including Euler's method, Heun's method, Ralston's method, and the classical fourth-order Runge-Kutta method. During the 5th week, students are asked to use these techniques to solve the intermittent fountain problem. As a review, during the 13th week, students are asked to compute the motion of a sphere moving relative to a fluid flow,[9] based on equations (6) and (7).
Graph
Graph
where
Graph: Figure 4. The learning module on numerical methods to solve ordinary differential equations.
Root-finding module
The Colebrook equation is an empirical relationship among the friction factor
Graph
One of the course projects is to ask students to numerically solve the Colebrook equation and plot the Moody diagram, which serves as a valuable opportunity to introduce in curricula various root-finding methods. The two parts of the learning module on root-finding methods are shown in Figures 5 and 6, respectively. The first part focuses on the bracketing methods, including the bisection method and the false position method. The second part focuses on the open methods, including the Newton-Raphson method and the secant method. In the 7th week, students are asked to solve the Colebrook equation using these methods. As a review, in the 12th week, students are asked to solve the nonlinear Manning equation for a rectangular open channel,[9] as shown in equation (9).
Graph
where
Graph: Figure 5. Part one of the learning module on root-finding methods includes the bracketing methods, that is, the bisection method and the false position method.
Graph: Figure 6. Part two of the learning module on root-finding methods includes the open methods, that is, the Newton-Raphson method and the secant method.
It is extremely important to let the students know that different problems have distinct numerical characteristics and careful selection of the most appropriate numerical scheme is crucial. To plot the Moody diagram, either the bisection method or the false position method can be used. However, the bisection method is clearly superior to the false position method because the false position method has a major weakness, that is, its one-sidedness. As iterations are proceeding, one of the bracketing points will tend to stay fixed. This can lead to poor convergence, particularly for functions with significant curvature. For example, either the bisection method or the false position method can be used to locate the root of
Graph: Figure 7. Plot of g(f)=1f+2log10(2.51Ref+ϵ/D3.71), which illustrates the slow convergence of the false position method.
Course feedback
According to the instructor's classroom observation, students appeared to be engaged deeply with the course material, and classroom discussions on numerical methods and MATLAB programming were lively and frequent. In addition, some students expressed their interest in numerical methods via email or office hour visits during the semester. The instructor assisted numerous students in MATLAB scripting and debugging during office hours. Students' attendance rate and course performance were both satisfactory.
The submitted assignments were evaluated with rubrics against the ABET criterion "an ability to apply knowledge, techniques, skills and modern tools of mathematics, science, engineering, and technology to solve broadly defined engineering problems appropriate to the discipline."[8] There are 9%, 0%, 21%, 20%, 30%, and 20% of students meet the missing, emerging, developing, practicing, maturing, and mastering level, respectively. The overall outcome was considered as satisfactory.
To collect students' opinions, two different survey instruments have been used. First, there is the end-of-the-semester course survey, which is the anonymous survey uniformly conducted by Texas A&M University for each course at the end of each semester.[13] It is an in-depth survey designed by the university to collect the feelings and thoughts from the students on their overall learning experience, and thus it does not contain questions specifically related to numerical methods or MATLAB programming. Secondly, a Qualtrics survey designed by the instructor is used. The questions are directly related to numerical methods and MATLAB programming.
Students' feedback in the anonymous course survey was overall positive. Students' rating to the most related questions is presented in Table 1. In the semester of Fall 2023, 125 students were enrolled in the course, and 47 students responded to the end-of-the-semester course survey. This response rate is typical, since some of the strategies to encourage students to complete the survey, such as providing bonus point as incentives, are not allowed at Texas A&M University.[13]
Table 1. Students' rating in the end-of-the-semester course survey.
Graph
Students' rating in the Qualtrics survey designed by the instructor is presented in Table 2. A total of 40 students responded to the Qualtrics survey. The survey has only four questions. For each question, the students are asked to answer on a scale of five values: 1: Strongly disagree, 2: Somewhat disagree, 3: Neither disagree nor agree, 4: Somewhat agree, and 5: Strongly agree.
Table 2. Students' rating in the Qualtrics survey designed by the instructor.
Graph
In addition, in the anonymous end-of-the-semester course survey, many students expressed positive attitudes toward the subject matter, the course materials, the teaching approach, and the instructor. All the text data were selected for analysis. When the method of qualitatively coding recommended by Creswell[14] was used to analyze the data, two strong themes emerged. Some representative comments are provided under each theme.
Theme #1: The course materials are interesting and enjoyable.
Theme #2: The teaching method is effective, and the course is well organized.
Conclusions
In this case study, the effectiveness of embedding numerical methods and MATLAB programming in MMET 303 Fluid Mechanics and Power, a four-credit junior-level required course offered every semester for undergraduates at the Department of Engineering Technology and Industrial Distribution at Texas A&M University, was assessed. A series of learning modules were purposefully designed and implemented as a trial test in the classes offered in the semester of Fall 2023. According to the instructor's classroom observation, students appeared to be engaged deeply with the course material, and classroom discussions on numerical methods and MATLAB programming were lively and frequent. In addition, some students expressed their interest in numerical methods and MATLAB programming via email or office hour visits during the semester. The submitted assignments were evaluated with rubrics against the ABET criterion and the results were overall satisfactory. To collect students' opinions, two different survey instruments were used, and the feedback was considered as positive. This study suggested that embedding numerical methods and associated MATLAB programming into a required course enhanced students' analytical skills of using numerical approaches to tackle practical problems, helping them become better prepared as they move on into the industrial companies or the graduate schools.
Acknowledgements
The editors and reviewers are thanked for their constructive comments that enhanced the quality of this manuscript.
Footnotes
1 The author declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
2 The author received no financial support for the research, authorship, and/or publication of this article.
3 Texas A&M University's Institutional Review Board reviewed and approved the research study under Exempt Category 1 at 45 CFR 46.104. The IRB number is 162456.
4 Congrui Jin https://orcid.org/0000-0003-0606-5318
5 The datasets generated during and/or analysed during the current study are available from the corresponding author on reasonable request.
6 [5]
References
Online source: https://engineering.tamu.edu/etid/about/index.html.
Chapra SC, Canale RP. Numerical methods for engineers. New York: McGraw-Hill, 2012.
Praks P, Brkic D. Advanced iterative procedures for solving the implicit Colebrook equation for fluid flow friction. Adv Civil Eng. 2018; 2018: 5451034.
Castilla R, Pena M. Jupyter notebooks for the study of advanced topics in fluid mechanics. Comput Appl Eng Educ. 2023; 31: 1001–1013.
Online Source: https://www.rheologylab.com/articles/emulsion-stability/.
Zamora B, Kaiser AS, Vicente PG. Improvement in learning on fluid mechanics and heat transfer courses using computational fluid dynamics. Int J Mech Eng Educ. 2010; 38: 147–166.
7 Campo A, Ledezma GA, Mariscal IC. Prediction of friction factors and axial descent of convective coefficients in laminar flows through internally finned tubes by way of solving two-dimensional heat conduction equations. Int J Mech Eng Educ. 2008; 36: 48–57.
8 Online source: https://engineering.tamu.edu/etid/about/accreditation/mmet.html.
9 Mott RL, Untener JA. Applied fluid mechanics. Boston: Pearson, 2015.
Miguntanna NS, Moses H, Sivakumar M, et al. Re-examining log law velocity profile in smooth open channel flows. Environ Fluid Mech. 2020; 20: 953–986.
Colebrook CF, White CM. Experiments with fluid friction in roughened pipes. Proc R Soc Lond Ser A-Math Phys Sci. 1937; 161: 367–381.
Moody LF. Friction factors for pipe flow. Trans ASME. 1944; 66: 671–684.
Online source: https://assessment.tamu.edu/Menu/Student-Course-Evaluations.
Creswell JW. 30 Essential skills for the qualitative researcher. Los Angeles: Sage, 2015.
By Congrui Jin
Reported by Author