CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Ignition in reactingFoam

Register Blogs Community New Posts Updated Threads Search

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

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.

Thanks
pas32 is offline   Reply With Quote

Old   March 19, 2010, 13:40
Default
  #2
New Member
 
Josiah Xu
Join Date: Jan 2010
Posts: 8
Rep Power: 16
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, 18:20
Default A possible way of solving this problem
  #3
New Member
 
xinyu
Join Date: Apr 2010
Location: Connecticut
Posts: 9
Blog Entries: 1
Rep Power: 16
xinyu is on a distinguished road
Hi,

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
(
IOobject
(
"T",
runTime.timeName(),
mesh
),
thermo.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
xinyu is offline   Reply With Quote

Old   August 8, 2011, 12:40
Default Ms.
  #4
New Member
 
Anonymous
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, 10:00
Default
  #5
New Member
 
Ricardo Barbosa
Join Date: Jun 2014
Posts: 4
Rep Power: 12
RCB123456 is on a distinguished road
Hi

I have a doubt, how can i compile the code? What i have to do?
RCB123456 is offline   Reply With Quote

Reply


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 Off
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 Siemens 0 March 28, 2005 01:02
Ignition modeling Julie Polyakh Siemens 0 May 20, 2004 09:05
Combustion, ignition limits and dealy Nebojsa Milovanovic Main CFD Forum 2 April 18, 2000 04:58


All times are GMT -4. The time now is 19:31.