CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > 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 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: 4
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,488
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: 4
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,488
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: 4
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors during blockMesh meshing Madeleine P. Vincent OpenFOAM Native Meshers: blockMesh 43 February 18, 2014 03:42
error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Native Meshers: blockMesh 2 March 14, 2012 10:56
Problem with Mesh conversion Gambit msh Foam Rachid BANNARI (Bannari) OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 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 11:59


All times are GMT -4. The time now is 15:39.