|
[Sponsors] |
Dumb question about species fractions (reactingFoam) |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Patti Michelle Sheaffer
Join Date: Sep 2018
Posts: 55
Rep Power: 7 ![]() |
OK - I feel pretty confident about this but should ask - I have read around on this forum that reactingFoam wants mass fractions specified. But I wonder how the code handles the case of fractions not adding to 1.0. For instance, if N2 initial value is set throughout the domain with internalField, then part of the domain is overwritten with a volScalarFieldValue in setFieldsDict. I've noticed that these seem to add, and thus would be > 1.0. Is this correct?
|
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 ![]() |
In most cases transport equation is not solved for N2 -- it is simply treated as an inert component and is computed as (pseudo code) 1 - sum(all species). So the code will figure it out.
Caelan |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
output the species mass fractions | openfoammaofnepo | OpenFOAM | 1 | August 26, 2019 05:05 |
reactingFoam species concentration problem | Adamkat | OpenFOAM Running, Solving & CFD | 1 | August 17, 2017 08:07 |
In reactingFoam, is there any way to normalize mass fractions in initial conditions? | goxberry | OpenFOAM Pre-Processing | 0 | May 8, 2013 15:26 |
question about Species diffusivity | zhou1 | FLUENT | 3 | November 5, 2003 02:39 |
Species Transport Model- A question | Shankar | FLUENT | 2 | May 27, 2002 13:56 |