A general nonlinear mathematical model for soil consolidation problems