CODING September 12, 2019

Object Registration in OpenFOAM

Being aware of all the important variables during the simulation is a nice feature to have in any CFD...

CODING August 29, 2019

The forAll Macro in OpenFOAM

Because of the frequent use of range-like loops in OpenFOAM (In official code base, forks, and any independent work for that matter), the nice developers provided a “shortcut” to loop through all elements of a list; any list. This post tries to take ...

PRODUCTIVITY August 28, 2018

Customize VIM to work efficiently with OpenFOAM - Part 2

We’ve seen in the previous part some ways to improve our interaction with OpenFOAM case directories and files. In this new post, we want to implement something that facilitates running blockMesh, or the case solver, right from inside VIM; without going...

PRODUCTIVITY August 27, 2018

Customize VIM to work efficiently with OpenFOAM - Part 1

Today, I’m starting new (short) post series suggesting tricks to customize the VIM text editor so it can be used to edit OpenFOAM cases more efficiently. Of course, making VIM work optimally with every single piece of software you have installed through...