Star–planet interactions: a computational view