We present NUFEB, a flexible, efficient, and open source software for simulating the 3D dynamics of microbial communities. The tool is based on the Individual-based Modelling (IbM) approach, where microbes are represented as discrete units and their behaviour changes over time due to a variety of processes. This approach allows us to study population behaviours that emerge from the interaction between individuals and their environment. NUFEB is built on top of the classical molecular dynamics simulator LAMMPS, which we extended with IbM features. A wide range of biological, physical and chemical processes are implemented to explicitly model microbial systems. NUFEB is fully parallelised and allows for the simulation of large numbers of microbes (10 7 individuals and beyond). The parallelisation is based on a domain decomposition scheme that divides the domain into multiple sub-domains which are distributed to different processors. NUFEB also offers a collection of post-processing routines for the visualisation and analysis of simulation output. In this article, we give an overview of NUFEB's functionalities and implementation details. We provide examples that illustrate the type of microbial systems NUFEB can be used to model and simulate.
Author summaryIndividual-based Models (IbM) are one of the most promising frameworks to study microbial communities, as they can explicitly describe the behaviour of each cell. The development of a general-purpose IbM solver should focus on efficiency and flexibility due to the unique characteristics of microbial systems. However, available tools for these purposes present significant limitations. Most of them only facilitate serial computing for single simulation, or only focus on biological processes, but do not model mechanical and chemical processes in detail. In this work, we introduce the IbM solver NUFEB May 17, 2019 1/19 that addresses these shortcoming. The tool facilitates the modelling of much needed biological, chemical, physical and individual microbes in detail, and offers the flexibility of model extension and customisation. NUFEB is also fully parallelised and allows for the simulation of large complex microbial system. In this paper, we first give an overview of NUFEB's functionalities and implementation details. Then, we use NUFEB to model and simulate a biofilm system with fluid dynamics, and a large and complex biofilm system with multiple microbial functional groups and multiple nutrients. 1 This is a PLOS Computational Biology Software paper. 28 biological, chemical and physical processes, or sometimes it may be a simple model that 29 describes mono-functional group or focuses on a few processes. Thus, it is important for 30 the solver to be highly customisable (for building IbM) and extendible (with new IbM 31 features). Second, the solver should be scalable. Simulation of large microbial 32 communities is difficult since they contain a very high number of individuals. Different 33 modelling strategies have been proposed to overcome this limitation, inclu...