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

Porosity in udf

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 18, 2003, 16: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, 04: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, 18: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, 03: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, 20: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, 05: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, 06: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, 08: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, 19: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, 06:21
Default
  #10
New Member
 
Join Date: Feb 2015
Posts: 5
Rep Power: 2
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

Reply

Thread Tools
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 On
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 03:19
UDF for porosity Giacomo FLUENT 3 July 23, 2007 09: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 04:20


All times are GMT -4. The time now is 13:29.