Hello,
Sometimes an infection can cause menstrual blood to look and smell funny. If associated with a foul odor (remember blood itself often has a characteristic smell), tenderness or fever, this should definitely prompt a visit to the gynecologist. Odor in urine can be due to diet like coffee or asparagus, infection like bladder, prostate or urinary tract, dehydration or diabetes. You should visit your doctor for a urine examination and evaluation to find out the exact cause and treatment for the foul smell.
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care and please do keep me posted on how you are doing.
See a gynecologist for an exam and urine test to find out if this is a bacterial or yeast infection so it can be treated. It sounds bacterial, and that's not good.