CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

UDF Mass transfert accessible info

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

Like Tree1Likes
  • 1 Post By Crow

Reply
 
LinkBack Thread Tools Display Modes
Old   May 22, 2014, 13:39
Default UDF Mass transfert accessible info
  #1
New Member
 
Join Date: Mar 2014
Posts: 11
Rep Power: 4
Crow is on a distinguished road
Hi,

I'm new in Fluent. I am modeling two phase flow in a pipe with VOF. I need to make an UDF for the mass transfert.

So I was wondering where I can find all the "accessible" variables when I use DEFINE_MASS_TRANSFERT and how to "call" them.

For exemple, in the UDF manual there is an exemple UDF using C_T(cell,gas). I assume it is the temperature of the cell. Where would I have been able to find the correct variable name to use it.

Thanks for your time.
Crow is offline   Reply With Quote

Old   May 23, 2014, 07:06
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 919
Rep Power: 12
pakk will become famous soon enough
I think you are looking for C_R(c,t), in combination with C_U(c,t), C_V(c,t) and C_W(c,t). They are the same section of the help as C_T.
pakk is offline   Reply With Quote

Old   May 23, 2014, 09:32
Default
  #3
New Member
 
Join Date: Mar 2014
Posts: 11
Rep Power: 4
Crow is on a distinguished road
Thanks for the reply. I didn't find what I was looking for in the help which was the interfacial area but by looking the forum I found that you could calculate it with

A_i = C_VOF_G(c,t)[0]*C_VOLUME(c,t).

which I also saw elsewhere but in continuous form.

I have two other questions:

1) Does the order of the species (0,1,2, etc) is the same as in the mixture declaration?

2) Is the from_index in
DEFINE_MASS_TRANSFER(liq_gas_source,cell,thread,fr om_index, from_species_index, to_index, to_species_index)
is the primary phase or secondary phase?

Thanks in advance
Crow is offline   Reply With Quote

Old   June 4, 2014, 08:25
Default
  #4
New Member
 
Join Date: Mar 2014
Posts: 11
Rep Power: 4
Crow is on a distinguished road
1)The species id is the same as shown in the mixture declaration

2) the from_species_index is the index of the species you choose to be from when you hook the function

3)Primary phase is 0,
Secondary phase is 1,
etc

4)The from index is the phase you choose when you hook the function
pakk likes this.
Crow 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
Hooking a DPM Particle Heat and Mass Transfer UDF to FLUENT subhankar_bhandari FLUENT 0 August 19, 2010 03:01
I need UDF help. S.Whitney FLUENT 0 October 15, 2007 11:29
writing UDF for modelig mass transfer for VOF ardalan soleymani FLUENT 0 July 11, 2007 01:09
OpenFOAM with Cygwin kitchener OpenFOAM Installation 6 April 24, 2006 23:09
Heat and Mass Transfer UDF Srinivas Parimi FLUENT 3 August 22, 2005 13:49


All times are GMT -4. The time now is 14:38.