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

mass fraction instead molar concentration in reaction rate

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2018, 10:03
Default mass fraction instead molar concentration in reaction rate
  #1
New Member
 
igor
Join Date: Jun 2014
Posts: 7
Rep Power: 11
iiigoriii is on a distinguished road
Dear OpenFOAM users,

I made my own reaction rate function (in according to hints from this forum) and everything works perfectly. I have total match between manual calculation, DWSIM and OpenFOAM. If somebody will be interested in this in future, little hint -> check units. It is biggest mind****.

I created reaction rate as polynomial, dependent on temperature. I would like to add also mass fraction dependence. My reaction rate is created from LangmuirHinshelwoodReactionRate. This reaction rate can use variables: pressure (P), temperature (T) and molar concentration (c).

For example in StandardChemistryModel.C i see for molar mass, but I don't know how to define specieThermo_.
Code:
scalar W = specieThermo_[i].W()

Is there a simple (or relative) way to add mass fraction "Y" to LangmuirHinshelwoodReactionRateI.H ? (or actual "rho"? from "c" it is simple to calculate "Y"...)

thanks, BR, ii

Last edited by iiigoriii; November 16, 2018 at 16:13.
iiigoriii 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
mass flow inlet and pressure outlet with target mass flow rate Zigainer FLUENT 13 October 26, 2018 05:58
Reaction Rate constant at the wall Diger FLUENT 0 December 29, 2016 16:18
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Mass imbalance in fast chem. reaction Laexzzz FLUENT 3 March 16, 2014 23:19
chemical reaction - decompostition La S. Hyuck CFX 1 May 23, 2001 00:07


All times are GMT -4. The time now is 01:59.