We explore the suitability of ultracold collisions between spin-polarized $\mathrm{SrF}(^{2}\mathrm{\ensuremath{\Sigma}}^{+})$ molecules and
Rb(2S) atoms as elementary steps for the sympathetic cooling of $\mathrm{SrF}(^{2}\mathrm{\ensuremath{\Sigma}}^{+})$ molecules in a magnetic trap. To this end, we carry out quantum-mechanical scattering calculations on ultracold Rb + SrF collisions in a magnetic field based on an accurate potential-energy surface for the triplet electronic state of Rb-SrF developed ab initio using a spin-restricted coupled cluster method with single, double, and noniterative triple excitations [RCCSD(T)]. The Rb-SrF interaction has a global minimum with a well depth of 3444 ${\mathrm{cm}}^{\ensuremath{-}1}$ in a bent geometry and a shallow local minimum in the linear geometry. Despite such a strong and anisotropic interaction, we find that converged close-coupling scattering calculations on Rb + SrF collisions in a magnetic field are still possible using rotational basis sets including up to 125 closed rotational channels in the total angular momentum representation. Our calculations show that electronic spin relaxation in fully spin-polarized Rb-SrF collisions occurs much more slowly than elastic scattering over a wide range of magnetic fields (1--1000 G) and collision energies (${10}^{\ensuremath{-}5}--{10}^{\ensuremath{-}3}$ K), suggesting good prospects of sympathetic cooling into the microkelvin regime of laser-cooled $\mathrm{SrF}(^{2}\mathrm{\ensuremath{\Sigma}}^{+})$ molecules with spin-polarized
Rb(2S) atoms in a magnetic trap. We show that incoming
p-wave scattering plays a significant role in ultracold collisions due to the large reduced mass of the Rb-SrF collision pair. The calculated magnetic-field dependence of the inelastic cross sections at $1.4\phantom{\rule{0.28em}{0ex}}\ensuremath{\mu}\mathrm{K}$ displays a rich resonance structure including a low-field
p-wave resonance, which suggests that external magnetic fields can be used to enhance the efficiency of sympathetic cooling in heavy atom-molecule mixtures.
We investigate the energetics of the atom exchange reaction in the SrF + alkali-metal atom and CaF + alkali-metal atom systems. Such reactions are possible only for collisions of SrF and CaF with the lithium atoms, while they are energetically forbidden for other alkali-metal atoms. Specifically, we focus on SrF interacting with Li, Rb, and Sr atoms and use ab initio methods to demonstrate that the SrF + Li and SrF + Sr reactions are barrierless. We present potential energy surfaces for the interaction of the SrF molecule with the Li, Rb, and Sr atoms in their energetically lowest-lying electronic spin states. The obtained potential energy surfaces are deep and exhibit profound interaction anisotropies. We predict that the collisions of SrF molecules in the rotational or Zeeman excited states most likely have a strong inelastic character. We discuss the prospects for the sympathetic cooling of SrF and CaF molecules using ultracold alkali-metal atoms.