Search

Compressible Flow Implementation with FeniCS

ํƒœ๊ทธ
Projects
Python
FeniCS
๐Ÿ‘ฅ Authors
Changyong Song, Nurshat Menglik
๐ŸŽฏ Target
Analysis of Compressible Flow Using FEniCS
8 more properties

Compressible Flow Simulation using FEniCS

I implemented a simulation of compressible fluid flow using the finite element framework FEniCS. The governing equations include the full Navierโ€“Stokes equations, accounting for variable density, momentum conservation, and thermal energy transport:
โ€ข
Mass conservation: โˆ‚ฯ/โˆ‚t + โˆ‡ยท(ฯu) = 0
โ€ข
Momentum equation includes both viscous and pressure forces with variable density
โ€ข
Energy conservation: accounts for heat convection and conduction
I derived and implemented the weak forms of these equations to suit finite element analysis.
During simulation, we encountered numerical instability, particularly in the advection term. To address this, we plan to incorporate SUPG (Streamline Upwind Petrov-Galerkin) stabilization, which mitigates oscillations and enhances robustness in advection-dominated flows.
This approach is expected to improve both convergence and physical realism of the compressible flow model.