CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   Ignition in reactingFoam (

pas32 February 17, 2010 12:09

Ignition in reactingFoam

I'm following the Contrib_reactingFoam instructions from OpenFOAMWiki and i have a problem when i compile the changes with wmake. Here is what i see where in bold is what seem to be the problem:

make: Warning: File `Make/linux64GccDPOpt/dontIncludeDeps' has modification time 3.3e+02 s in the future
Making dependency list for source file reactingFoam.C
make: warning: Clock skew detected. Your build may be incomplete.
make: Warning: File `reactingFoam.dep' has modification time 3.3e+02 s in the future
SOURCE=reactingFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I../XiFoam -I/usr/local/OpenFOAM/OpenFOAM-1.6/src/turbulenceModels/compressible/turbulenceModel -I/usr/local/OpenFOAM/OpenFOAM-1.6/src/thermophysicalModels/specie/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-1.6/src/thermophysicalModels/reactionThermo/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-1.6/src/thermophysicalModels/basic/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-1.6/src/thermophysicalModels/chemistryModel/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-1.6/src/ODE/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-1.6/src/engine/lnInclude -IlnInclude -I. -I/usr/local/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/reactingFoam.o
In file included from reactingFoam.C:80:
ignite.H: In function ‘int main(int, char**)’:
ignite.H:11: error: invalid types ‘<unresolved overloaded function type>[Foam::label]’ for array subscript

Can someone help me with this? From the instructions, it says to include ignition after the multivariateScheme and it is written ignition.H, should it be ignite.H?? If i do that, i get the following error when compiling:

In file included from reactingFoam.C:39:
ignite.H:1: error: expected unqualified-id before ‘if’

I'm not sure of what to do with that.


faithhidy March 19, 2010 13:40

Yes, actually, I got the same problem while trying to compile the changed case.
Hope anyone can help.

xinyu May 23, 2010 17:20

A possible way of solving this problem

According to the error message, it seems the temperature field T is not recognized by the program.Thus, I added the following lines in the createFields.H file after line 24. The error message was gone after I did this.
volScalarField T

I can get my program run using the new solver. I am also new to OpenFOAM and am not sure if this is valid. Just an idea.


toufik August 8, 2011 11:40

type hs instead of h !! it will compile

RCB123456 August 13, 2014 09:00


I have a doubt, how can i compile the code? What i have to do?

All times are GMT -4. The time now is 17:10.