CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   Using Foam::bound() (

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


herbert November 30, 2010 06:13


you can try to include it directly via

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).


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.


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