|February 17, 2010, 12:09||
Ignition in reactingFoam
Join Date: Feb 2010
Posts: 6Rep Power: 7
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.
|May 23, 2010, 17:20||
A possible way of solving this problem
Join Date: Apr 2010
Blog Entries: 1Rep Power: 7
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.
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.
|Thread||Thread Starter||Forum||Replies||Last Post|
|reactingFoam - turbulent reacting flow||hamburgFoam||OpenFOAM||0||December 7, 2009 13:57|
|Shell Ignition Model||Felix||Main CFD Forum||0||February 10, 2006 01:40|
|Chem. Reaction and Ignition Setting in ICE Problem||Tulus||CD-adapco||0||March 28, 2005 00:02|
|Ignition modeling||Julie Polyakh||CD-adapco||0||May 20, 2004 08:05|
|Combustion, ignition limits and dealy||Nebojsa Milovanovic||Main CFD Forum||2||April 18, 2000 03:58|