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

[swak4Foam] swak4foam for OpenFOAM v1612+

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 9, 2017, 11:58
Default swak4foam for OpenFOAM v1612+
  #1
New Member
 
Jan Krautter
Join Date: Feb 2014
Posts: 5
Rep Power: 12
Thalenberghen is on a distinguished road
Are there plans to update swak4Foam to work with the new v1612+? I couldn't get the development version to install so far, with the tips from the OpenFOAM 4.0 thread, but there just might be more changes required to swak4Foam, I guess.

Thanks for any help.
Thalenberghen is offline   Reply With Quote

Old   January 24, 2017, 16:39
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,684
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by Thalenberghen View Post
Are there plans to update swak4Foam to work with the new v1612+? I couldn't get the development version to install so far, with the tips from the OpenFOAM 4.0 thread, but there just might be more changes required to swak4Foam, I guess.
The swak4Foam develop branch now works with 1612 as well.
olesen is offline   Reply With Quote

Old   January 30, 2017, 04:17
Default
  #3
New Member
 
Jan Krautter
Join Date: Feb 2014
Posts: 5
Rep Power: 12
Thalenberghen is on a distinguished road
I had a try to build the develop branch, but it still fails pretty instantly for me, with the following error message:


../FieldValueExpressionParser.yy: In member function ‘virtual int parserField::FieldValueExpressionParser:arse()’:
../FieldValueExpressionParser.yy:1209:103: error: invalid const_cast from type ‘const Internal* {aka const Foam:imensionedField<float, Foam::surfaceMesh>*}’ to type ‘Foam:imensionedField<double, Foam::surfaceMesh>*’
../FieldValueExpressionParser.yy:4444:101: error: invalid const_cast from type ‘const Internal* {aka const Foam:imensionedField<float, Foam:ointMesh>*}’ to type ‘Foam:imensionedField<double, Foam:ointMesh>*’
FieldValueExpressionParser.tab.cc: In member function ‘parserField::FieldValueExpressionParser::token_nu mber_type parserField::FieldValueExpressionParser::yytransla te_(int)’:
FieldValueExpressionParser.tab.cc:16826:24: warning: use of old-style cast [-Wold-style-cast]
make: *** [Make/linux64GccSPInt64Opt/FieldValueExpressionParser.o] Error 1
Parser library did not compile OK. No sense continuing as everything else depends on it


Thanks for your help!
Thalenberghen is offline   Reply With Quote

Old   January 30, 2017, 05:50
Default
  #4
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hi there,
Have you tried the "Allclean" first? It looks like you are trying to build within a folder where a build has already been run earlier.

I can confirm that the develop branch of swak4Foam compiles and is operational with OpenFOAM v1612+.

Regards,
Philippose
philippose is offline   Reply With Quote

Old   January 30, 2017, 06:39
Default
  #5
New Member
 
Jan Krautter
Join Date: Feb 2014
Posts: 5
Rep Power: 12
Thalenberghen is on a distinguished road
Sorry, I must have gotten confused with the different directories, I think it works now!
Thanks for confirming again.
Thalenberghen is offline   Reply With Quote

Old   July 22, 2017, 17:17
Default Issues with Build
  #6
Member
 
Raunak Bardia
Join Date: Jan 2015
Posts: 32
Rep Power: 11
raunakbardia is on a distinguished road
Hello,

I built the release version of swak4Foam. The build is giving some errors, and its log file is attached.

The build stops while compiling the "fieldreport" library.

Can someone help?

Thanks.
Attached Files
File Type: txt buildlog.txt (8.4 KB, 3 views)

Last edited by raunakbardia; July 24, 2017 at 17:02.
raunakbardia 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
[swak4Foam] difficulties installing swak4foam newbie29 OpenFOAM Community Contributions 120 October 21, 2022 04:01
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] Install swak4Foam on OpenFOAM1.7.1 on Ubuntu 13.04 kobayashi OpenFOAM Community Contributions 2 January 5, 2014 17:33
[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 14:09.