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

about UDF,VOF, surface reaction

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2000, 20:31
Default about UDF,VOF, surface reaction
  #1
Burley Wang
Guest
 
Posts: n/a
1. any kind guy could pls expalin that why cannot I change the density and the specific heat using UDF, I may need to change the specific heat or the volumetric heat capacity (product of the density and specific heat)

2. FLUENT's limitation says that coupled heat transfer cannot be modeled when using VOF. however, if I wanna do so, any possibilities by using UDF?

3. I don't think suface sorption/adsorption can be modeled by species transport w/ surface reaction, what do you think about it?

Thanks a lot for any suggestions or explaination

Burley

  Reply With Quote

Old   March 9, 2000, 20:38
Default Re: about UDF,VOF, surface reaction
  #2
Arthur Valais
Guest
 
Posts: n/a
Hi!

Can you not change C_R(c,t) and C_CP(c,t)? What errors does it produce? [p.33 of udf manual.]

---Arthur Valais
  Reply With Quote

Old   March 9, 2000, 20:54
Default Re: about UDF,VOF, surface reaction
  #3
Burley Wang
Guest
 
Posts: n/a
Thanks Arthur,

I mean FLUENT said that " you can customize the property definition (except density and specific heat)" (UDF mannual, Chapter 1, Overview, text-line 9)

or did I misunderstand its meaning?

Regards

  Reply With Quote

Old   March 9, 2000, 21:05
Default Re: about UDF,VOF, surface reaction
  #4
Greg Perkins
Guest
 
Posts: n/a
I wouldn't advise changing these within a UDF - I'm pretty sure when Fluent wants the values for these properties it will call its internal routines before setting the matrix values. Thus, it will probably overide your settings (haven't checked this though).

You can't link a UDF to specific heat because in determining heat release in reactions you need to integrate the expression over a temperature range. That's why Fluent only provides a limited range of polynominal expressions etc.

In my case I'd love to modify the specific heat using dynamic (rather than constant) co-efficients in the polynominal expression. This would still allow an analytical expression for the integral, but could be flexible - ie could account for a composite fluid, solid like in the standard porous media model but could depend on space and time.

Hopefully this will be in the next release of Fluent.
  Reply With Quote

Old   March 9, 2000, 21:06
Default Re: about UDF,VOF, surface reaction
  #5
Arthur Valais
Guest
 
Posts: n/a
Just saw that. I guess that density is something that is solved for, so you would need to specify the other variables such as mass, pressure. My only experience is in reading the variables and setting the reaction rate.

---Arthur Valais
  Reply With Quote

Old   March 9, 2000, 21:08
Default Re: about UDF,VOF, surface reaction
  #6
Arthur Valais
Guest
 
Posts: n/a
Hi!

So, of all the values on p.33, do you know what can one change and what should be left alone?

Arthur
  Reply With Quote

Old   March 9, 2000, 22:02
Default Re: about UDF,VOF, surface reaction
  #7
Burley Wang
Guest
 
Posts: n/a
Thanks Greg,

I also hope (and actually if it could, it is what I want)just modify the specific heat dynamiclly using polynomial expression.

you said hopefully,it seems Fluent doesn't provide the function. but you also mentioned "that's why Fluent provides a limited range of polynominal expressions etc." so whether it can be modified or not?

Thanks a lot

Burley
  Reply With Quote

Old   March 9, 2000, 22:14
Default Re: about UDF,VOF, surface reaction
  #8
Greg Perkins
Guest
 
Posts: n/a
You can't modify the co-efficients of the polynomial expressions dynamically using a UDF as far as I know.

If you find out how to do this, please let us all know.

Greg

  Reply With Quote

Old   March 10, 2000, 14:55
Default Re: about UDF,VOF, surface reaction
  #9
Sung-Eun Kim
Guest
 
Posts: n/a
FLUENT 5.3 now allows you to specify density as arbitrary function of any other FLUENT variables. As long as the sensitivity of density to the change of the variables is reasonably (not too high), you can customize density without much problem.

Specific heat (Cp) still is not and will not be specifiable as an arbitrary function of arbitrary variables. One of the main reasons is that the energy equation has to rely upon enthalpy which is basically evaluated from integral of Cp in the temperature space. As you can immediately see, we run into a serious problem of relating those arbitrary variables and temperature.

I hope you understand why Cp can't enjoy the UDF customization.
  Reply With Quote

Old   March 10, 2000, 18:30
Default Re: about UDF,VOF, surface reaction
  #10
Greg Perkins
Guest
 
Posts: n/a
Sung-En Kim.

I understand the argument that you require an integrable expression for the specific heat.

However, while full UDF custimisation may not be possible, it would be possible to have the co-efficients of the analytical expression (polynominals) to be set dynamically.

In my problem I'd like to account for solid and fluid in a cell in a similar way as the existing Fluent porous media model, with the addition that the amount of solid changes as a function of some reaction. In this case the porosity changes and thus the composite specific heat is a function of the solution.

I have got around this so far, by using two energy equations, one for the fluid (FLUENTs) and one for the solid, implemented with a UDS. But this adds processing time to an already complex problem and means I have to deal with interphase heat transfer as well.

Greg
  Reply With Quote

Old   March 13, 2000, 07:08
Default Re: about UDF,VOF, surface reaction
  #11
Joakim Majander
Guest
 
Posts: n/a
I can't see any reason why Cp couldn't be given trough UDF. It is done e.g. in CFX by giving an average and local Cp. The average can be used for calculating temperature from enthalpy or vice versa. I'm not very happy to input all the data of 12 species into fluent while I allready have the routines to calculate Cp.

How can density be given in 5.3? The UDF-manuals still say it can not be done.

Joakim
  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
surface reaction, porous media Ali FLUENT 2 March 31, 2016 17:26
[Gmsh] Problem with Gmsh nishant_hull OpenFOAM Meshing & Mesh Conversion 23 August 5, 2015 02:09
Segmentation fault in running alternateSteadyReactingFoam,why? NewKid OpenFOAM 18 January 20, 2011 16:55
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19
chemical reaction - decompostition La S. Hyuck CFX 1 May 23, 2001 00:07


All times are GMT -4. The time now is 23:57.