|
[Sponsors] |
February 17, 2010, 12:09 |
Ignition in reactingFoam
|
#1 |
New Member
Join Date: Feb 2010
Posts: 6
Rep Power: 16 |
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 |
|
March 19, 2010, 13:40 |
|
#2 |
New Member
Josiah Xu
Join Date: Jan 2010
Posts: 8
Rep Power: 16 |
Yes, actually, I got the same problem while trying to compile the changed case.
Hope anyone can help. |
|
May 23, 2010, 18:20 |
A possible way of solving this problem
|
#3 |
New Member
|
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 |
|
August 8, 2011, 12:40 |
Ms.
|
#4 |
New Member
Anonymous
Join Date: Aug 2010
Posts: 1
Rep Power: 0 |
type hs instead of h !! it will compile
|
|
August 13, 2014, 10:00 |
|
#5 |
New Member
Ricardo Barbosa
Join Date: Jun 2014
Posts: 4
Rep Power: 12 |
Hi
I have a doubt, how can i compile the code? What i have to do? |
|
|
|
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 |