|
[Sponsors] |
[swak4Foam] swak4Foam for foam-extend 1.6 problem |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 28, 2016, 15:54 |
swak4Foam for foam-extend 1.6 problem
|
#1 |
Senior Member
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12 |
Hi everyone,
This thread originates from the following post. http://www.cfd-online.com/Forums/ope...her-field.html I would like to use groovyBc for some of my face boundaries. Following the webpage for installation, I proceeded and got stuck at this specific error. In file included from entryToExpression/entryToExpression.H:50:0, from entryToExpression/directEntryToExpression.H:49, from entryToExpression/directEntryToExpression.C:37: lnInclude/foamVersion4swak.H:8:37: error: floating constant in preprocessor expression #define FOAM_VERSION4SWAK_PATCH_NUM 1.6-ext And the same macro definition seems to fail creation of libraries. Can anyone guide me here? I would like to use 1.6-ext instead of 3.1-ext as the modified code is seen to perform better though I need to dig deep and make my hands dirty. Thanks; Saideep |
|
October 30, 2016, 09:54 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick question: I need more details. Which specific installation instructions did you follow and which swak4Foam version did you download?
__________________
|
|
October 30, 2016, 13:36 |
|
#3 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Code:
hg update version_0.2.3 Code:
hg update version_0.2.4
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
November 2, 2016, 11:05 |
|
#4 |
Senior Member
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12 |
Thanks Bruno and GSchaider,
I tried to install swak-0.2.x as swak-0.3.x gives me an error saying "this version of swak is for OpenFOAM-2.x and higher". So, I downloaded from the following webpage: https://openfoamwiki.net/index.php/I...enFOAM_1.6-ext My bison version was 3.x (this was the main problem) and as Gschaider mentioned that few api's of bison 3.x were not compatible with swak versions. I had to use the "maintainanceScripts" of newer swak version and paste it into my older version of swak. Tweaking a bit of my Allwmake file (to let it know I have a local bison version of 2.x) as follows worked fine. Code:
### added by me### swakDir=$(pwd) requirementsBin=$swakDir/privateRequirements/bin if [ -e $requirementsBin ]; then echo echo "$requirementsBin existing. Prepending to PATH-variable (private version of Bison)" echo export PATH=$requirementsBin:$PATH fi ### Thanks guys. |
|
Tags |
foam extend 1.6, swak4foam error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam >>>> INSTALLATION PROBLEM | steven123 | OpenFOAM Community Contributions | 35 | January 11, 2021 17:53 |
[foam-extend.org] error installing foam extend 1.6 in ubuntu 12.04 | christos | OpenFOAM Installation | 1 | May 9, 2016 18:20 |
problem with RBF in tho Foam 3.0 extend | Vesek | OpenFOAM Programming & Development | 4 | June 16, 2014 05:22 |
[swak4Foam] Basic Error when installing swak4foam with foam extend 3.0 | mnobrega | OpenFOAM Community Contributions | 6 | April 1, 2014 02:47 |
Floating Point Exception - wrong boundaries or general PC problem? – OF 1.6 extend - | A.Wendy | OpenFOAM | 0 | February 27, 2013 05:50 |