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/)
-   -   problem with RBF in tho Foam 3.0 extend (https://www.cfd-online.com/Forums/openfoam-programming-development/136425-problem-rbf-tho-foam-3-0-extend.html)

Vesek May 28, 2014 08:51

problem with RBF in tho Foam 3.0 extend
 
Hello,
I have a problem with compiling solver for RBF. When you compile a report that I can not find functionObject.H. When he enters the path to the file directly and then again can not find another Header file from this file. I want to ask if anyone has the same problem. My idea if it can not be because I installed the foam as a binary package


When you start the tutorial follows this statement:
Code:

Compiling RBFMotionFunction application
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file RBFMotionFunctionObject.C
could not open file functionObject.H for source file RBFMotionFunctionObject.C
could not open file dictionary.H for source file RBFMotionFunctionObject.C
could not open file pointField.H for source file RBFMotionFunctionObject.C
could not open file addToRunTimeSelectionTable.H for source file RBFMotionFunctionObject.C
could not open file objectRegistry.H for source file RBFMotionFunctionObject.C
could not open file Time.H for source file RBFMotionFunctionObject.C
could not open file RBFMotionSolver.H for source file RBFMotionFunctionObject.C
SOURCE=RBFMotionFunctionObject.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-200 -I/opt/foam/foam-extend-3.0/src/dynamicMesh/dynamicMesh/lnInclude    -I/opt/foam/foam-extend-3.0/src/dynamicMesh/meshMotion/RBFMotionSolver/lnInclude    -I/opt/foam/foam-extend-3.0/src/finiteVolume/lnInclude    -I/opt/foam/foam-extend-3.0/src/meshTools/lnInclude    -I/opt/foam/foam-extend-3.0/src/triSurface/lnInclude -IlnInclude -I. -I/opt/foam/foam-extend-3.0/src/foam/lnInclude -I/opt/foam/foam-extend-3.0/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/RBFMotionFunctionObject.o
In file included from RBFMotionFunctionObject.C:29:0:
RBFMotionFunctionObject.H:41:28: fatal error: functionObject.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/RBFMotionFunctionObject.o] Error 1
blockMesh already run on /home/vasek/foam/vasek-3.0/run/RBF: remove log file to run
icoDyMFoam already run on /home/vasek/foam/vasek-3.0/run/RBF: remove log file to run

It is a Foam extend 3.0 on Ubuntu 12.4

wyldckat June 1, 2014 10:13

Greetings Vesek and welcome to the OpenFOAM forum!

I would like to try out this myself with an installation I have of foam-extend 3.0, built from source code. But I can't figure out which tutorial you're referring to and where you got it from.

Therefore, if you could provide a bit more information on how we can try and reproduce the same problem, i.e. where we can find the example case you're using, it'll be easier to diagnose the problem.

Best regards,
Bruno

Vesek June 1, 2014 16:38

Hello Bruno I used case in the tutorial for icoDyMFoam
/foam-extend-3.0/tutorials/incompressible/icoDyMFoam/movingBlockRBF

Here are also source code for RBF.

Best regards,
Vasek

wyldckat June 9, 2014 07:33

I've finally managed to get to this thread.

Indeed the problem is in the Deb package for foam-extend 3.0 and was reported some time ago here: http://sourceforge.net/apps/mantisbt...iew.php?id=200

According to the bug report, the quick solution is to run:
Code:

sudo wmakeAllLnInclude $FOAM_SRC
Then you can try building the library once again!

Best regards,
Bruno

Vesek June 16, 2014 04:22

Bruno Thank you for your advice. Neither these solutions do not work, I finally had to compile Foam and everything has been running as it should.

Best regards,
Vasek


All times are GMT -4. The time now is 09:13.