In the present paper we consider the Navier---Stokes equations for the two-dimensional viscous incompressible fluid flows and apply to these equations our earlier designed general algorithmic approach to generation of finite-difference schemes. In doing so, we complete first the Navier---Stokes equations to involution by computing their Janet basis and discretize this basis by its conversion into the integral conservation law form. Then we again complete the obtained difference system to involution with eliminating the partial derivatives and extracting the minimal Grobner basis from the Janet basis. The elements in the obtained difference Grobner basis that do not contain partial derivatives of the dependent variables compose a conservative difference scheme. By exploiting arbitrariness in the numerical integration approximation we derive two finite-difference schemes that are similar to the classical scheme by Harlow and Welch. Each of the two schemes is characterized by a 5×5 stencil on an orthogonal and uniform grid. We also demonstrate how an inconsistent difference scheme with a 3×3 stencil is generated by an inappropriate numerical approximation of the underlying integrals.
[1]
F. Harlow,et al.
Numerical Calculation of Time‐Dependent Viscous Incompressible Flow of Fluid with Free Surface
,
1965
.
[2]
C. Pozrikidis,et al.
Fluid Dynamics: Theory, Computation, and Numerical Simulation
,
2001
.
[3]
Yuri A. Blinkov,et al.
Involutive bases of polynomial ideals
,
1998,
math/9912027.
[4]
R. Sani,et al.
On pressure boundary conditions for the incompressible Navier‐Stokes equations
,
1987
.
[5]
Vladimir P. Gerdt,et al.
Completion of Linear Differential Systems to Involution
,
1999,
CASC.
[6]
Maurice Janet,et al.
Leçons sur les systèmes d'équations aux dérivées partielles
,
1930,
Nature.
[7]
Vladimir P. Gerdt,et al.
Gröbner Bases and Generation of Difference Schemes for Partial Differential Equations
,
2006,
ArXiv.
[8]
Philip Rabinowitz,et al.
Methods of Numerical Integration
,
1985
.