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

[swak4Foam] OpenFOAM v1606+ and swak4Foam

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree4Likes
  • 2 Post By Vanadyel
  • 2 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 21, 2016, 05:38
Default OpenFOAM v1606+ and swak4Foam
  #1
New Member
 
Join Date: Dec 2015
Posts: 15
Rep Power: 10
koscfd is on a distinguished road
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
koscfd is offline   Reply With Quote

Old   September 23, 2016, 10:15
Default
  #2
New Member
 
Join Date: Apr 2009
Posts: 6
Rep Power: 17
Vanadyel is on a distinguished road
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
Vanadyel is offline   Reply With Quote

Old   September 23, 2016, 10:26
Default
  #3
New Member
 
Join Date: Apr 2009
Posts: 6
Rep Power: 17
Vanadyel is on a distinguished road
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...
wyldckat and koscfd like this.
Vanadyel is offline   Reply With Quote

Old   September 25, 2016, 18:21
Default
  #4
New Member
 
Join Date: Dec 2015
Posts: 15
Rep Power: 10
koscfd is on a distinguished road
Many thanks Vanadyel,

Best regards,
koscfd
koscfd is offline   Reply With Quote

Old   September 26, 2016, 18:24
Default
  #5
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: 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
Vanadyel and koscfd like this.
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 19:31.