Thermally induced vibrations in an inhomogeneous fiber-reinforced thermoelastic medium with gravity