fixedMeanValue boundary error while compiling
Hi to every one,
I am trying to include fixedMeanValue boundary condition to cavitating Foam solver when i execute it .It is showing the following error could any one help me in this regard Making dependency list for source file cavitatingFoam.C SOURCE=cavitatingFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/appl/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude -I/appl/OpenFOAM/OpenFOAM-1.6.x/src/transportModels -I/appl/OpenFOAM/OpenFOAM-1.6.x/src/transportModels/incompressible/lnInclude -I/appl/OpenFOAM/OpenFOAM-1.6.x/src/transportModels/interfaceProperties/lnInclude -I/appl/OpenFOAM/OpenFOAM-1.6.x/src/turbulenceModels/incompressible/turbulenceModel -I/appl/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/barotropicCompressibilityModel/lnInclude -IlnInclude -I. -I/appl/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/appl/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc43DPOpt/cavitatingFoam.o In file included from cavitatingFoam.C:46: :confused:fixedMeanValueFvPatchField.H: In function ‘int main(int, char**)’: fixedMeanValueFvPatchField.H:42: error: ‘namespace’ definition is not allowed here:confused: In file included from fixedMeanValueFvPatchField.H:176, from cavitatingFoam.C:46: fixedMeanValueFvPatchField.C:32: error: ‘namespace’ definition is not allowed here /appl/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude/readPISOControls.H:11: warning: unused variable ‘transonic’ /appl/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude/readPISOControls.H:3: warning: unused variable ‘nCorr’ /appl/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInc |
All times are GMT -4. The time now is 04:51. |