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/)
-   -   Using Foam::bound() (http://www.cfd-online.com/Forums/openfoam-programming-development/82457-using-foam-bound.html)

santiagomarquezd November 27, 2010 00:06

Using Foam::bound()
 
Hi all, it's a very simple question but I can't find the solution, I'm using the method bound(), from namespace Foam, but at compiling time I have:

error: ‘bound’ was not declared in this scope

Regards

herbert November 30, 2010 06:13

Hi,

you can try to include it directly via
Code:

include "bound.H"
because it is not included in fvCFD.H. The compressible solver might know it from elsewhere (maybe via the includes in turbulence models).

Regards,
Stefan

santiagomarquezd November 30, 2010 12:48

Stefan, I was wondering the same after I sent the message, thanks for the confirmation, it's compiling now.

Regards.


All times are GMT -4. The time now is 05:24.