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

g++ error /new boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2010, 08:02
Default g++ error /new boundary condition
  #1
Member
 
Join Date: Sep 2010
Posts: 36
Rep Power: 17
siddharameshwara is on a distinguished road
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 environment variables $WM_OPTIONS not set.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

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
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
Boundary Conditions Thomas P. Abraham Main CFD Forum 20 July 7, 2013 06:05
Transient outlet boundary condition problem jwillie2000 CFX 1 December 7, 2009 18:07
Axis Boundary Condition..what is it? CFDtoy FLUENT 6 February 13, 2007 06:51
How to set boundary condition in Fluent for the fo Peiyong FLUENT 1 November 10, 2006 12:44
How to resolve boundary condition problem? sam FLUENT 2 July 20, 2003 03:19


All times are GMT -4. The time now is 04:19.