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/)
-   -   Velocity waveform with groovyBC (http://www.cfd-online.com/Forums/openfoam-solving/110194-velocity-waveform-groovybc.html)

bcgooder December 5, 2012 14:08

Velocity waveform with groovyBC
 
Hello,

I am trying to use the groovyBC boundary condition on my inlet with a velocity waveform text file. The waveform file contains an experimentally recorded velocity magnitude at every time point. Is there a way to do this with groovyBC or is there a better boundary condition to use to apply these velocity magnitude values normal to the inlet patch?

Thanks.

gschaider December 5, 2012 14:34

Quote:

Originally Posted by bcgooder (Post 395989)
Hello,

I am trying to use the groovyBC boundary condition on my inlet with a velocity waveform text file. The waveform file contains an experimentally recorded velocity magnitude at every time point. Is there a way to do this with groovyBC or is there a better boundary condition to use to apply these velocity magnitude values normal to the inlet patch?

Thanks.

Is the velocity magnitude only a function of time U(t) or also of the place (on the inlet) U(t,x). The first one can be done with timelines in groovyBC ... the second one not easily

bcgooder December 5, 2012 14:36

Quote:

Originally Posted by gschaider (Post 396002)
Is the velocity magnitude only a function of time U(t) or also of the place (on the inlet) U(t,x). The first one can be done with timelines in groovyBC ... the second one not easily

The velocity magnitude is only a function of time.

gschaider December 5, 2012 14:45

Quote:

Originally Posted by bcgooder (Post 396005)
The velocity magnitude is only a function of time.

Then you're in luck. Have a look at the wobbler-case in Examples/groovyBC to see how to use timelines


All times are GMT -4. The time now is 14:02.