CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Look for mass fraction

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

LinkBack Thread Tools Display Modes
Old   March 4, 2011, 14:55
Question Look for mass fraction
Join Date: Jan 2010
Posts: 44
Rep Power: 9
Argen is on a distinguished road

In OpenFOAM, it is shown
"00056 inline Foam::volScalarField& Foam::basicMultiComponentMixture::Y
00057 (
00058 const word& specieName
00059 )
00060 {
00061 return Y_[species_[specieName]];
00062 }"
to look for the specie of interest.

I am wondering what the meaning of "const word& specieName" is?
In terms of CO2, how to express it? Y[CO2]?
Argen is offline   Reply With Quote

Old   March 5, 2011, 08:05
Senior Member
Join Date: May 2010
Location: Lund, Skåne, Sweden
Posts: 143
Rep Power: 9
Rickard.Solsjo is on a distinguished road
Look at the Yeqn at doxygen.
Might give you some ideas
Rickard.Solsjo is offline   Reply With Quote


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
Error message: Insufficient Catalogue Size Paresh Jain CFX 31 June 7, 2016 21:31
interDyMFoam - change in volume fraction gopala OpenFOAM Running, Solving & CFD 0 April 27, 2009 10:46
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 22:14
CFX Solver Memory Error mike CFX 1 March 19, 2008 08:22
Need some help for total liquid fraction linus FLUENT 0 December 19, 2006 04:29

All times are GMT -4. The time now is 12:44.