This category is dedicated to OpenFOAM tutorials.
How to use cfMesh ? A first tutorial based on the Ahmed bodyThis article focuses on the well-known Ahmed body test case and cfMesh v1.1. The case files can be downloaded for free (link at this end of this post). Introduction cfMesh is a mesher developed by Franjo Juretić (https://cfmesh.com/) and incorporated in OpenFOAM® (ESI-group…
How to add a passive scalar to your OpenFOAM® simulationsThe purpose of this post is to show how to add a passive scalar to your simulations without modifying a given solver. This feature is, for example, very useful when trying to track the concentration of inert species. The tutorial Cavity The Cavity tutorial is part…
Non uniform inlet profil with codedFixedValueIn most commercial codes (CFX, FLUENT, STARCCM + …) it is relatively easy to introduce a non-uniform profile for a boundary condition. For example, in case of a fully developed laminar at pipe entrance. It is possible to perform equivalent modeling with OpenFOAM® using the codedFixedValue boundary condition. The purpose…
How to use dynamicRefineFvMesh library using OpenFOAM® OpenFOAM® has a library (dynamicRefineFvMesh) allowing to realize an automatic mesh refinement during the computation process. This library is used with solvers containing “DyM” in their name (pimpleDyMFoam, interDyMFoam ..). For this article, we will illustrate the possibilities offered by this library with the interDyMFoam solver (version compatible…