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

Species mass fraction

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 7, 2010, 23:57
Default Species mass fraction
  #1
New Member
 
s
Join Date: Dec 2010
Posts: 2
Rep Power: 0
saeidm84 is on a distinguished road
Hello,
I am new user of Fluent and have one basic questions on using F_Y(c,t,i).

I solve a mass species equation for a aqueous mixture of N2 and O2, Now, I would like to calculate difference of their ionic concentration, I am wondering that if it is possible to use F_y(c,t,1)-F_y(c,t,0)?! How I can find out that what the i for O2 and N2 is?! For example, if i=1 denotes o2 or n2?!

If there is any easier way to calculate difference of ionic concentrations of O2 and N2 in the UDF?!

Thank you in advance!
saeidm84 is offline   Reply With Quote

Old   December 10, 2010, 20:14
Default
  #2
Senior Member
 
Real Name :)
Join Date: Jan 2010
Location: United States
Posts: 192
Rep Power: 16
ComputerGuy is on a distinguished road
The species are numbered according to their order in the Fluent panel (if O2 is first, i=0). Also, you probably want to use C_YI(c, t, 0) and C_YI(c,t,1). This will give you the cell concentration, not F_YI (f,t,i), which is the face concentration.

ComputerGuy
ComputerGuy 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
gradient of species mass fraction zhou FLUENT 1 March 14, 2020 08:55
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
PB: Saving mass fraction of species on two points with an udf biget.a FLUENT 2 July 23, 2009 04:06
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 22:14
mass fraction of species Ahmed FLUENT 0 April 18, 2007 12:57


All times are GMT -4. The time now is 15:09.