CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

Workin' foamToCGNS for OF-1.6-ext

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 23, 2012, 10:49
Default Workin' foamToCGNS for OF-1.6-ext
  #1
Member
 
don lenardo
Join Date: Nov 2010
Posts: 75
Rep Power: 6
lentschi is on a distinguished road
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
lentschi is offline   Reply With Quote

Old   February 20, 2012, 13:04
Default
  #2
Member
 
Aqua
Join Date: Oct 2011
Posts: 96
Rep Power: 5
aqua is on a distinguished road
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
aqua is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Test directory missing in OpenFOAM 1.6 ext andrewryan OpenFOAM 2 March 20, 2011 16:41


All times are GMT -4. The time now is 12:46.