|
[Sponsors] |
April 11, 2011, 02:41 |
reaction in particular cells
|
#1 |
Senior Member
raymond
Join Date: Nov 2009
Posts: 149
Rep Power: 17 |
Dear all,
In whole volume domain, there are many cells. My model consists of many species and multiple reactions. In certain cells (but not all), particular reaction only occurred when particular species in contact, if there is no particular species in contact then there is no particular reaction. For example, my model consists of species A, B, C and D. When species A and B in contact in certain cells (but not all), then reaction 1 occurred in those particular cells. Similarly, when lack of species A but species B existing in those particular cells, then no reaction 1. I am using DEFINE_SOURCE(name, c, t, dS, eqn) to define my rate equation. My question is: when I am using DEFINE_SOURCE, rate equation of reaction 1 will only be calculated for those cells with existing species A and B? Means that when having postprocessing after iterations, only cells with existing species A and B having reaction 1 and products of reaction 1 will be shown in those cells. Does it work for DEFINE_SOURCE in this case? Please help. Thanks a lot |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Netgen] Import netgen mesh to OpenFOAM | hsieh | OpenFOAM Meshing & Mesh Conversion | 32 | September 13, 2011 06:50 |
Segmentation fault in running alternateSteadyReactingFoam,why? | NewKid | OpenFOAM | 18 | January 20, 2011 17:55 |
[snappyHexMesh] snappyHexMesh aborting | Tobi | OpenFOAM Meshing & Mesh Conversion | 0 | November 10, 2010 04:23 |
physical boundary error!! | kris | Siemens | 2 | August 3, 2005 01:32 |
chemical reaction - decompostition | La S. Hyuck | CFX | 1 | May 23, 2001 01:07 |