If you want to simulate a flow following a sine wave with respect to time, you need a simple user defined function. Many example of similar kind can be found in UDF manual of Fluent.
You can simulate both a transient velocity profile v=f(t) and a velocity profile depending on the coordinates of the system v=f(x,y,z) (or you can even combine these variants v=f(x,y,z,t)) using the DEFINE_PROFILE macro inf fluent.
If your velocity profile is time-dependent, you will have to use the simulation time in the velocity profile function (CURRENT_TIME).
If your velocity profile is location dependent, you will have to get the coordinates of the faces of the inlet boundary first.
As Sachin mentioned before, there are numerous examples for similar cases, so adapting one of these existing functions to your case would be the best option.