|
[Sponsors] |
May 28, 2014, 09:51 |
problem with RBF in tho Foam 3.0 extend
|
#1 |
New Member
Vaclav Ridky
Join Date: Nov 2012
Posts: 4
Rep Power: 14 |
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 Last edited by wyldckat; June 1, 2014 at 11:08. Reason: Added [CODE][/CODE] |
|
June 1, 2014, 11:13 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
June 1, 2014, 17:38 |
|
#3 |
New Member
Vaclav Ridky
Join Date: Nov 2012
Posts: 4
Rep Power: 14 |
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 |
|
June 9, 2014, 08:33 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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 Best regards, Bruno
__________________
|
|
June 16, 2014, 05:22 |
|
#5 |
New Member
Vaclav Ridky
Join Date: Nov 2012
Posts: 4
Rep Power: 14 |
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 |
|
Tags |
foam extend, rbf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] Errors during blockMesh meshing | Madeleine P. Vincent | OpenFOAM Meshing & Mesh Conversion | 51 | May 30, 2016 11:51 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
[Commercial meshers] Problem with Mesh conversion Gambit msh Foam | Rachid BANNARI (Bannari) | OpenFOAM Meshing & Mesh Conversion | 25 | September 11, 2011 08:58 |
problem in running FoamX in Open FOAM | Gaurav | Main CFD Forum | 3 | May 10, 2006 06:06 |
problem about installing FOAM | linux freshman | Main CFD Forum | 6 | November 4, 2004 11:59 |