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

santiagomarquezd November 26, 2010 23: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 05: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 11: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 18:57.