|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Dec 2015
Posts: 15
Rep Power: 9 ![]() |
Dear All,
I would like to update my OpenFOAM version for Windows from v.3.0 to v1606+. Could you please advise me if the swak4Foam is supported by the latest OF version? Looking at the swak4Foam page, in the valid versions, v1606+ is not present. For OF v.3.0, I installed swak4Foam v.0.4.0. Thank you in advance, koscfd |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Join Date: Apr 2009
Posts: 6
Rep Power: 16 ![]() |
Dear koscfd, dear all,
So I am actually having trouble installing swak4foam for that build (v1606+). Here's the log I got, I'm still trying to decipher what's wrong, if it is something I could fix myself (I'm not a huge debugger). If somebody got it working on that build please answer, so I know the problem is def coming from my end. Code:
./Allwmake Previously compiled for OpenFOAM v1606+ /TEMPO/user/OpenFOAM/user-v1606+/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison) Reading variables from 'swakConfiguration' ./swakConfiguration: ligne 13 : [: : nombre entier attendu comme expression Checking swak4Foam-version and generating file Swak version is 0.4.0 Bison is version 2.7.12-4996 Flex is version 2.5.37 (Minor version: 37) OpenFOAM-version: Major 1606 Minor 0 Patch -1 (-1 == x / 98) Fork: openfoamplus No change to swak4FoamParsers/foamVersion4swak.H g++ -std=c++0x -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPInt32Opt -I/PROCOM/OpenFOAM/OpenFOAM-v1606+/src/finiteVolume/lnInclude -I/PROCOM/OpenFOAM/OpenFOAM-v1606+/src/sampling/lnInclude -I/PROCOM/OpenFOAM/OpenFOAM-v1606+/src/fileFormats/lnInclude -I/PROCOM/OpenFOAM/OpenFOAM-v1606+/src/triSurface/lnInclude -I/PROCOM/OpenFOAM/OpenFOAM-v1606+/src/dynamicMesh/lnInclude -I/PROCOM/OpenFOAM/OpenFOAM-v1606+/src/surfMesh/lnInclude -I/PROCOM/OpenFOAM/OpenFOAM-v1606+/src/lagrangian/basic/lnInclude -I/PROCOM/OpenFOAM/OpenFOAM-v1606+/src/meshTools/lnInclude -IlnInclude -I. -I/PROCOM/OpenFOAM/OpenFOAM-v1606+/src/OpenFOAM/lnInclude -I/PROCOM/OpenFOAM/OpenFOAM-v1606+/src/OSspecific/POSIX/lnInclude -fPIC -c helpers/exprString.C -o Make/linux64GccDPInt32Opt/helpers/exprString.o In file included from lnInclude/CommonValueExpressionDriver.H:843:0, from helpers/exprString.C:39: lnInclude/CommonValueExpressionDriverI.H: In member function ‘bool Foam::CommonValueExpressionDriver::updateSet(Foam::autoPtr<T>&, const Foam::word&, Foam::CommonValueExpressionDriver::SetOrigin) const’: lnInclude/CommonValueExpressionDriverI.H:316:32: error: ‘class Foam::IOobject’ has no member named ‘headerOk’ header.headerOk() ^ lnInclude/CommonValueExpressionDriverI.H:321:65: error: ‘class Foam::IOobject’ has no member named ‘filePath’ Pout << "Rereading from " << header.filePath() ^ lnInclude/CommonValueExpressionDriverI.H: In member function ‘Foam::tmp<Foam::Field<bool> > Foam::CommonValueExpressionDriver::doLogicalNot(const Foam::Field<bool>&)’: lnInclude/CommonValueExpressionDriverI.H:1176:22: error: assignment of read-only location ‘(& res.Foam::tmp<T>::operator()<Foam::Field<bool> >())->Foam::Field<bool>::<anonymous>.Foam::List<bool>::<anonymous>.Foam::UList<T>::operator[]<bool>(i)’ res()[i] = a[i]; ^ /PROCOM/OpenFOAM/OpenFOAM-v1606+/wmake/rules/General/transform:8: recipe for target 'Make/linux64GccDPInt32Opt/helpers/exprString.o' failed make: *** [Make/linux64GccDPInt32Opt/helpers/exprString.o] Error 1 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 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Apr 2009
Posts: 6
Rep Power: 16 ![]() |
Quick update: see related topic:
http://www.cfd-online.com/Forums/ope...oam-4-0-a.html Basically they have the same issue as I do and it is being worked on by the author of swak4foam (Bernhard Gschaider), just need some patience... |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Join Date: Dec 2015
Posts: 15
Rep Power: 9 ![]() |
Many thanks Vanadyel,
Best regards, koscfd |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,969
Blog Entries: 45
Rep Power: 127 ![]() ![]() ![]() ![]() ![]() ![]() |
Quick answer: See post #13 on that other thread for more details on the latest news and instructions: http://www.cfd-online.com/Forums/ope...tml#post619345
__________________
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|