CFD Online Logo CFD Online URL
Home > Forums > FLUENT

change boundary condition via UDF

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   July 11, 2007, 07:11
Default change boundary condition via UDF
gerhard zalusky
Posts: n/a

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
  Reply With Quote

Old   July 11, 2007, 12:48
Default Re: change boundary condition via UDF
Posts: n/a
See tutorial 4 in Fluent 6.3.
  Reply With Quote

Old   July 12, 2007, 03:51
Default Re: change boundary condition via UDF
Posts: n/a
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
  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF for inhomogenous Neumann boundary condition akhilesh Fluent UDF and Scheme Programming 3 December 24, 2012 12:14
inlet velocity boundary condition murali CFX 5 August 3, 2012 08:56
UDF setting wall boundary condition with a DEFINE_PROFILE NLao FLUENT 1 April 17, 2011 05:23
asking usage of UDF in changing boundary condition teguhtf Fluent UDF and Scheme Programming 1 December 3, 2010 23:14
UDF, using DEFINE_ADJUST to change a boundary condition Jonas Larsson FLUENT 4 March 21, 2000 19:51

All times are GMT -4. The time now is 22:56.