CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   adding new liquid (http://www.cfd-online.com/Forums/openfoam/111176-adding-new-liquid.html)

pushkaraj December 30, 2012 09:07

adding new liquid
 
hi friends
I am using openfoam-2.1.1 and tried to add new liquid gasoline for my gasoline spray analysis. but while generating the properties with command 'wmake libso' i got following error which says that terminal is not able to open "liquidProperties.H''
details of error are given below:

wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file gasoline.C
could not open file liquidProperties.H for source file gasoline.C
could not open file gasolineI.H for source file gasoline.C
SOURCE=gasoline.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM-2.1.1/src/thermophysicalModels/liquidProperties/lnInclude -I/opt/OpenFOAM-2.1.1/src/thermophysicalModels/thermophysicalFunctions/lnInclude -I/home/pushkaraj/OpenFOAM/pushkaraj-2.1.1/src/thermophysicalModels/thermophysicalFunctions/NSRDSfunctions/lnInclude -IlnInclude -I. -I/opt/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/opt/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/gasoline.o
In file included from gasoline.C:26:0:
gasoline.H:38:30: fatal error: liquidProperties.H: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/gasoline.o] Error 1
:confused:
please help guys.

Tushar@cfd December 31, 2012 07:21

Edit the "make" folder properly... Then the error will be resolved...

Klodval April 28, 2013 17:07

Hi, I am havint the same problem when compiling the new liquid library,
for the problem you have just remove the liquidProperties.C line in the Make/files.
Where I am stuck, is that the compiler is reporting an error stating the liquid class is not defined, what can I do?


All times are GMT -4. The time now is 10:40.