config.params["friction"] now supports dolfin Expression/Constant