title: Motion of fluid inside the aircraft drop tank
body: <p>I have been working on motion of fluid inside the aircraft drop tank. For my initial case, fluid is moving to and fro. For this case I used the following code but is yielding the error.</p>
  
  <pre><code>zone_motion.c ..\..\src\zone_motion.c(7) : error C2100: illegal indirection
  ..\..\src\zone_motion.c(11) : error C2100: illegal indirection 
  ..\..\src\zone_motion.c(14) : error C2109: subscript requires array or pointer type 
  ..\..\src\zone_motion.c(14) : error C2100: illegal indirection 
  ..\..\src\zone_motion.c(14) : error C2109: subscript requires array or pointer type 
  ..\..\src\zone_motion.c(14) : error C2109: subscript requires array or pointer type
  </code></pre>
  
  <p>How can I modify this code?</p>
  
  <pre><code>#include "udf.h"
  DEFIINE_ZONE_MOTION(fmotion, omega, axis, origin, velocity, time, dtime)
  {
  if(time&lt;10)
  {
      *omega=10;
  }
  else
  {
      *omega=0;
  }
  N3V_D(velocity,=,0.01*sin(*omega*time), 0.0, 0.0);
  }
  </code></pre>