Model the formation of filamentous bacteria, which grow in long threadlike strands, by having preferred growth in the direction away from the surface of the biofilm. Filamentous bacteria occur in wastewater treatment activated sludge flocs, which are large aggregates of adherent bacteria. These flocs can be filtered out for drinking water purification and sewage treatment (Picio-reanu et al. 2004).