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

Look for mass fraction

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2011, 13:55
Question Look for mass fraction
  #1
Member
 
Join Date: Jan 2010
Posts: 44
Rep Power: 16
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, 07:05
Default
  #2
Senior Member
 
Rickard
Join Date: May 2010
Location: Lund, Skåne, Sweden
Posts: 143
Rep Power: 15
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


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
Error message: Insufficient Catalogue Size Paresh Jain CFX 32 February 3, 2021 03:37
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 21:14
CFX Solver Memory Error mike CFX 1 March 19, 2008 07:22
Need some help for total liquid fraction linus FLUENT 0 December 19, 2006 03:29


All times are GMT -4. The time now is 08:56.