|
[Sponsors] |
udf to set vel. = 0 at a grid point or a cell |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 22, 2006, 10:45 |
udf to set vel. = 0 at a grid point or a cell
|
#1 |
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 |
|
|
|
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 09:32 |
interchanging face information with cell information/ radiation flux UDF | ximik | FLUENT | 1 | May 4, 2011 17: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 20:59 |
Grid Independent Solution | Chuck Leakeas | Main CFD Forum | 2 | May 26, 2000 12:18 |