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

Does janaf/reactingFoam actually work?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By KarenRei

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 18, 2016, 17:09
Default Does janaf/reactingFoam actually work?
  #1
Member
 
Anonymouse
Join Date: Dec 2015
Posts: 98
Rep Power: 10
KarenRei is on a distinguished road
Searching on the topic finds tons of people with problems and nobody with solutions.

I wrote a model which I got working in sonicFoam to simulate an aerospike, with hconst and a single species mixture. All well and good, but that misses some important details - in the real world, the exhaust has very different properties from the atmosphere, and combustion isn't done the instant the exhaust leaves the throat. So the next obvious solution is to switch over to reactingFoam and use a reactingMixture with janaf.

And this has simply bogged down. Even with all chemical reactions shut off, just the simple usage of a reactingMixture and janaf with reactingFoam.

It starts out fine, but then after a short period, temperatures start skyrocketing, full of "out of temperature range" warnings, both for positive and negative temperatures in the tens of thousands of degrees or more. Occasionally it even crashes out because of them. Usually the simulation just slows to a crawl (trying to maintain the courant number at below 0.2). While with sonicFoam I was getting a deltaT around 1e-7, here I'm getting one around 1e-12. And with all of the errors I doubt I could even trust whatever results I would get anyway.

Disabling turbulence and going with laminar makes no difference.

I've tried stripping out big chunks of my model and changing all sorts of conditions. It seems it happens just because there's a high velocity jet (the exhaust stream). Even if I lower it's temperature - say, from ~3k to ~1k - things still go off the rails. No choice of parameters (and I've tried many, many different ones) in fvSolutions seems to make any difference. It just always goes to hell.

Thoughts? Is it even possible to make this work right, with any sort of remotely decent performance? Right about now I'd be happy just to give up on the concept of chemical reactions, if only I could at least handle inhomogeneous mixtures...
altinel likes this.
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
RP_Set_Integer does not work in parallel 86lolo Fluent UDF and Scheme Programming 2 July 3, 2014 11:37
Does CX_Interpret_String work in parallel? 86lolo Fluent UDF and Scheme Programming 2 June 30, 2014 04:36
Companies that lease software & hardware for cloud-based work? Catthan ANSYS 0 June 18, 2014 10:53
Why do the Plant library cases don't work? Alumna Phoenics 6 June 22, 2004 12:08
why my In-Form doesn't work? green Phoenics 2 May 27, 2004 21:03


All times are GMT -4. The time now is 14:22.