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

udf to set vel. = 0 at a grid point or a cell

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 22, 2006, 09:45
Default udf to set vel. = 0 at a grid point or a cell
  #1
Ralf Schmidt
Guest
 
Posts: n/a
Hi!

Is there a way, to set the velocity = 0 at a grid point or a cell?? Like having a wall there, but without actually modeling the wall.

I have a complex geometry, with many possible variations. Now, I don't want to model the geometry every time, that would be a hell lot of work. I want to use a udf that defines me a wall at the point in the volume, where my solid is.

I will read all grid points with an external programm, calculate the value for that point (eg. 1 = solid, 0 = fluid) and read the values back into fluent. Now, where is the udf command, that sets the velocity = 0 at the points with value 1 ????

I know, that will not represent the flow correctly - the wall will not have the exact shape of the real wall. But the simulation doesn't has to be so accurate, because it is a rough estimate, what happens in the volume.

Any Idea???

Ralf

PS.: I tried with a very high value for the interial resistance (porouse zone) but that didn't work out well
  Reply With Quote

Reply

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
set fvMatrix coefficients equal to those of another cell akimbrell OpenFOAM Programming & Development 3 August 8, 2011 08:32
interchanging face information with cell information/ radiation flux UDF ximik FLUENT 1 May 4, 2011 16:34
How to Reference an Adjacent Cell in a UDF ? jeff8541 FLUENT 0 March 8, 2011 11:33
How to set a cell or face property independent of BC TDi Fluent UDF and Scheme Programming 1 October 19, 2010 19:59
Grid Independent Solution Chuck Leakeas Main CFD Forum 2 May 26, 2000 11:18


All times are GMT -4. The time now is 08:35.