CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Ignition in reactingFoam

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

LinkBack Thread Tools Display Modes
Old   February 17, 2010, 12:09
Default Ignition in reactingFoam
New Member
Join Date: Feb 2010
Posts: 6
Rep Power: 7
pas32 is on a distinguished road

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.

pas32 is offline   Reply With Quote

Old   March 19, 2010, 13:40
New Member
Josiah Xu
Join Date: Jan 2010
Posts: 8
Rep Power: 7
faithhidy is on a distinguished road
Yes, actually, I got the same problem while trying to compile the changed case.
Hope anyone can help.
faithhidy is offline   Reply With Quote

Old   May 23, 2010, 17:20
Default A possible way of solving this problem
New Member
Join Date: Apr 2010
Location: Connecticut
Posts: 9
Blog Entries: 1
Rep Power: 7
xinyu is on a distinguished road

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.

xinyu is offline   Reply With Quote

Old   August 8, 2011, 11:40
Default Ms.
New Member
Join Date: Aug 2010
Posts: 1
Rep Power: 0
toufik is on a distinguished road
type hs instead of h !! it will compile
toufik is offline   Reply With Quote

Old   August 13, 2014, 09:00
New Member
Ricardo Barbosa
Join Date: Jun 2014
Posts: 4
Rep Power: 3
RCB123456 is on a distinguished road

I have a doubt, how can i compile the code? What i have to do?
RCB123456 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
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

All times are GMT -4. The time now is 13:15.