Un Approccio al Lattice Boltzmann Method per la Simulazione di Flusso 2D Attorno a un Cilindro

Il Lattice Boltzmann Method (LBM) è una tecnica potente e versatile per la simulazione numerica dei fluidi. Si distingue per la sua capacità di gestire complesse condizioni al contorno e per la relativa facilità di implementazione, rispetto ad altri metodi computazionali. Esploreremo, brevemente, la metodologia LBM attraverso una specifica implementazione: la simulazione del flusso bidimensionale…

Continua a leggere →

Calcolo e Visualizzazione di Derivate: Un Approccio Integrato Usando Python

This article melds symbolic math and data visualization to make the complex subject of derivatives more approachable. Leveraging Python’s SymPy for analytical solutions and Matplotlib for graphical insights, this comprehensive guide offers a dual lens on calculus. Step-by-step coding walkthroughs demystify the underlying calculations, while plots vividly illustrate how derivatives function as slopes of tangent…

Continua a leggere →

Velocità…

Il calcolo della velocità vera (TAS) e della ground speed (GS) di un aereo è un problema importante nella navigazione aerea. La velocità vera (True Air Speed, TAS) è la velocità effettiva del vento che incontra l’aereo, mentre la ground speed (GS) è la velocità dell’aereo rispetto al terreno, tenendo conto del vento. In questo…

Continua a leggere →

Uniform flow past a doublet…

A doublet alone does not give so much information about how it can be used to represent a practical flow pattern in aerodynamics. But let’s use our superposition powers: our doublet in a uniform flow turns out to be a very interesting flow pattern. Let’s first define a uniform horizontal flow. Now, we can calculate…

Continua a leggere →

Solving 2D Heat Equation…

Before we do the Python code, let’s talk about the heat equation and finite-difference method. Heat equation is basically a partial differential equation, it is If we want to solve it in 2D (Cartesian), we can write the heat equation above like this: where u is the quantity that we want to know, t is…

Continua a leggere →

1-D Linear Convection

The 1-D Linear Convection equation is the simplest, most basic model that can be used to learn something about CFD. With given initial conditions (understood as a wave), the equation represents the propagation of that initial wave with speed , without change of shape. Let the initial condition be . Then the exact solution of…

Continua a leggere →