2D Unsteady Navier-Stokes

Solution of 2D Navier-Stokes equations

Al momento, stai seguendo questo contributo

The "UNSTEADY_NAVIER_STOKES" script solves the 2D steady Navier-Stokes equations.
The space discretization is performed by means of the standard Galerkin approach.
Bilinear quadrangular elements are used for the pressure and biquadratic quadrangular elements are used for the velocity.
This pressure and velocity interpolation satisfies the so-called LBB condition, which ensures the solvability of the algebraic system.
For the time integration the theta-method has been implemented. According to the value of theta these schemes are obtained:
0 -> Forward Euler
1/2 -> Crank-Nicolson
3/4 -> Galerkin
1 -> Backward Euler
The FEM parameters such as the number of finite elements and the number of Gauss integration points can be easily chosen.
The functions and the examples are developed according with Chapter 6 "Viscous incompressible flows" of the book "Finite Element Methods for flow problems" of Jean Donea and Antonio Huerta.
If you like the file, please give feedbacks.

Cita come

Andrea La Spina (2026). 2D Unsteady Navier-Stokes (https://it.mathworks.com/matlabcentral/fileexchange/60869-2d-unsteady-navier-stokes), MATLAB Central File Exchange. Recuperato .

Categorie

Scopri di più su Fluid Dynamics in Help Center e MATLAB Answers

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
2.1

.

1.5

.

1.4

.

1.3

.

1.2.0.0

.

1.1.0.0

.

1.0.0.0