not to necropost with this one, but man the replies upthread are bad :'-) ignore those guys scolding the idea of eating fat at all - if you're underweight, you probably do NEED fat. obviously it's bad to be overweight, but the fat reserves in your body do have important functions, metabolic and otherwise.
my personal assumption for why your stomach feels like it locks up is because you've fed yourself to the point of feeling overstuffed and uncomfortable enough times that now you have an instinctive fear of it. you can't really defeat that kind of fear by thinking it away, but you can reteach your body not to be scared by being careful not to trigger it. i would recommend small meals with higher frequency, maybe like 6 smaller meals a day instead of 3 larger ones.
a lot of talk about diet and eating online is motivated by people trying to sell you something. the one resource i've found for talking about diet for people who are underweight and doesn't have any kind of profit motive is people talking about what they prepare for their parents/grandparents/older relatives as caretakers.
one thing i've learned to do from reading people talk about that kind of thing is ovaltine, a nutritionally enhanced chocolate milk powder. you can serve it cold or hot with any kind of milk or milk substitute, and it's generally palatable and gentle on your stomach. when i needed to gain weight, i would drink it with lactose-free whole milk with some cream added (lactose-free milk is pretty easy to get where i live). you could also buy a big thing of lactaid pills online and take one with it. the pills are basically just the lactose digestion enzyme. obviously this whole milk side tangent is moot if you're not lactose intolerant or prefer soy milk or something :p
there are also some cookbooks online meant for caretakers of people with eating disorders going through refeeding. i find liquids easier to eat, so i recommend peanut butter shakes myself.