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

wmake error in openFoam1.6 about randomperturbation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2010, 05:22
Default wmake error in openFoam1.6 about randomperturbation
  #1
mrn
New Member
 
1236
Join Date: Mar 2010
Posts: 9
Rep Power: 16
mrn is on a distinguished road
dear freinds
hi
i have a this problem about wmake of my randomperturbation data in openFoam1.6.do you have any experience about that?your help makes me happy.


mohammad@mohammad:~/Desktop/initialize/RandomPertubration$ wmake
g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/mohammad/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -I/home/mohammad/OpenFOAM/OpenFOAM-1.6/src/cfdTools/general/lnInclude -IlnInclude -I. -I/home/mohammad/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/mohammad/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC Make/linuxGccDPOpt/RandomPertubration.o -L/home/mohammad/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt \
-lfiniteVolume -lfoamUtil -lOpenFOAM -liberty -ldl -lm -o /home/mohammad/OpenFOAM/mohammad-1.6/applications/bin/linuxGccDPOpt/RandomPertubration
/usr/bin/ld: cannot find -lfoamUtil
collect2: ld returned 1 exit status
make: *** [/home/mohammad/OpenFOAM/mohammad-1.6/applications/bin/linuxGccDPOpt/RandomPertubration] Error 1
mrn is offline   Reply With Quote

Old   May 7, 2010, 18:56
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 mrn,

After I did a little research, it seems that you are trying to use an old application for OpenFOAM with a more recent version. More specifically, your application was designed to work with a version prior to 1.4.1.
My information came from the file OpenFOAM-1.4.1.General.gtgz, available here: OpenFOAM at sourceforge.net
In its README file it states:
Quote:
- foamUser and foamUtil libraries replaced by the more general dlopen method
in which any libraries may be included at run-time using the optional 'libs'
entry in the case controlDict, e.g. to replicate previous automatic inclusion
of the foamUser and foamUtil libraries include
libs ("libfoamUser.so" "libfoamUtil.so");
in controlDict.
I can only estimate that you can try removing the entry that says "-lfoamUtil" from the file "~/Desktop/initialize/RandomPertubration/Make/options". Then run wmake again and trying to resolve the new issues that will arise from it missing.

I searched for "RandomPertubration" online but I didn't find where you got it from, so I can only make estimations as to how you can fix the compiling problems.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 11, 2010, 02:06
Default re:wmake error
  #3
mrn
New Member
 
1236
Join Date: Mar 2010
Posts: 9
Rep Power: 16
mrn is on a distinguished road
dear wyldckat
hi
thanks for your help.i did however you said.your guess exactly was true.and about random perturbation,this document is used to make random flow generation.it means that with this code and exe file for it we can make initial guess for our Les solution.we used it because our solution without random perturbation had tended to laminar characteristics of flow.of course my application has a two periodic B.C at stream wise and span wise directions.
best regards
mrn is offline   Reply With Quote

Reply


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
Problems Installing OF 1.6 32 bit bucksfan OpenFOAM Installation 19 August 4, 2009 02:36
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 03:32
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 05:41
Problem of compilation OF 14Allwmake command not found erik_d OpenFOAM Bugs 13 September 13, 2008 22:45
[OpenFOAM] ParaFoam error message joey ParaView 1 October 2, 2006 14:28


All times are GMT -4. The time now is 23:43.