MATLAB Program for Automated Analysis of Generalized Couette Flow with Permeable Boundaries and a Quadratic Velocity Profile

Published: 20 November 2025| Version 1 | DOI: 10.17632/stbskjtmcp.1
Contributors:
,

Description

This MATLAB program provides a comprehensive analysis of the generalized Couette flow between permeable parallel plates. The flow is characterized by a quadratic velocity profile at the upper boundary, defined by linear (A) and quadratic (B) coefficients, and a constant normal velocity (Vw) through the boundaries, representing wall permeability. The code is structured in two main parts. Part 1 performs a detailed parametric study of the influence of the signs and magnitudes of coefficients A and B on the flow structure, using water at 20°C as a model fluid. Part 2 conducts a comparative analysis of the flow for six different real Newtonian fluids (water, SAE30 motor oil, and crude oil at two temperatures each), examining the effects of their varying rheological properties (dynamic viscosity and density) on the velocity, vorticity, and shear stress fields. The core of the program is an exact analytical solution of the Navier-Stokes equations, which is used to compute all flow characteristics with high precision, avoiding numerical differentiation errors. The software automatically generates a full set of visualizations (contour plots, vector fields, line profiles) and saves the numerical results in a structured .mat file for further analysis, making it a valuable tool for researchers in fluid dynamics, tribology, and microfluidics.

Files

Steps to reproduce

1. Requirements: Ensure you have MATLAB R2023b (or a compatible newer version) installed on a Windows 10 (or later) operating system. 2. Download: Download the file Automated_Analysis_of_Generalized_Couette_Flow.m from this repository. 3. Run: Open MATLAB, navigate to the directory containing the downloaded file, and run the script by typing its name in the command window and pressing Enter:  Automated_Analysis_of_Generalized_Couette_Flow 4. Output: The program will execute automatically. It will create a new timestamped folder (e.g., Couette_Analysis_2024-10-28_14-30-00) in the current directory. This folder will contain: Six (6) high-resolution .png files with the core visualizations A comprehensive Analysis_Parameters_and_Results.txt file with all input parameters and a summary of the numerical results A Couette_Analysis_Data.mat file containing all computed data structures for potential post-processing or further analysis in MATLAB 5. Verification: The command window will display a log of the calculation process, including fluid properties, verification messages, and a final success notification confirming the location of all generated files. 6. Processing Time: The analysis typically completes within 2-5 minutes depending on your system specifications. No user intervention is required during execution.

Institutions

  • Samara State Technical University
  • Ural'skij federal'nyj universitet imeni pervogo Prezidenta Rossii B N El'cina

Categories

Computer Science, Engineering, Mechanical Engineering, Applied Mathematics, Numerical Analysis, Computational Physics, Fluid Dynamics, Fluid Mechanics

Licence