CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   change boundary condition via UDF (http://www.cfd-online.com/Forums/fluent/45348-change-boundary-condition-via-udf.html)

gerhard zalusky July 11, 2007 07:11

change boundary condition via UDF
 
Hello,

i want to change the boundary condition in a geometry depending on the hydrostatic force with a user defined function. Can anyone help me, how i can do it?

thx Gerhard

Joe July 11, 2007 12:48

Re: change boundary condition via UDF
 
See tutorial 4 in Fluent 6.3.

mateus July 12, 2007 03:51

Re: change boundary condition via UDF
 
I don't think it's that simple. I'm trying to do the same thing for a dynamic mesh simulation but my solution tends to diverge after a few timesteps .

What I do is I calculate the sum of forces and use F_PROFILE(f, thread, position)=force/mass*dt+v to define the velocity for the next time step.

To get some ideas how to start go to fluent web site, log on and find "User-Defined Functions (UDF) Archive".

I hope I helped a bit. Mateus


All times are GMT -4. The time now is 16:24.