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

Whoa hey.... sum of reacting species is greater than 1?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 16, 2016, 19:43
Default Whoa hey.... sum of reacting species is greater than 1?
  #1
Member
 
Anonymouse
Join Date: Dec 2015
Posts: 98
Rep Power: 10
KarenRei is on a distinguished road
I've been trying to figure out why my reaction's been blowing up... and it looks like I just found something that's probably Very Bad(tm). I wrote a program to sum up all of the species in each block, and they're sometimes amounting to significantly more than 1. Shortly after I start, the highest block sum is 1.57. In my last timestep before the crash, the the highest is over 5 - some blocks with individual species over 4. I mean, just crazy-high.

Googling the problem I see one person advise (over a decade ago):

Quote:
It is also usefull to identify why you are observing this unphysical behavior. It could be a usefull exercise to check whether there is any coding problem. the known problems that results in this kind of behavior are usually:

1) unbounded numerical schemes;

2) diffusion fluxes that can not lead to \sum Yk = 1 (for example, if you are using unity Lewis number).

3) implicit segragated solver.
I wouldn't know how to go about fixing these, unfortunately... I'm only a novice with OpenFoam. My fvSchemes is:

Quote:
fluxScheme Kurganov;

ddtSchemes
{
default Euler;
}

gradSchemes
{
default cellLimited Gauss linear 1; // Virðist vera meira stöðugt
}

divSchemes
{
default none;
div(phi,K) Gauss linearUpwind grad(U);
div(phid,p) Gauss limitedLinear 1;
div(phi,k) Gauss linearUpwind grad(U);
div(phi,epsilon) Gauss linearUpwind grad(U);
div(tauMC) Gauss linear;
div(phi,U) Gauss linearUpwind grad(U);
div(phi,Yi_h) Gauss upwind;
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
}

laplacianSchemes
{
default Gauss linear limited corrected 0.33;
}

interpolationSchemes
{
default linear;
reconstruct(rho) vanLeer;
reconstruct(U) vanLeerV;
reconstruct(T) vanLeer;
}

snGradSchemes
{
default limited corrected 0.5;
}
and my fvSolution:

Quote:
solvers
{
p
{
solver PBiCGStab;
preconditioner DILU;
tolerance 1e-14;
relTol 0.01;
}

pFinal
{
$p;
relTol 0.0;
}

"rho.*"
{
solver diagonal;
tolerance 1e-13;
relTol 0.0;
}

"(U|h|e|R|k|epsilon|omega)"
{
solver PBiCGStab;
preconditioner DILU;
tolerance 1e-13;
relTol 0.0;
}

"(U|h|e|R|k|epsilon|omega)Final"
{
$U;
relTol 0.0;
}

Yi
{
$hFinal;
}
}

PIMPLE
{
momentumPredictor no;
nOuterCorrectors 1;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
transonic yes;
}
My thermoType is:

Quote:
thermoType
{
type hePsiThermo;
mixture reactingMixture;
transport sutherland;
thermo janaf;
equationOfState perfectGas;
specie specie;
energy sensibleEnthalpy;
}
... and all of my reactions have transport As = 1.67212e-6, Ts = 170.672.

chemistry is EulerImplicit, cTauChem 1.0, equilibriumRateLimiter off.

Any clue what could be wrong or what I could try?
KarenRei is offline   Reply With Quote

Old   June 29, 2017, 11:28
Default
  #2
New Member
 
Cloudy
Join Date: Dec 2016
Posts: 2
Rep Power: 0
flyingmercury is on a distinguished road
Hi, I am just wondering if you have found out the reason and solved this issue eventually?

Thanks.
flyingmercury is offline   Reply With Quote

Old   June 29, 2017, 13:47
Default
  #3
Member
 
Anonymouse
Join Date: Dec 2015
Posts: 98
Rep Power: 10
KarenRei is on a distinguished road
My experience has generally been that such problems, at least with reactingFoam, is that they're triggered by having one of your reactions improperly balanced. I think another cause can be if your species percents don't addup to 1. I may have encountered some other things that can generate this problem but I don't recall them.
KarenRei 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
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 02:50
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


All times are GMT -4. The time now is 07:48.