Final answer:
The condition described is erythema nodosum, characterized by painful, inflamed subcutaneous fat cells resulting in nodules often found on the shins.
Step-by-step explanation:
The painful erythematous non-ulcerated nodules described in the question are often symptomatic of a condition called erythema nodosum. This condition is characterized by inflammation in the subcutaneous fat cells of the hypodermis that results in red nodules, most frequently on the shins. These nodules are symptomatic of a deeper inflammatory process that often begins as bright red and then may transition to brown-yellow in color as they heal. Erythema nodosum may arise from a streptococcal infection among other causes, and it is a deep nodule representing inflamed tissue within the skin layers.