We develop a tricomponent (ternary) hydrodynamic model for multiphase flows of biomass and solvent mixtures, which we employ to simulate biofilm. In this model, the three predominant effective components in biofilms, which are the extracellular polymeric substance (EPS) network, the bacteria, and the effective solvent (consisting of the solvent and nutrient, etc.), are modeled explicitly. The tricomponent fluid mixture is assumed incompressible as a whole, while intercomponent mixing, dissipation, and conversion are allowed among the effective components.