Incompressible Navier-Stokes solver in Python

The use of numerical methods to solve flow dynamics problems has been a major issue of study since the fifties of the last century. The need of developing high performance military planes produced the discovery of a very powerful tool for the engineering sector. Since then, the use on computational...

ver descrição completa

Detalhes bibliográficos
Autor: Galí i Gimeno, Jordi
Tipo de documento: dissertação
Data de publicação:2021
País:España
Recursos:Universitat Politècnica de Catalunya (UPC)
Repositório:UPCommons. Portal del coneixement obert de la UPC
Idioma:inglês
OAI Identifier:oai:upcommons.upc.edu:2117/360887
Acesso em linha:https://hdl.handle.net/2117/360887
Access Level:Acceso aberto
Palavra-chave:Fluid dynamics--Mathematical models
Navier-Stokes equations
Navier-Stokes
Python
Dinàmica de fluids--Models matemàtics
Equacions de Navier-Stokes
Àrees temàtiques de la UPC::Enginyeria mecànica::Mecànica de fluids
Descrição
Resumo:The use of numerical methods to solve flow dynamics problems has been a major issue of study since the fifties of the last century. The need of developing high performance military planes produced the discovery of a very powerful tool for the engineering sector. Since then, the use on computational fluids dynamics is one of the fundamental topics of study in the Aerospace engineering master’s degrees. With that, this thesis is focused on developing an educational code able to solve incompressible cases with an open source programming language. It is said that the code developed is for educational purposes because the main objective is to build a procedure to validate each function added at the code. Once the main functions are validated, a code will be build to solve periodic and wall bounded cases. It is clear then that the first objective is to validate all the different functions that will be part of the main code. Once this objective is achieved, the second one is to solve a periodic case and a wall bounded case. Both studies must have a way of validating the results, when this is done, the solver will be developed correctly. The flow dynamics method used is the fractional step method that will need the Ladyzhenskaya decomposition theorem, also known as the Helmholtz–Hodge theorem. For the study a staggered mesh is used, this means that it contains the scalar variables at the center of the cells and the velocity vectors are located at the face of the cells. This method is very useful for incompressible cases with educational purposes because of its simplicity.