Anelastic convection in the mantle with variable properties