CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   fixedMeanValue "namespace" error (https://www.cfd-online.com/Forums/openfoam-programming-development/81902-fixedmeanvalue-namespace-error.html)

siddharameshwara November 10, 2010 04:04

fixedMeanValue "namespace" error
 
Hi to all,

I tried to add fixed MeanValue boundary condition to my cavitatingFoam but when i execute it using wmake it is showing the following error

:confused:fixedMeanValueFvPatchField.H:41: error: ‘namespace’ definition is not allowed here:confused:

Can anybody help me in this regard

Thanks

McCarra December 11, 2010 07:38

Hello,

If I'm not mistaken, you should apply the boundary conditions on the 0 folder of your case. It makes no sense to compile boundary conditions since they are set at "user level".
Which is the case you are running? Is it a tutorial?

Depending on the parameter you are trying to set (U, p,...) there are different options of patchField types (fixedValue, fixedGradient, fixedNormalSlip...).

Regards

siddharameshwara December 13, 2010 03:00

Quote:

Originally Posted by McCarra (Post 287013)
Hello,

If I'm not mistaken, you should apply the boundary conditions on the 0 folder of your case. It makes no sense to compile boundary conditions since they are set at "user level".
Which is the case you are running? Is it a tutorial?

Depending on the parameter you are trying to set (U, p,...) there are different options of patchField types (fixedValue, fixedGradient, fixedNormalSlip...).

Regards

Hi dude,

I am using tutorial. But, now i solved the problem. I had some problem with permissions. Now everything is ok. Any how thanks for your reply,

Cheers.


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