S-PFM model for ideal grain growth