CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   g++ error /new boundary condition (http://www.cfd-online.com/Forums/openfoam-programming-development/81404-g-error-new-boundary-condition.html)

siddharameshwara October 26, 2010 07:02

g++ error /new boundary condition
 
Hello to every one,

I added new boundarycondition to cavitatingFoam and tried to execute it. Initially i tried with wmake it showed some error like :confused:environment variables $WM_OPTIONS not set:confused:.And then i tried to execute file.C with g++ but i got following error.

Can any body help me in htis regard

error is

:confused:cavitatingFoam.C:36:19: error: fvCFD.H: No such file or directory
cavitatingFoam.C:37:44: error: barotropicCompressibilityModel.H: No such file or directory
cavitatingFoam.C:38:29: error: twoPhaseMixture.H: No such file or directory
cavitatingFoam.C:39:29: error: turbulenceModel.H: No such file or directory
cavitatingFoam.C:45:29: error: setRootCase.H: No such file or directory
In file included from cavitatingFoam.C:46:
fixedMeanValueFvPatchField.H:38:37: error: fixedValueFvPatchFields.H: No such file or directory
cavitatingFoam.C:47:28: error: createTime.H: No such file or directory
cavitatingFoam.C:48:28: error: createMesh.H: No such file or directory
In file included from cavitatingFoam.C:50:
readControls.H:1:30: error: readTimeControls.H: No such file or directory
readControls.H:9:30: error: readPISOControls.H: No such file or directory
In file included from cavitatingFoam.C:51:
createFields.H:74:28: error: createPhiv.H: No such file or directory
createFields.H:75:39: error: compressibleCreatePhi.H: No such file or directory
cavitatingFoam.C:52:36: error: initContinuityErrs.H: No such file or directory
cavitatingFoam.C:53:39: error: compressibleCourantNo.H: No such file or directory
fixedMeanValueFvPatchField.H: In function ‘int main(int, char**)’:
fixedMeanValueFvPatchField.H:42: error: expected primary-expression before ‘namespace’
fixedMeanValueFvPatchField.H:42: error: expected `;' before ‘namespace’
cavitatingFoam.C:93: error: expected `}' at end of input


All times are GMT -4. The time now is 17:54.