DEV Community

Precise Simulation
Precise Simulation

Posted on • Updated on

Easy MATLAB CFD Simulation Tutorial - Flow Around a Cylinder

This tutorial model example illustrates how one can set up and solve computational fluid dynamics problems both easily and quickly with the FEATool Multiphysics FEM and CFD Toolbox for MATLAB.

MATLAB GUI for CFD simulations

YouTube Flow Around a Cylinder CFD Benchmark MATLAB Tutorial

This model example studies stationary and laminar flow around a cylindrical obstacle in a channel with Re=20. The computed pressure drop, and drag and lift coefficients are compared with established benchmark references to assert the accuracy of the simulation.

Although not featured in this tutorial, in addition to the built-in stationary, non-linear, and transient flow solvers, FEATool also features built-in GUI interfaces for the FEniCS and OpenFOAM CFD solvers. A benchmark study has been made which compares OpenFOAM, FEniCS and FEATool for this fluid flow test case and illustrates how well ones can perform CFD bencmark and simulations in Matlab.

The model is also available in the tutorial and examples section of the FEATool Multiphysics User's Guide:

FEATool User's Guide: Flow Around a Cylinder CFD Benchmark MATLAB Tutorial

References:

[1] John V, Matthies G. Higher-order finite element discretizations in a benchmark problem for incompressible flows. International Journal for Numerical Methods in Fluids 2001.

[2] Nabh G. On higher order methods for the stationary incompressible Navier-Stokes equations. PhD Thesis, Universitaet Heidelberg, 1998.

Top comments (0)