Skip to content

Interactive courseware that introduces foundational-level concepts as taught in introductory courses in fluid mechanics.

License

Notifications You must be signed in to change notification settings

MathWorks-Teaching-Resources/Fluid-Mechanics

Repository files navigation

Fluid Mechanics

Curriculum Module

View on File Exchange or Open in MATLAB Online

MATLAB Versions Tested

Curriculum Module

Created with R2022b. Compatible with R2024a and later releases.

Information

This curriculum module contains interactive MATLAB® live scripts that teach fundamental concepts of fluid mechanics. Topics addressed include dimensional analysis, control volume analysis, internal flow analysis, mass, momentum, and energy conservation equation. You can explore various fluid dynamics applications from your home plumbing to leaving the earth’s orbit and flying on another planet.

Background

You can use these live scripts as demonstrations in lectures, class activities, or interactive assignments outside class. The module is divided into five interactive instructional scripts.

The instructions inside the live scripts will guide you through the exercises and activities. Get started with each live script by running it one section at a time. To stop running the script or a section midway (for example, when an animation is in progress), use the image_0.png Stop button in the RUN section of the Live Editor tab in the MATLAB Toolstrip.

Contact Us

Solutions are available upon instructor request. Contact the MathWorks teaching resources team if you would like to request solutions, provide feedback, or if you have a question.

Prerequisites

These scripts assume knowledge common with basic derivative and integral calculus and common mechanical and thermodynamics concepts such as energy and temperature. There is minimal MATLAB and Simulink knowledge required to complete the module. ManOnTheMoon is the only script that comes with no expected knowledge computing knowledge. It is highly encouraged to complete additional training for the rest of the module, starting with and Introduction to Symbolic Math with MATLAB. Those interested in additional training should consider completing Simulink Onramp & Simscape Onramp as a further learning exploration.

Getting Started

Accessing the Module

On MATLAB Online:

Use the image_1.png link to download the module. You will be prompted to log in or create a MathWorks account. The project will be loaded, and you will see an app with several navigation options to get you started.

On Desktop:

Download or clone this repository. Open MATLAB, navigate to the folder containing these scripts, and double-click fluid-mechanics.prj. It will add the appropriate files to your MATLAB path and open an app asking where you would like to start.

Ensure you have all the required products (listed below) installed. If you need to include a product, add it using the Add-On Explorer. To install an add-on, go to the Home tab and select image_2.png Add-Ons > Get Add-Ons.

Products

MATLAB®, Mapping Toolbox™ (optional), Symbolic Math Toolbox™, Simulink®, Simscape™

Scripts

In this script, students will...
image_3.png
$\bullet$ Learn about conservation laws.
$\bullet$ Apply the control volume method.
$\bullet$ Develop theoretical models of a rocket launch.
In this script, students will...
image_4.png
$\bullet$ Learn about the link between pressure and velocity.
$\bullet$ Explore Bernoulli's equation
In this script, students will...
image_5.png
$\bullet$ Learn about energy and power in a fluid system.
$\bullet$ Apply the conservation of energy.
$\bullet$ Analyze the potential of renewable energy sources.
In this script, students will...
image_6.png
$\bullet$ Learn about the concept of head losses in a pipping network.
$\bullet$ Model a house plumbing using Simscape fluid.
$\bullet$ Explore time-dependent simulations.
In this script, students will...
image_7.gif
$\bullet$ Learn about the concept of dimensionless numbers.
$\bullet$ Explore the design of the Ingenuity copter.
$\bullet$ Perform a complete dimensional analysis.

Related Courseware Modules

Available on:
image_8.png
image_9.png
image_10.png

Or feel free to explore our other modular courseware content.

Educator Resources

Contribute

Looking for more? Find an issue? Have a suggestion? Please contact the MathWorks teaching resources team. If you want to contribute directly to this project, you can find information about how to do so in the CONTRIBUTING.md page on GitHub.

Copyright 2023 The MathWorks™, Inc