CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (http://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Workin' foamToCGNS for OF-1.6-ext (http://www.cfd-online.com/Forums/openfoam-post-processing/96443-workin-foamtocgns-1-6-ext.html)

lentschi January 23, 2012 10:49

Workin' foamToCGNS for OF-1.6-ext
 
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

aqua February 20, 2012 13:04

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


All times are GMT -4. The time now is 09:24.