Page 1 of 1

Sinusoidal wave

Posted: Tue Mar 31, 2009 11:13 am
by ernenazira
Hi,

How can I generate a sinusoidal wave for an auxililary variable?

Many thanks.

Posted: Wed Apr 01, 2009 7:38 am
by karankhosla
For a time varying Sinusoidal:

Aux = A*SIN(2*Pi*Time/P) {Units}

Set up the auxiliary variable "Aux", input 3 constants A (Amplitude), P (Period), Pi (3.142). Then introduce a ghost variable of time. Finally create information links from these parameters to the "Aux" variable.

Posted: Wed Apr 01, 2009 3:24 pm
by ernenazira
Thanks. I got it right now. I used a constant for the time in the equation before which gave me a flat line.