Numerical Simulation of 2D Unsteady Micropolar Fluid Flow in a Lid-Driven Cavity with Full Dissipation Analysis
Description
This dataset contains MATLAB source code for the numerical simulation of a two-dimensional unsteady micropolar fluid flow inside a square cavity with a moving top lid. The implementation solves the full Eringen equations using a projection method with upwind convection, computes the complete micropolar dissipation function, and generates comprehensive visualizations of velocity, microrotation, vorticity, pressure, and energy dissipation fields. The code is self-contained and requires only standard MATLAB functionality.
Files
Steps to reproduce
Save the two files exactly as: StableMicropolarFlow.m (class definition), main_stable.m (main driver script). Open MATLAB (R2023a or later recommended). Set the current folder to the directory containing both files. Run the simulation by typing the following command in the MATLAB Command Window: main_stable The program will: Initialize the 2D micropolar flow field in a square cavity with a moving top lid, Iteratively solve the full Eringen equations using a projection method with upwind convection, Compute the complete dissipation function, Automatically create a subfolder named results and save all figures as high-resolution PNG images (600 dpi), Print key statistics to the console: maximum velocities, microrotation, pressure extrema, and total dissipation.
Institutions
- Samara State Technical University
- Ural'skij federal'nyj universitet imeni pervogo Prezidenta Rossii B N El'cina