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

obtain species concentration in every time step to use in a udf

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 8, 2015, 11:52
Default obtain species concentration in every time step to use in a udf
  #1
New Member
 
solmaz aryafar
Join Date: Feb 2013
Posts: 11
Rep Power: 13
solmaz aryafar is on a distinguished road
Hello friends,

I need some help for writing a piece of my udf.

In one equation in my udf whose main task is computing the coagulation kernel of the population balance model add-on module of Fluent I need the concentration (mol/m3) of my two existing species in the reactor which are present in very low amounts, i.e. they are not main substances but they play an important role in the process. So I need to obtain them from the solver in every time step. Now it's 2 days that I'm searching and I don't find my answer. I want to know what macro I should use.
First I thoght I should use C_YI, but I guess this doesn't help me to get the mass fraction of species from the solver to use it in my calculations in udf. Do I have to use Pdf_XY or Pdf_Yi ? because as I read it seems that PDF tables are use in combustion applications, am I right?

I really appreciate any help or hint! It shouldn't be so complicated but I cannot find it.

Thanks in advance,
Solmaz Ariafar.
solmaz aryafar is offline   Reply With Quote

Reply

Tags
species transport, udf


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
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 05:13
Multiple floating objects CKH OpenFOAM Running, Solving & CFD 14 February 20, 2019 10:08
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 14:40
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
Full pipe 3D using icoFoam cyberbrain OpenFOAM 4 March 16, 2011 10:20


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