Melting and adiabatic temperature distributions in the outer earth core