The free surface on a liquid filling a trench heated from its side