
[Sponsors] 
July 6, 2011, 05:17 
Reaction solvers

#1 
Member
Tibo
Join Date: Jun 2011
Posts: 68
Rep Power: 7 
Hi,
IŽd like to the differences between all possible solvers for reacting systems in OpenFOAM (under "Combustion" either in User Guide 1.7.1 or 2.0.0): chemFoam, coldEngineFoam, dieselEngineFoam, dieselFoam, engineFoam, fireFoam, PDRFoam, reactingFoam, rhoReactingFoam, XiFoam. There are only few information in the User Guide. It only roughly tells what kind of systems can be solved with each solver. There is however absolutely no explanation about advantages and disadvantages of each solver with respect to one another. On websites and forums is not much more to be found (correct me if I am wrong, I sincerely hope I am!). I know that reactingFoam solves for the precise reaction schemes and uses specific (small) time steps. It thus gives precise concentration profiles but also takes quite a lot of time to solve for the chemistry. XiFoam is much faster because/but not as precise. Basically, I did not find any other information. Most users choose one solver or the other without justifying their choice, even though most time several solvers can do the job. Can you give me more properties of each one of those solvers: for example how fast they are, what kind of systems they are particularly good at solving (laminar/turbulent, single or multiphase, ...), accuracy of the different computed parameters, aso... ? I could look for what input each of these solvers requires and what utilities/libraries it uses but if you can give me those information too, that would spare me a lot of time and most likely help several other Foamers pick up the right solver. Thanks for your help. Tibo 

July 6, 2011, 13:31 

#2 
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 733
Rep Power: 21 
The question isn't as simple as you think. You can't fully compare two solvers without taking into account what discretization scheme and matrix solvers you are using. However, there is a summary of what types of problems each solver is suited for from the User Guide:
http://www.openfoam.com/docs/user/st...p#x13890003.5 

July 7, 2011, 06:07 

#3  
Member
Tibo
Join Date: Jun 2011
Posts: 68
Rep Power: 7 
Hi Marco,
Thanks for your answer. However, as I said in my first post, I did read this part of the User Guide and did not find very useful (in general and in my particular case, as I try to solve a case that does not correspond exactly to any of the described cases, or  put the other way around  that several of the "Combustion" solvers could probably solve). I actually did not know that fvSchemes is so important. Can you tell more about it please? I.e. what do you mean exactly with Quote:
And again, can someone tell me some of the differences between the "Combustion" solvers? 

July 7, 2011, 14:53 

#4 
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 733
Rep Power: 21 
If it doesn't exactly correspond, then it may be time to write your own solver.
As far as the fvSchemes and fvSolution dictionaries, have a look at the following pages in the user guide: http://www.openfoam.com/docs/user/fvSchemes.php http://www.openfoam.com/docs/user/fvSolution.php The solver itself usually specifies which equations to solve and in what order, as well as some top level decisions (full chemistry, turbulence, moving mesh, equation coupling). The schemes and solutions dictionaries then go further and specify how to calculate the terms in the equations and actually solve the equations, which depending on your problem can have a huge impact on your solution. 

July 8, 2011, 06:43 

#5 
Member
Franco Marra
Join Date: Mar 2009
Location: Napoli  Italy
Posts: 52
Rep Power: 10 
Dear Tibo,
simulation of reacting flows is not a trivial task. Depending upon space and time scales, the type of mixture (premixed or not), the flow regime (laminar or turbulent) and domain configuration (fixed or moving boundaries) and several other parameters, you need to formulate the problem in a deeply different manner to be able to solve it. In most cases, as it happens in several combustion systems, it is better to fully forget about the chemistry and use models that describe the reaction rate as a function of transport mechanisms. This is the reason for the great number of solvers available in OpenFOAM to apparently solve the same problem. Lack of a complete and detailed documentation is certainly one of the most drawback of OpenFOAM. However I can suggest you to have a look to the tutorials to see which kind of problem are solved by a specific solver. Maybe could be more effective to describe the problem you need to solve and ask the community to suggest the proper solver. Best regards, Franco 

July 8, 2011, 10:54 

#6 
Member
Tibo
Join Date: Jun 2011
Posts: 68
Rep Power: 7 
Thanks Marco, I knew most of it but I really like the way you put it. Very explanatory.
And thanks a lot Franco, even though I now have the feeling I wonŽt be able to understand all the solvers in the time frame of my project, I also think I better get how to pick the right one. Following your advice, I started a new, more specific thread in order to know what solver(s) I should use. IŽd really like to have your opinion about it. Could you have a look at it please? http://www.cfdonline.com/Forums/ope...tml#post315350 Thanks in advance. Tibo 

Tags 
combustion, reaction, reaction modelling, reaction solver 
Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Segmentation fault in running alternateSteadyReactingFoam,why?  NewKid  OpenFOAM  18  January 20, 2011 17:55 
reaction in UDF(DEFINE_VR_RATE)  louiza  FLUENT  3  October 13, 2010 23:59 
CFX5.7  chemical reaction problem...  H.L.  CFX  4  March 25, 2009 11:33 
chemical reaction  decompostition  La S. Hyuck  CFX  1  May 23, 2001 00:07 
chemical reaction  howto  Dan Sorensen  CDadapco  1  February 21, 2000 10:20 