CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

problem with RBF in tho Foam 3.0 extend

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 28, 2014, 08:51
Default problem with RBF in tho Foam 3.0 extend
  #1
New Member
 
Vaclav Ridky
Join Date: Nov 2012
Posts: 4
Rep Power: 13
Vesek is on a distinguished road
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

Last edited by wyldckat; June 1, 2014 at 10:08. Reason: Added [CODE][/CODE]
Vesek is offline   Reply With Quote

Old   June 1, 2014, 10:13
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   June 1, 2014, 16:38
Default
  #3
New Member
 
Vaclav Ridky
Join Date: Nov 2012
Posts: 4
Rep Power: 13
Vesek is on a distinguished road
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
Vesek is offline   Reply With Quote

Old   June 9, 2014, 07:33
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   June 16, 2014, 04:22
Default
  #5
New Member
 
Vaclav Ridky
Join Date: Nov 2012
Posts: 4
Rep Power: 13
Vesek is on a distinguished road
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
Vesek is offline   Reply With Quote

Reply

Tags
foam extend, rbf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 10:51
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
[Commercial meshers] Problem with Mesh conversion Gambit msh Foam Rachid BANNARI (Bannari) OpenFOAM Meshing & Mesh Conversion 25 September 11, 2011 07:58
problem in running FoamX in Open FOAM Gaurav Main CFD Forum 3 May 10, 2006 05:06
problem about installing FOAM linux freshman Main CFD Forum 6 November 4, 2004 10:59


All times are GMT -4. The time now is 01:31.