Hi every OpenFoamers,
I'm trying to add ignition to my solver reactingFoam as suggested in this thread : http://openfoamwiki.net/index.php/Contrib_reactingFoam
But this is for an older version of OpenFoam and I am currently using v2.1.1 so the files are not exactly the same... and I am a bit lost when I have to add in the reactingFoam.C file the line : #include readCombustionproperties.H under the line #include "readChemistryProperties.H" which does not exist anymore in this version. so where am I supposed to write this?
The same problem for : #include "ignite.H" I see the line #include "hsEqn.H" which I suppose to be equivalent to #include "hEqn.H" but I don't see the line define DB turbulence->alphaEff().
You 'll find my solver modified here : https://www.dropbox.com/s/gjeletwwzv...FoamIgnite.zip
It just misses these two modifications.
Hope someone can help me.
Thanks in advance
Is there anybody who could help me? :-)
If you use 2.2.x you dont have to code anything and
this can very easily be implemented using fvOptions
something like this
Hi Niklas , thank you for your answer.
Actually I use OF 2.1.1. Does that work on this version too or is it specific to the latest version?
nope, I recommend you upgrade
oh.. but unfortunately I cannot upgrade because I run the case on a cluster on which I cannot do what I want. :-/
Is there another possibility to simulate ignition in that case?
you can compile your own solver and run on the cluster, but you cant change OF version.
Is that what you are saying?
If so, I'm having problem to understand how your cluster is set up.
If you can run your own solver, surely you should be able to run your own OF version.
yes I think so . Well I'll ask the moderator if it s possible.
If not what am I supposed to do?
you either tell the moderator to install the latest version and keep it up to date
(that means he should install the git version and keep up with all the bug-fixes)
you install openfoam under your own user-directory and do all of this yourself
either way I think its a waste of your time to implement something that is already obsolete,
plus the latest version is really a nice upgrade with lots of added goodies.
if you stick with 2.1.1 you're just digging yourself a hole that will get harder and harder
to climb out of as the new versions come out.
ok I ll try this then , you re right .
could you tell me a bit more about the different elements in the fvoption file you just showed me?
what are the differents options? or where can I find them to choose the best for my case?
Niklas, what do you think about using XiFoam instead reactingFoam for my application ?
XiFoam already integrates ignition :-) and is for premixed combustion (my case)
But I suppose I'll be limited with the reaction model?
Thank you in advance for your advises
for fvOptions: read the documentation on the site. That's what I've done.
Do you know how to solve the problem for the solvers that do not include fvOption in system? For example, in OF230, the system for reactingFoam includes only controlDict, fvSchemes and fvSolution. Thanks in advance.
reactingFoam include the fvOption tools. So just add a "fvOptions" file in the system dir with the appropriate setting in.
It should be quite simple.
1. You should add an engine library in the options file (make dir):
EXE_INC = \
EXE_LIBS = \
2. Just add #include "ignite.H" in the main loop of your application where you need.
At least it works fine for my combustion solver.
|All times are GMT -4. The time now is 06:19.|