External forcing function