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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 9, 2010, 05: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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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 06:58
CFX doesn't continue calculation... mactech001 CFX 6 November 15, 2009 22:25
compiling new boundary mcgyver2k9 OpenFOAM 0 October 13, 2009 07:43
Concentric tube heat exchanger (Air-Water) Young CFX 5 October 7, 2008 00:17
Boundary conditions? Tom Main CFD Forum 0 November 5, 2002 02:54


All times are GMT -4. The time now is 11:42.