Dynamical stability of journal-bearing devices through numerical simulation of thermohydrodynamic models