Appearance potential study of PrMn2 and SmMn2 intermetallics