|
[Sponsors] |
January 23, 2012, 09:49 |
Workin' foamToCGNS for OF-1.6-ext
|
#1 |
Member
sirLentschi
Join Date: Nov 2010
Posts: 79
Rep Power: 15 |
Hello everyone,
I want to compile the cgnslib_2.5,cgnstools_2.5,libcgnsoo_3.0 and foamToCGNS in OF-1.6-ext. The compilation of the first 3 components worked quite good without an error!But it is not possible for me to compile the foamToCGNS although i did the mod in the foamToCGNS.C in the Make/files! Everytime I get the following error: Making dependency list for source file foamToCGNS.C could not open file libcgnsoo3/cgnsoo.H for source file foamToCGNS.C could not open file libcgnsoo3/file.H for source file foamToCGNS.C could not open file libcgnsoo3/quantity.H for source file foamToCGNS.C could not open file RASModel.H for source file foamToCGNS.C could not open file kEpsilon.H for source file foamToCGNS.C SOURCE=foamToCGNS.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/hpc_home/mlenarci/OpenFOAM/OpenFOAM-1.6/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -I/hpc_home/mlenarci/OpenFOAM/OpenFOAM-1.6/OpenFOAM-1.6-ext/src/meshTools/lnInclude -I/hpc_home/mlenarci/OpenFOAM/OpenFOAM-1.6/OpenFOAM-1.6-ext/applications/solvers/ -I/hpc_home/mlenarci/OpenFOAM/OpenFOAM-1.6/OpenFOAM-1.6-ext/src/transportModels -I/hpc_home/mlenarci/OpenFOAM/OpenFOAM-1.6/OpenFOAM-1.6-ext/src/turbulenceModels -I/hpc_home/mlenarci/OpenFOAM/OpenFOAM-1.6/OpenFOAM-1.6-ext/src/transportModels/incompressible/lnInclude -IlnInclude -I. -I/hpc_home/mlenarci/OpenFOAM/OpenFOAM-1.6/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/hpc_home/mlenarci/OpenFOAM/OpenFOAM-1.6/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -DOPENFOAM_VERSION=150 -DEXPORT_CYCLIC_BOUNDARIES -c $SOURCE -o Make/linux64GccDPOpt/foamToCGNS.o foamToCGNS.C:37:31: error: libcgnsoo3/cgnsoo.H: No such file or directory foamToCGNS.C:38:29: error: libcgnsoo3/file.H: No such file or directory In file included from foamToCGNS.C:46: fieldsNameMappingOpenFoamCGNS.H:40:33: error: libcgnsoo3/quantity.H: No such file or directory foamToCGNS.C:53:22: error: RASModel.H: No such file or directory foamToCGNS.C:54:22: error: kEpsilon.H: No such file or directory In file included from foamToCGNS.C:45: vertexMappingOpenFoamCGNS.H:40: error: âCGNSOOâ has not been declared vertexMappingOpenFoamCGNS.H:40: error: expected â>â before âm_element_typeâ vertexMappingOpenFoamCGNS.H:49: error: âstd::vectorâ has not been declared vertexMappingOpenFoamCGNS.H:49: error: expected â,â or â...â before â<â token vertexMappingOpenFoamCGNS.H: In member function âvoid Foam::CGNS_CellConnectivityBuilder<m_number_of_ver tices, ElementType_t>::init(int)â: vertexMappingOpenFoamCGNS.H:51: error: âe_typeâ was not declared in this scope vertexMappingOpenFoamCGNS.H:51: error: âCGNSOOâ has not been declared vertexMappingOpenFoamCGNS.H:53: error: âconnectivityâ was not declared in this scope vertexMappingOpenFoamCGNS.H:53: error: âm_element_typeâ was not declared in this scope vertexMappingOpenFoamCGNS.H:61: error: âconnectivityâ was not declared in this scope vertexMappingOpenFoamCGNS.H:61: error: âshapeLabelsâ was not declared in this scope vertexMappingOpenFoamCGNS.H: At global scope: vertexMappingOpenFoamCGNS.H:145: error: âCGNSOOâ was not declared in this scope vertexMappingOpenFoamCGNS.H:145: error: template argument 2 is invalid vertexMappingOpenFoamCGNS.H:148: error: expected â)â before â<â token In file included from foamToCGNS.C:45: vertexMappingOpenFoamCGNS.H:152: error: âCGNSOOâ was not declared in this scope vertexMappingOpenFoamCGNS.H:152: error: template argument 2 is invalid vertexMappingOpenFoamCGNS.H:155: error: expected â)â before â<â token vertexMappingOpenFoamCGNS.H:159: error: âCGNSOOâ was not declared in this scope vertexMappingOpenFoamCGNS.H:159: error: template argument 2 is invalid vertexMappingOpenFoamCGNS.H:162: error: expected â)â before â<â token vertexMappingOpenFoamCGNS.H:166: error: âCGNSOOâ was not declared in this scope vertexMappingOpenFoamCGNS.H:166: error: template argument 2 is invalid vertexMappingOpenFoamCGNS.H:169: error: expected â)â before â<â token In file included from foamToCGNS.C:46: fieldsNameMappingOpenFoamCGNS.H:61: error: ISO C++ forbids declaration of âtype nameâ with no type fieldsNameMappingOpenFoamCGNS.H:61: error: template argument 2 is invalid fieldsNameMappingOpenFoamCGNS.H:61: error: template argument 4 is invalid fieldsNameMappingOpenFoamCGNS.H:61: error: invalid type in declaration before â;â token fieldsNameMappingOpenFoamCGNS.H:63: error: expected initializer before âOpenFoamFieldXlate_map_initâ fieldsNameMappingOpenFoamCGNS.H:74: error: âCGNSOOâ has not been declared fieldsNameMappingOpenFoamCGNS.H:74: error: expected initializer before âstring_OpenFoam_to_CGNSFieldâ In file included from foamToCGNS.C:47: bcTypeMappingOpenFoamCGNS.H:68: error: ISO C++ forbids declaration of âtype nameâ with no type bcTypeMappingOpenFoamCGNS.H:68: error: template argument 2 is invalid bcTypeMappingOpenFoamCGNS.H:68: error: invalid type in declaration before â;â token bcTypeMappingOpenFoamCGNS.H:70: error: âCGNSOOâ was not declared in this scope bcTypeMappingOpenFoamCGNS.H:70: error: functional cast expression list treated as compound expression bcTypeMappingOpenFoamCGNS.H:71: error: âCGNSOOâ was not declared in this scope bcTypeMappingOpenFoamCGNS.H:71: error: functional cast expression list treated as compound expression bcTypeMappingOpenFoamCGNS.H:72: error: âCGNSOOâ was not declared in this scope bcTypeMappingOpenFoamCGNS.H:72: error: functional cast expression list treated as compound expression bcTypeMappingOpenFoamCGNS.H:73: error: âCGNSOOâ was not declared in this scope bcTypeMappingOpenFoamCGNS.H:73: error: functional cast expression list treated as compound expression bcTypeMappingOpenFoamCGNS.H:74: error: âCGNSOOâ was not declared in this scope bcTypeMappingOpenFoamCGNS.H:74: error: functional cast expression list treated as compound expression bcTypeMappingOpenFoamCGNS.H:80: error: âCGNSOOâ has not been declared bcTypeMappingOpenFoamCGNS.H:80: error: expected initializer before âstring_OpenFoam_to_CGNSBcTypeâ foamToCGNS.C:284: error: expected â}â at end of input make: *** [Make/linux64GccDPOpt/foamToCGNS.o] Error 1 So, has anybody a full modified, working fluentToCGNS for OF-1.6-ext??? Thanks in advance. BR |
|
February 20, 2012, 12:04 |
|
#2 |
Member
Aqua
Join Date: Oct 2011
Posts: 96
Rep Power: 14 |
Hello, BR,
Did you make it to compile foamToCGNS in OF-1.6-ext? I have the same problem, really hope you could help me on this. Thank you so much! Aqua |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Test directory missing in OpenFOAM 1.6 ext | andrewryan | OpenFOAM | 2 | March 20, 2011 15:41 |