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

mass fractions to mol fractions

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

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 18, 2011, 10:21
Default mass fractions to mol fractions
  #1
New Member
 
Arun
Join Date: Mar 2009
Posts: 25
Rep Power: 17
arun is on a distinguished road
Hi All,

I simulating combustion simulation using dieselEngineFoam, and I would like to get the output of mol fractions of pollutants such as CO, CO2, HC, NO at every CAD. Currently I manage to get the mass of the species at every CAD.

E.g.
COAv << runTime.theta() << " " << fvc::domainIntegrate(composition.Y("CO")*rho).valu e() << endl;

Anyone can got any suggestion on how can I get the mol fractions?
Thanks in advance.

Regards
A
arun is offline   Reply With Quote

 

Tags
diesel combustion, dieselenginefoam, mol fractions, pollutants

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
fluent definitions for mass fractions perdita FLUENT 0 December 6, 2010 05:00
UDF for species mass fractions MRR FLUENT 0 December 29, 2005 07:14
Mole fractions from mass fractions? Keith Siemens 5 September 27, 2002 05:39
Changing inlet mass fractions of CH4 and O2 Prateep Chatterjee FLUENT 4 June 13, 2002 12:06


All times are GMT -4. The time now is 00:32.