 The primary objective of this single center, prospective, randomized, double blind clinical trial is to evaluate the effectiveness of anodal transcranial direct current stimulation tDCS combined with patient controlled analgesia PCA morphine, on intravenous morphine use for postoperative analgesia after thoracotomy. The intervention group will receive treatment with anodal tDCS, whereas the control group will receive sham stimulation. 