title: How can I give time varying temperature dependent heat source term in COMSOL Multiphysics?
body: <p>The conditions are as follows:
  <code>0&lt;t&lt;0.1 sec</code>,   Q= Q_1 W/m^3
  <code>0.1&lt;t&lt;2.1 sec</code>, Q= 0 W/m^3
  <code>2.1&lt;t&lt;2.2 sec</code>, Q= Q_2 W/m^3
  <code>2.2&lt;t&lt;4.2 sec</code>, Q= 0 W/m^3
  Where, both Q_1 and Q_2 are a function of temperature, which I have already defined in Global Definitions.</p>