Modeling of thickness for semisolid foods