CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

change boundary condition via UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2007, 08:11
Default change boundary condition via UDF
  #1
gerhard zalusky
Guest
 
Posts: n/a
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
  Reply With Quote

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

Old   July 12, 2007, 04:51
Default Re: change boundary condition via UDF
  #3
mateus
Guest
 
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

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF setting wall boundary condition with a DEFINE_PROFILE NLao FLUENT 3 September 2, 2019 01:33
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 09:56
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 06:36.