CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   How to apply a function as boundary condition (https://www.cfd-online.com/Forums/openfoam-solving/58117-how-apply-function-boundary-condition.html)

coompressor January 13, 2009 03:50

Dear Foamers, I'm a newbie
 
Dear Foamers,
I'm a newbie here. For my question, I want to add a function with time and circumferential position as the variables for the inlet boundary condition.
The study object is a circular ring and the inlet radius is R2 while the outlet one is R3. The inlet condition should be V2=V_mean+sin(Omega*t+phi), in which the Omega is the angular velocity and a constant in this expression. V_mean and phi (initial position) are also constants, t is the time for unsteady calculation. Can such kind of boundary condition be given? For fluent, this is very easy through using the UDF.
Thanks all.


All times are GMT -4. The time now is 20:33.