Problem in Compiling the solver
Dear all
Here i added one of the Header files to the solver files and compile it and i encounter this error which i cant understand it. would any one please help me what it does mean ? In file included from mdFoam.C:67: /home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/temperatureEquilibration.H: In function ‘int main(int, char**)’: /home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/temperatureEquilibration.H:37: error: ‘targetTemperature’ was not declared in this scope make: *** [Make/linuxGccDPOpt/mdFoam.o] Error 1 Regards |
Options file in Make folder?
Did you set up your Options file in your make folder to include another header from a source outside your solver folder?
if I wanted to include something from the lagrangian basic and intermediate class, i would add the folder containing the header i wanted on the include path Code:
EXE_INC = \ |
well, i didnt understand the point you mentioned completely. i do this by adding the # include <temperatureEquilibration.H> to the solver file and when trying to compile it such error happens... What is the reason for it?
|
that variable is undefined
try adding the header file readmdEquilibrationDict.H before the temperatureEquilibration.H file. The temperatureEquilibration.H file needs the variable targetTemperature to be defined...and that what it is complaining about. Im looking in the solver mdEquilibrationFoam in openfoam-1.5-dev...but this is probably relevant to other MD solvers in OF.
Dan |
Thanks alot.
|
All times are GMT -4. The time now is 22:27. |