MATLAB Code for Numerical Simulation and Visualization of 2D Inclined Viscous-Gravity Flow with Nonlinear Boundary Conditions
Abstract
This dataset contains a complete MATLAB script for simulating and visualizing a steady, two-dimensional flow of a viscous fluid down an inclined plane under the influence of gravity. The model implements an analytical-numerical solution incorporating nonlinear (quadratic) boundary conditions for the surface velocity. Key features include: computation of velocity component profiles (Vx, Vy), analysis of dimensionless parameters (Reynolds and Froude numbers), advanced streamline tracing using the stream2 function, and investigation of flow phenomena such as flow reversal and particle trajectories. The code is self-contained, fully commented, and designed for reproducibility. It serves as a valuable tool for research and education in computational fluid dynamics, stability analysis of stratified flows, and applied mathematics.
Fields of Study & Subjects
Fluid dynamics and aerodynamics studies
Fluid Dynamics and Turbulent Flows
Fluid Dynamics and Thin Films
Publication details
- Journal / source
- Mendeley Data
- Publication date
- 15 January 2026
- Document type
- Dataset