CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to speed up a reactingFoam simulatin?

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   February 26, 2010, 06:26
Default How to speed up a reactingFoam simulatin?
New Member
Ilja Sabelfeld
Join Date: Nov 2009
Posts: 22
Rep Power: 10
hamburgFoam is on a distinguished road
Hey everybody,

I am working on the reactindFoam case. Trying to simulate a flame. I am using a wedge grid with 10k cells. I am simulation with a adjusted time step:

adjustTimeStep yes;
maxCo 0.1;
maxDeltaT 5e-3;

With this settings i got a time step 2.1e-05. . . 2.6e-05. That seems to me a lil bit low and the case needed a view hours to converge. So, I increased maxCo to 0.5 and was hopping to speed up the simulation up. The time step i got now was 1.2e-04. . . 1.3e-04. Setting maxCo to 0.6 gave me a janaf-error. The next thing i was trying to do was to set adjustTimeStep to no and deltaT to a higher number than 2e-04. This gave me a janaf-error once again.

A simulation of the same flame with CFX converge with a time step of 1e-2. That makes the CFX-simulation much more faster than in OpenFOAM.

Do anybody know how it's possible to get a stabel simulation with a higher time step?

Does anybody know what the initialChemicalTimeStep in the constant/chemistryProperties directionary is and how this effects deltaT?

regards, ilja
hamburgFoam is offline   Reply With Quote

Old   March 12, 2010, 12:48
Senior Member
Join Date: Dec 2009
Posts: 112
Rep Power: 10
heavy_user is on a distinguished road
HI ilja,

i guess you allready know some of my answers, but here we go:

- decompose and run in parallel
- if it runs stabel you can reduce the number of correctors. (system/fvScemes) eg :
nOuterCorrectors 1;
nCorrectors 1;
nNonOrthogonalCorrectors 1;
momentumPredictor off;
- if you reduce the number of species for which you solve the equation you could also gain some performance.

initialChemicalTimeStep is the time step which the chemistry-solver uses.
The flowfield and the chemistry are solved by "different parts" of the solver "reactingFoam" therefore thy dont need neccessarily to have the same timestep. The
initialChemicalTimeStep should be of the magnitude of time of chemical reaction-> something like e-7.
(hope this is correct)

heavy_user is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Train Speed yeo FLUENT 5 February 14, 2012 09:38
reactingFoam - turbulent reacting flow hamburgFoam OpenFOAM 0 December 7, 2009 13:57
Can OpenFOAM generate flow at the speed of light? Michel_sharp OpenFOAM 6 October 24, 2009 04:09
low speed compressible two phase flow?? cat CFX 0 November 15, 2005 08:59
rotation speed in the domain jiaye gan CFX 3 April 5, 2004 08:50

All times are GMT -4. The time now is 21:08.