On-orbit autonomous relative navigation performance strongly depends on both sensor suite and state reconstruction selection. Whenever that suite relies on image-based sensors working in the visible spectral band, the illumination conditions strongly affect the accuracy and robustness of the state reconstruction outputs. To cope with that limitation, we investigate the effectiveness of exploiting image sensors active in the IR spectral band, not limited by the lighting conditions. To run effective and comprehensive testing and validation campaigns on navigation algorithms, a large dataset of images is required, either available or easy to obtain in the visible band, not trivial and not accessible for the thermal band. The paper presents an open-source tool that exploits accurate finite volume thermal models of celestial objects and artificial satellites to create thermal images based on the camera dynamic. The thermal model relies on open CFD code (OpenFOAM), pushed to catch the finest details of the terrain or of the target geometries, and then the temperature field is processed to compute the view factors between the camera and each face of the mesh; thus, the radiative flux emitted by each face is extracted. Such data feed the rendering engine (Blender) that, together with the camera position and attitude, outputs the thermal image. The complete pipeline, fed by the orbiting target and the imaging sensor kinematic, outputs a proper synthetic thermal image dataset, exploitable either by a relative navigation block or any other scope of research. Furthermore, in the same framework, the article proposes two different thermal sensor models but any sensor model can be applied, providing full customization of the output. The tool performance is critically discussed and applied for two typical proximity scenarios, asteroid and artificial satellite; for both cases, the challenges and capabilities of the implemented tool for synthetic thermal images are highlighted. In the end, the tool is applied in a phase B mission design sponsored by ESA and in related research works; for such cases, the results are reported in the article.