CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Sinusnodial Velocity Inlet (http://www.cfd-online.com/Forums/openfoam-solving/122806-sinusnodial-velocity-inlet.html)

eRzBeNgEl August 28, 2013 10:38

Sinusnodial Velocity Inlet
 
Hi guys,

I want to add kind of disturbance to my simulation.


At Timestep1: My Velocity is defined as (1 0 0)
AT Timestep 10: It should be (1+amplitude*sin(2*pi*t))
until Timestep 20


And then it should return to (1 0 0).


How can i implement this kind of time depending Boundary Condition?


Thanks for help

joegi.geo August 28, 2013 22:40

I did something similar a time ago. The easiest way is to use swak4foam, it is quite straightforward.


jg

eRzBeNgEl August 30, 2013 08:30

thanks, got it!


All times are GMT -4. The time now is 18:31.