CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

fixedMeanValue boundary error while compiling

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 9, 2010, 04:01
Default fixedMeanValue boundary error while compiling
  #1
Member
 
Join Date: Sep 2010
Posts: 36
Rep Power: 16
siddharameshwara is on a distinguished road
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:
fixedMeanValueFvPatchField.H: In function ‘int main(int, char**)’:
fixedMeanValueFvPatchField.H:42: error: ‘namespace’ definition is not allowed here
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
siddharameshwara is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Implementation of boundary conditions for FVM Tom Main CFD Forum 7 August 26, 2014 05:58
CFX doesn't continue calculation... mactech001 CFX 6 November 15, 2009 21:25
compiling new boundary mcgyver2k9 OpenFOAM 0 October 13, 2009 06:43
Concentric tube heat exchanger (Air-Water) Young CFX 5 October 6, 2008 23:17
Boundary conditions? Tom Main CFD Forum 0 November 5, 2002 01:54


All times are GMT -4. The time now is 03:38.