It's very important that you stick to the doctors diet because you could harm yourself. Your stomach is swollen after surgery. Also, it's a mind thing because you are not use to diet. Not sticking with the plan could cause you to slip into old habits and possible gaining weight.
Be strong!