Physicochemical modeling of composition of foam glass-crystal materials