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

How to access member function "reactions()" in class "chemistryModel"

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2016, 11:10
Default How to access member function "reactions()" in class "chemistryModel"
  #1
New Member
 
Wang Wei
Join Date: Apr 2016
Posts: 11
Rep Power: 10
Wang Wei is on a distinguished road
Hi, foamers, I want to access function "reactions()" in "chemistryModelI.H". I am using reactingFoam solver. Can anyone help me?

chemistryModelI.H
Code:
template<class CompType, class ThermoType>
inline const Foam::PtrList<Foam::Reaction<ThermoType> >&
Foam::chemistryModel<CompType, ThermoType>::reactions() const
{
    return reactions_;
}
Wang Wei is offline   Reply With Quote

Old   June 14, 2017, 04:04
Default Same question
  #2
New Member
 
Maxime Pochet
Join Date: Jun 2017
Posts: 1
Rep Power: 0
maxime.pochet@hotmail.com is on a distinguished road
Hi Wang Wei,
Dear Foamers,

I have exactly the same need as you: access the informations returned by the function reactions(). Except i am using the chemFOAM solver...

Did you had the chance to succeed in accessing it Wang Wei?

Thanks a lot,
Maxime
maxime.pochet@hotmail.com is offline   Reply With Quote

Old   June 7, 2018, 14:27
Default
  #3
Member
 
Raunak Bardia
Join Date: Jan 2015
Posts: 32
Rep Power: 11
raunakbardia is on a distinguished road
Any solutions to this? This will be of quite some help.
raunakbardia 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
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 05:42
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
issue compiling new turbulence model perplexed user OpenFOAM Programming & Development 1 January 13, 2012 03:40
OpenFoam 14 installation problem gfcoppola OpenFOAM Installation 20 November 2, 2007 13:38
Accessing a member function in a class fabianpk OpenFOAM 2 June 14, 2006 09:20


All times are GMT -4. The time now is 06:19.