FGear Vehicle Physics (v1.4)

there is a brake disc for each wheel so you can do it in wheels.
temperature comes from transferred energy(kinetic to thermal) so for a good estimation you can use brake torque x wheel speed x time x some coefficient.