It is time for another update about my hobby project. I have been working on a module to perform basic operations on the geometry used to perform CFD simulations. Originally my application did this inside the module used to configure meshing with snappyHexMesh. However, this directly linked the geometry assembly to the mesh. I wanted to separate the two tasks for two reasons: Allow the same geometry assembly to be reused in multiple simulations. This also allows to reduce the number of times the same geometry information is stored, which is good side effect. Reduce the complexity of the mesh configuration tool. Focus of this update is the part of…
-
-
Thank you Another Fine Mesh for the mention!
Many thanks to John Chawner for the mention in Another Fine Mesh (Reading section).
-
P. 3. The structure of dictionaries (Ep. 2)
In the last post of this series the general structure of a dictionary was introduced. We will now see the basic structure of entries. The first point to make is that entries in OpenFOAM® dictionaries can be of several types but they all follow the key/value format, at least in a broad sense.
-
Some updates on my hobby project
Some time ago I tweeted about working on a web-based UI for our codes (and snappyHexMesh) to facilitate working with students and also to make the process less tedious for me, which does not hurt. I have never done development with web technologies until two years ago: most of my focus has been on implementing numerical algorithms. I have written UI code in the past using GTK and Qt, but I was quite far from anything web-related, aside from basic HTML. Saying the learning curve was steep is an understatement, but with the help of a very good friend (with the patience of a saint 😀 ) I have slowly…
-
P. 2. The structure of dictionaries (Ep. 1)
Dictionaries are what OpenFOAM® uses as input files, but the same name is used to indicate some of the structures inside such files. In this part a general overview of their structure is provided.
-
P. 1. Dimensional units in OpenFOAM
One of the first OpenFOAM features users encounter when they start learning how to set simulations up is that the code verifies the dimensional consistency of the variables involved in operations. Some details about this feature will be discussed in this post.
-
A new series of blog posts
The new year brings some novelty and one of them is that I am starting a series of blog posts on various technical aspects in OpenFOAM®.
-
VS Code extension for OpenFOAM
A useful VS Code extension for OpenFOAM dictionaries has been developed by Zhikui Guo. It adds color highlighting to the sections of an OpenFOAM dictionary.
-
CFD of electrostatic charging in fluidized beds – New article
Our new article on the modeling of triboelectric charging due to particle-particle and particle-wall collisions of particles made of insulating materials in gas-solid fludized beds is now published and available online.
-
Contributing research work to open-source projects
As the main developer of OpenQBMM, an add-on for OpenFOAM which implements quadrature-based moment methods for the solution of generalized population balance equations, I have been recently involved in the transfer of the copyright on the OpenQBMM code base to the OpenFOAM Foundation, to be able to contribute the corresponding source code to them. I summarize here some motivations, lessons learned and some advice that may be useful to others who want to follow the same path. Why contribute? This is a question several have asked. Why contribute a code base that took four years of work to be build (and quite some nights, holiday, weekends too), including research, overcoming…