turbulenceFields does not calculate k and epsilon anew, but obtains them from the turbulence model. So, if k and epsilon are not defined on the model side, an empty file will be output. For example, the Spallart Allmaras model has been implemented to return k and epsilon since OpenFOAM v2106.