A climate model with cryodynamics and geodynamics