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

porosity in UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2004, 12:40
Default porosity in UDF
  #1
Jin Yan
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
  Reply With Quote

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

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

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

Old   December 1, 2009, 10:27
Default
  #5
New Member
 
Igor
Join Date: Nov 2009
Location: Saint-Petersburg
Posts: 8
Rep Power: 17
WSWGg is on a distinguished road
Use C_PROFILE function DEFINE_PROFILE UDF, it works - I tested.
WSWGg is offline   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 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


All times are GMT -4. The time now is 19:30.