Help creating a field function to create a sine pressure wave
Hi all, i'm having problems creating a fluctuating pressure inlet through a pipe.
I need to create a sine wave of around 1000 Hz with an amplitude of 10 Pa and a mean pressure of 100 Pa.
This is what i have done below in Matlab:
How on earth do i transfer this into a field function? Is a field function the right way to go about this?
Thanks in advance! :)
Yes a field function is the right way.
The definition of your field function should be something like the following:
That appears to work perfectly, thanks a lot! :)
|All times are GMT -4. The time now is 19:09.|