Predicting the initial steps of bacterial biofilm formation remains a significant challenge accross various fields, such as medical and industrial ones. Here we present a straightforward 3D theoretical model based on thermodynamic rules to assess the early stages of biofilm formation on different material surfaces. This model relying also on morphological aspects of bacteria, we used Atomic Force Microscopy images of two Gram negative bacteria, Pseudomonas fluorescens and Escherichia coli to determine their dimensions and geometries as single cells or in aggregated states. Algorithms developed for our modeling and numerical simulations generated a dataset of energetic minimized states, depending on the substrate. The model was applied to substrates widely used for bacteria immobilization in imaging applications. The results show that the different minimum energy values, depending of the substrate, can be correlated with the bacterial adhesion state, representing a potential tool for evaluating the early stages of biofilm formation on various surfaces.