Traceback (most recent call last): I am currently learning Blender on Ubuntu 18.04 for openFOAM meshing. I was going through a tutorial today and the error in the image came up when I clicked on "Build" in the swiftBlock tab. Not entirely sure how to proceed.

Thanks in advance.
While I do not know a lot about this "OpenFOAM", it seems like it is a language or library designed to run on blender in order to generate meshes. According to the error, it says ZeroDivisionError: Float division by zero.

This is Python's (language blender is coded in) way of telling you that you are trying to divide a number by 0. I recommend checking your OpenFOAM code for instances where you do such a thing. The error also points you to the line of code that threw the error, so you might want to look at that closely.