CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   sine wave field function??? (http://www.cfd-online.com/Forums/main/114632-sine-wave-field-function.html)

smorls March 14, 2013 11:11

sine wave field function???
 
Hi everyone,

I'm trying to write a field function such that the wall of my pipe will expand and contract in a sinusoidal waveform over a period of 3 seconds in STAR CCM+ v7.

I am using a morphing motion. This is what i have got so far:

[0.00009+0.00003*sin(2*3.14*$Time), 0, 0]

he wall is moving but i cannot get it to work correctly or link it to the time i have specified.
I'm new to writing field functions and I am finding it very difficult, any information on any aspect of this topic at all would be hugely appreciated.

Thanks a million


All times are GMT -4. The time now is 09:08.