CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

porosity in UDF

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

LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2004, 11:40
Default porosity in UDF
Jin Yan
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!

  Reply With Quote

Old   February 22, 2004, 12:02
Default Re: porosity in UDF
Andrew Garrard
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.
  Reply With Quote

Old   February 23, 2004, 05:05
Default Re: porosity in UDF
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.
  Reply With Quote

Old   February 23, 2004, 17:51
Default Re: porosity in UDF
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.
  Reply With Quote

Old   December 1, 2009, 09:27
New Member
Join Date: Nov 2009
Location: Saint-Petersburg
Posts: 8
Rep Power: 16
WSWGg is on a distinguished road
Use C_PROFILE function DEFINE_PROFILE UDF, it works - I tested.
WSWGg is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF for porosity cfd-novice FLUENT 2 August 20, 2009 03:19
UDF for porosity Giacomo FLUENT 3 July 23, 2007 09:23
UDF for orous zone porosity ap FLUENT 2 November 10, 2004 18:26
Macros for writing UDF for porosity umesh FLUENT 1 June 13, 2003 04:20
UDF for variable porosity pk FLUENT 0 June 11, 2003 18:06

All times are GMT -4. The time now is 01:46.