CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM

Look for mass fraction

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

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

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]?
Thanks.
Argen is offline   Reply With Quote

Old   March 5, 2011, 08:05
Default
  #2
Senior Member
 
Rickard
Join Date: May 2010
Location: Lund, Skåne, Sweden
Posts: 143
Rep Power: 6
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

Reply

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
Please Help.....Insufficient Catalogue Size Paresh Jain CFX 17 March 11, 2014 13:40
interDyMFoam - change in volume fraction gopala OpenFOAM Running, Solving & CFD 0 April 27, 2009 11: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 09: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 08:55.