|
[Sponsors] |
Compiling new liquids libraries in OpenFOAM 6.0 version |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 26, 2018, 16:20 |
Compiling new liquids libraries in OpenFOAM 6.0 version
|
#1 |
New Member
Luis Fernando Rua Mojica
Join Date: May 2016
Location: Monterrey - México
Posts: 10
Rep Power: 10 |
Hi everyone, I'm trying the new version of OpenFOAM, and the creation of new liquid libraries in this seems to be changed and the files structures had some difference to the 4.0 version.
I have the follow error... wmake libso wmake libso . wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file C15H32.C could not open file NSRDSfunc0.H for source file liquidProperties/C15H32/C15H32.C due to No such file or directory could not open file NSRDSfunc1.H for source file liquidProperties/C15H32/C15H32.C due to No such file or directory could not open file NSRDSfunc2.H for source file liquidProperties/C15H32/C15H32.C due to No such file or directory could not open file NSRDSfunc3.H for source file liquidProperties/C15H32/C15H32.C due to No such file or directory could not open file NSRDSfunc4.H for source file liquidProperties/C15H32/C15H32.C due to No such file or directory could not open file NSRDSfunc5.H for source file liquidProperties/C15H32/C15H32.C due to No such file or directory could not open file NSRDSfunc6.H for source file liquidProperties/C15H32/C15H32.C due to No such file or directory could not open file NSRDSfunc7.H for source file liquidProperties/C15H32/C15H32.C due to No such file or directory could not open file NSRDSfunc14.H for source file liquidProperties/C15H32/C15H32.C due to No such file or directory could not open file APIdiffCoefFunc.H for source file liquidProperties/C15H32/C15H32.C due to No such file or directory Making dependency list for source file liquidProperties.C g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I/home/combustion/OpenFOAM/OpenFOAM-6/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/combustion/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude -I/home/combustion/OpenFOAM/OpenFOAM-6/src/OSspecific/POSIX/lnInclude -fPIC -c liquidProperties/liquidProperties/liquidProperties.C -o Make/linux64GccDPInt64Opt/liquidProperties/liquidProperties/liquidProperties.o g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I/home/combustion/OpenFOAM/OpenFOAM-6/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/combustion/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude -I/home/combustion/OpenFOAM/OpenFOAM-6/src/OSspecific/POSIX/lnInclude -fPIC -c liquidProperties/C15H32/C15H32.C -o Make/linux64GccDPInt64Opt/liquidProperties/C15H32/C15H32.o In file included from liquidProperties/C15H32/C15H32.C:26:0: liquidProperties/C15H32/C15H32.H:39:10: fatal error: NSRDSfunc0.H: No such file or directory #include "NSRDSfunc0.H" ^~~~~~~~~~~~~~ compilation terminated. /home/combustion/OpenFOAM/OpenFOAM-6/wmake/rules/General/transform:25: recipe for target 'Make/linux64GccDPInt64Opt/liquidProperties/C15H32/C15H32.o' failed make: *** [Make/linux64GccDPInt64Opt/liquidProperties/C15H32/C15H32.o] Error 1 I don't know how to link the NSRDS function libraries Someone has had a similar problem? |
|
September 26, 2018, 21:06 |
|
#2 |
Member
Join Date: Oct 2013
Posts: 92
Rep Power: 13 |
can you inspect if liquidProperties folder has any of those files?
It seems that folder is supposed to be local in your directory. And execute this in your compilation directory Code:
tree -d tree Code:
tree |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 04:18 |
OpenFOAM cloud computing on Rescale with custom libraries | LukaD | OpenFOAM Running, Solving & CFD | 5 | September 11, 2015 10:38 |
Openfoam mac: Compiling custom libraries | atareen64 | OpenFOAM | 3 | April 14, 2011 12:01 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
OpenFOAM Version 1.1 Released | OpenFOAM discussion board administrator | OpenFOAM Announcements from ESI-OpenCFD | 0 | March 11, 2005 06:33 |