The following transient problem is essentially the reciprocating (i.e., fully reversing) flow of a fluid over a thick heated block until the system reaches a cyclic steady-state (i.e., the system temperature oscillates around a mean when this point is reached). The following code simulates the system for a fluid velocity boundary condition $u=3*\sin(2*\pi*0.5*t)$, i.e., a frequency of $0.5Hz$ and a heat flux input of $1000 W/m^2$. tflow refers to the total time till which the flow oscillation occurs and t0 is the time-step. The code uses the flow solver developed by Alex Trounev and described in this page.