Fluid Mechanics
FLUID MECHANICS
Curriculum Module
Created with R2023a. Compatible with R2023a and later releases.
Description
This curriculum module contains interactive 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.
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 and one project.
Get started with the fluid mechanics interactive examples
Option 1: Download to Desktop Download and unzip the repository. Then, double-click the fluid-mechanics.prj
file inside MATLAB®.
Option 2: Log in to your MathWorks account to access your license. If you are associated with a university, use your university email to access a license.
- From there, you can follow the landing page instructions to get started with the examples.
- 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, if a loop is running longer than intended), click the
Stop button in the RUN section of the Live Editor tab in the MATLAB Toolstrip.
Contact Us
Solutions are available upon instructor request. If you would like to request solutions or have a question, contact the MathWorks online teaching team.
Prerequisite Domain Knowledge
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 MATLAB Onramp and Introduction to Symbolic Math with MATLAB. Those interested in additional training should consider completing Simulink Onramp & Simscape Onramp as a further learning exploration.
Details
Navigation.mlx This script brings together links and short descriptions of the content in the recommended order of use.
ManOnTheMoon.mlx
A control volume method introduction, with application to developing a theoretical model for Apollo 11’s launch.
In this script, students will...
- Learn about conservation laws
- Apply the control volume method
- Develop a theoretical model of rocket launch
In this script, students will...
- Learn about the link between pressure and velocity
- Explore Bernoulli's equation & principle
- Study converging pipe flow, Pitot tube, and lift generation
In this script, students will...
- Learn about energy and power in a fluid system
- Apply the conservation of energy
- Analyze the potential of renewable energy source
In this script, students will...
- Identify and estimate head losses in a fluid network
- Model a fluid network using Simscape Fluids
- Explore time-dependent simulations
In this script, students will...
- Learn about the concept of dimensionless number
- Explore the design of the Ingenuity copter
- Perform a complete dimensional analysis
Other related content...
Or feel free to explore our other featured content.
Data Files
- Apollo14.mat is used in
ManOnTheMoon.mlx
, it contains launch data from Apollo 14 - DataCenter.mat is used in
CarbonNeutral.mlx
, it contains fabricated electrical comsumption data for the MathWorks data center - HeadLoss.mat is used in
InternalFlow.mlx
, it contains the location of the head losses to find on the house plumbing - Ingenuity.mat is used in
Ingenuity.mlx
, it contains the results from Simulink simulation of Ingenuity - IngenuitySoln.mat is used in
Ingenuity.mlx
, it contains the solution of an exercise ofIngenuty.mlx
- NatickWeather.mat is used in
CarbonNeutral.mlx
, it contains the weather data from a weather station at the MathWorks headquarters
Products
MATLAB®, Mapping Toolbox™, Symbolic Math Toolbox™, Simulink®, and Simscape™.
License
The license for this module is available in the LICENSE.md file in this GitHub repository.
Support
Please contact the MathWorks online teaching team.
Copyright 2023 The MathWorks™, Inc.
Cite As
Valentin Boutrouche (2023). Fluid Mechanics (https://github.com/MathWorks-Teaching-Resources/Fluid-Mechanics/releases/tag/v2.0.0), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Communities
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
buildutil
tests
HelperFunctions
Version | Published | Release Notes | |
---|---|---|---|
2.0.0.0 | See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Fluid-Mechanics/releases/tag/v2.0.0 |
||
1.0.2.0 | See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Fluid-Mechanics/releases/tag/v1.0.2 |
||
1.0.1.0 | See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Fluid-Mechanics/releases/tag/v1.0.1 |
||
1.0.0 |