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

Like Tree1Likes
  • 1 Post By Naveed Ullah

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 18, 2003, 17:24
Default Porosity in udf
  #1
R.Misama
Guest
 
Posts: n/a
Please can you help me how can I introduce or define porosity in my udf, I am working on catalytic packed bed reactor.

Misama
  Reply With Quote

Old   June 19, 2003, 05:39
Default Re: Porosity in udf
  #2
pk
Guest
 
Posts: n/a
hi I had tried this profile [ UDF ] for a similar problem

DEFINE_PROFILE(bed_por, thread, np) { cell_t c; real x[ND_ND]; real y;

begin_c_loop (c,thread)

{

C_CENTROID(x,c,thread);

y =x[1];

F_PROFILE(c,thread,np) = ***********;

} end_c_loop (c,thread) }

But, it was not showing any effect on the velocity profile. i.e. velocity profiles remain same even the porocity along bed was varying,

You can try this with your problem.

Also, any comments about this UDF will be appreciated.

pk
  Reply With Quote

Old   June 23, 2003, 19:30
Default Re: Porosity in udf
  #3
R. Misama
Guest
 
Posts: n/a
Thank you Pk for your help; but my problem is not on velocity profile is just how can I spacify porosity of packed bed in the fluent. I read the fluent manual but they do not mention ( to be more correct I DO NOT SEE ) how to specify the porosity.

I am sure I can get help on it

Regards R. Misama
  Reply With Quote

Old   June 24, 2003, 04:53
Default Re: Porosity in udf
  #4
pk
Guest
 
Posts: n/a
hi

Read case file.

Define - boundary Conditions- fluid - porous zone- resitences and porosity

just enter value of porosity.

by
  Reply With Quote

Old   June 26, 2003, 21:53
Default Re: Porosity in udf
  #5
Greg Perkins
Guest
 
Posts: n/a
Or you can use a DEFINE_PROFILE udf in FLUENT - though I have had problems saving and loading with a udf defined for the porosity.

The manual says you need a DEFINE_PROPERTY but this clearly doesn't work in my version 6.1.18. The DEFINE_PROFILE works, but you need to turn it off/on to avoid errors during saving and loading.

Note when dealing with velocity which formulation you are using.

Greg
  Reply With Quote

Old   June 27, 2003, 06:59
Default Re: Porosity in udf
  #6
pkp
Guest
 
Posts: n/a
hi

i tried to run my case with different values of porosity, but it didn't show change in the results. even the velocity magnitudes remain same.

I am doubtful whether fluent considers porosity, or only the resistances are considered.

Also, the manual gives some info about " physical velocity" consideration. But how to give the input/get results in terms of physical velocity.

Probably, physical velocity values can give better results with different porosity values.

What's your experience.....

Thanks --pk
  Reply With Quote

Old   June 27, 2003, 07:33
Default Re: Porosity in udf
  #7
Greg Perkins
Guest
 
Posts: n/a
For different porosities you won't see any differences in velocity if using the superficial velocity formulation - since it doesn't represent the physical velocity in the medium - just the mass flux/density - which will remain the same.

In fact if you only change porosity you shouldn't expect to see much change - it will only effect diffusion processes and the transient terms. Other terms remain the same.

I would expect changing permeability will have a much greater change on the flow and pressure drop.

If you use the physical velocity formulation you should expect to see the velocity double if you halve the porosity. But this is just a way of reporting the velocity - the solution should be equivalent to the superficial velocity in other ways

Greg
  Reply With Quote

Old   June 27, 2003, 09:02
Default Re: Porosity in udf
  #8
pk
Guest
 
Posts: n/a
hi Thanks for your reply,

Still i had one doubt.

How can we report values in terms of physical velocaity. whether fluent gives any option or else we have to determine it ourselves using equations.

Regards,
  Reply With Quote

Old   June 27, 2003, 20:54
Default Re: Porosity in udf
  #9
Greg Perkins
Guest
 
Posts: n/a
You can choose the velocity formulation in the solver panel I think.

Try reading the Manual - I think chapter 6 talks about the porous media model.

Greg
  Reply With Quote

Old   April 15, 2015, 07:21
Default
  #10
New Member
 
Join Date: Feb 2015
Posts: 9
Rep Power: 11
soumendu.dasgupta is on a distinguished road
Hi all.

I am new to fluent. Please tell me where to how and where to patch the udf for variation in solid volume fraction in Fluent 15.0.

P.S: My udf's are already compiled and loaded.
Please reply at soumendu.dasgupta@gmail.com

Thanks
soumendu.dasgupta is offline   Reply With Quote

Old   August 12, 2017, 10:56
Default
  #11
New Member
 
Naveed Ullah khan
Join Date: Aug 2017
Location: islamabad
Posts: 2
Rep Power: 0
Naveed Ullah is on a distinguished road
hi
i think if we change the porosity of bed then it will also change the permeability and inertial resistance of bed. so one should also write code for permeability and inertial resistance also because these are interdependent. then you will see change in profile
elnaz. likes this.
Naveed Ullah 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
porosity in UDF Jin Yan FLUENT 4 December 1, 2009 10:27
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


All times are GMT -4. The time now is 03:12.