Gas pains and abdominal pain 3 weeks post bypass an valve replacement surgery is this normal?

Possible. Abdominal symptoms after major surgery may be caused by post op pain meds leading to constipation. Since other causes may exist, you should check with your surgeon or primary doctor about continuing issues.