|
[Sponsors] |
February 22, 2004, 12:40 |
porosity in UDF
|
#1 |
Guest
Posts: n/a
|
Hello, I have a question about prosity. Can I modify the porosity to be dependent on pressure in UDF? How to use the porosity in UDF? I can't find this variable in UDF guide.
Thank you! Jin |
|
February 22, 2004, 13:02 |
Re: porosity in UDF
|
#2 |
Guest
Posts: n/a
|
I had a quick look at the documentation myself, but I couldn't find a way of setting the porosity either. However, when I come to simulate a porous zone I tend to write my own UDF's rather than the fluent built in ones. The fluent porous models are simply momentum sinks in the source terms for x y and z momentum. If you write your own porous model you can set porosity to whatever you want.
Just a thought. |
|
February 23, 2004, 06:05 |
Re: porosity in UDF
|
#3 |
Guest
Posts: n/a
|
hi jinyan,
add the following macro into your udf and you can use it just as C_U, C_P, and etc. #define C_POR(c,t) C_STORAGE_R(c,t,SV_PRO) However, I am not sure of its validation. You should do some tests by youself. good luck. |
|
February 23, 2004, 18:51 |
Re: porosity in UDF
|
#4 |
Guest
Posts: n/a
|
You can alter porosity with a DEFINE_PROFILE UDF. (the Fluent manual tells you to use DEFINE_PROPERTY which doesn't work). In your UDF, make it a function of pressure.
|
|
December 1, 2009, 10:27 |
|
#5 |
New Member
Igor
Join Date: Nov 2009
Location: Saint-Petersburg
Posts: 8
Rep Power: 17 |
Use C_PROFILE function DEFINE_PROFILE UDF, it works - I tested.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for porosity | cfd-novice | FLUENT | 2 | August 20, 2009 04:19 |
UDF for porosity | Giacomo | FLUENT | 3 | July 23, 2007 10:23 |
UDF for orous zone porosity | ap | FLUENT | 2 | November 10, 2004 19:26 |
Macros for writing UDF for porosity | umesh | FLUENT | 1 | June 13, 2003 05:20 |
UDF for variable porosity | pk | FLUENT | 0 | June 11, 2003 19:06 |