Theory and simulation for associating chain fluids