|May 18, 2011, 10:21||
mass fractions to mol fractions
Join Date: Mar 2009
Posts: 25Rep Power: 6
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.
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.
|May 18, 2011, 15:48||
Mass to mole fractions
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 90Rep Power: 4
I use OpenFOAM 1.7.1. As far as I see, you need to do the conversion yourself--possibly as a post processing step.
|December 29, 2011, 14:58||
Join Date: Jul 2010
Posts: 6Rep Power: 4
I want to simulate dual fuel diesel engine with OpenFOAM. Do I simulate this with dieselEngineFoam? If not, which solver I must use?
If I can use dieselEngineFoam, can I use (CH4) mass fraction in initial condition such as O2 and N2?
I want to calculate heat release rate (j/s), but in dieselEngineFoam output, dimension of dQ is (kg/(m^3*s)). How can I calculate heat release rate (j/s)? Do I have to change code?
|diesel combustion, dieselenginefoam, mol fractions, pollutants|
|Thread||Thread Starter||Forum||Replies||Last Post|
|fluent definitions for mass fractions||perdita||FLUENT||0||December 6, 2010 05:00|
|mass flow in is not equal to mass flow out||saii||CFX||2||September 18, 2009 08:07|
|UDF for species mass fractions||MRR||FLUENT||0||December 29, 2005 07:14|
|Mole fractions from mass fractions?||Keith||CD-adapco||5||September 27, 2002 05:39|
|Changing inlet mass fractions of CH4 and O2||Prateep Chatterjee||FLUENT||4||June 13, 2002 12:06|