Material Model and a solver implementation in SfePy