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

[swak4Foam] Compiling the swak4Foam for OpenFOAM-dev

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 17, 2015, 11:00
Default Compiling the swak4Foam for OpenFOAM-dev
  #1
New Member
 
Ehsan
Join Date: Mar 2013
Posts: 2
Rep Power: 0
ehsan_madadi is on a distinguished road
Dear all,

Hello,

I wanted to use the swak4Foam with the current -dev version of the OpenFOAM, but when I want to compile it, it comes back with this error message:

Code:
./Allwmake 
This is a clean install

/home/ehsan/OpenFOAM/ehsan-dev/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison)

Reading variables from 'swakConfiguration'
swakConfiguration: line 1: python-config: command not found
swakConfiguration: line 2: python-config: command not found
swakConfiguration: line 13: [: : integer expression expected
Checking swak4Foam-version and generating file
Swak version is 0.3.2
Bison is version 2.7.12-4996
Flex is version 2.5.37 (Minor version: 37)
OpenFOAM-version: Major  Minor dev Patch dev (-1 == x / dev)
No swak4FoamParsers/foamVersion4swak.H. Generated
wmakeLnInclude: linking include files to simpleFunctionObjects/lnInclude
make: *** No rule to make target 'Make/linux64GccDPInt32Opt/SubsetValueExpressionParser.o', needed by 'Make/linux64GccDPInt32Opt/CellSetValueExpressionDriver.o'.  Stop.
wmake error: file 'Make/linux64GccDPInt32Opt/sourceFiles' could not be created in /home/ehsan/OpenFOAM/ehsan-dev/swak4Foam/Libraries/swak4FoamParsers
Parser library did not compile OK. No sense continuing as everything else depends on it

Requirements for Library not satisfied. I see no sense in going on
Check the README before you go on to ask. And search: Most likely your problem occured to 5 other people before and has been solved on the MessageBoard
I downloaded it from the main website http://openfoamwiki.net/index.php/Co...am#Downloading, and it compiles and works fine with OpenFOAM-2.4.x, however I could not succeed in making it work for -dev version. I need it to do volume averaging for an internalField. I appreciate in advance for any help and suggestion about this problem or any suggestion for better way to do the volume averaging.

I am using OpenSuse 13.2 btw.

Best regards,
Ehsan
ehsan_madadi is offline   Reply With Quote

Old   August 17, 2015, 11:59
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Quick answer: https://twitter.com/swakPyFoam/statu...42774468964352
Quote:
Development repository of #swak4foam now supports OpenFOAM-dev. Changes for that port happen in branch feature/port_of-dev
Development repository of #swak4foam ==> mercurial repository for swak4Foam.
wyldckat is offline   Reply With Quote

Old   August 17, 2015, 13:01
Default
  #3
New Member
 
Ehsan
Join Date: Mar 2013
Posts: 2
Rep Power: 0
ehsan_madadi is on a distinguished road
Hi Bruno,

Thank you for your quick and very useful answer. I appreciate for it. I try it and if I faced a problem, I will ask your kind help again. Have a great time.

Best regards,
Ehsan
ehsan_madadi is offline   Reply With Quote

Reply

Tags
swak4foam, swak4foam error, volume averaging


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
InterDyMFoam+simpleFunctionObject Elham OpenFOAM Running, Solving & CFD 5 July 10, 2017 11:59
source term in near wall cell rajcfd OpenFOAM Pre-Processing 5 February 1, 2016 10:31
[swak4Foam] compiling swak4foam on an IBM Dataplex running 64-bit RedHat 6.3 jianni OpenFOAM Community Contributions 22 January 5, 2014 16:49
[swak4Foam] Problem with compiling swak4Foam The_Architect OpenFOAM Community Contributions 4 September 11, 2013 06:24
[swak4Foam] fails in parallel with -otherTime? Phicau OpenFOAM Community Contributions 3 June 26, 2013 13:00


All times are GMT -4. The time now is 03:37.