|
[Sponsors] |
[swak4Foam] Installing swak4Foam with openFoam v3.0+ |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Anon
Join Date: Mar 2016
Posts: 6
Rep Power: 10 ![]() |
Been struggling to install swak4Foam on openFoam 3.0+
First off there is no mention of openFoam Plus on swak4Foam so I assume that is the root issue. I downloaded the development version of swak4Foam from Code:
hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam swak4Foam Code:
of_version_major=`echo $WM_PROJECT_VERSION | sed -e 's=\([0-9]*\).*=\1='` of_version_minor=`echo $WM_PROJECT_VERSION | sed -e 's=[0-9]*\.\([0-9]*\).*=\1='` of_version_patch=`echo $WM_PROJECT_VERSION | sed -e 's=[0-9]*\.[0-9]*\.\([0-9a-z]*\).*=\1=' -e 's=[0-9]*\.[0-9]*=x=' -e 's=x=-1='` Code:
of_version_major=3 of_version_minor=0 of_version_patch=0 Even so I am still unable to compile swak4Foam. Attached is my wmake log file... The first instance of "In file included from" looks like this... Code:
FieldValueExpressionParser.tab.cc: In member function ‘parserField::FieldValueExpressionParser::token_number_type parserField::FieldValueExpressionParser::yytranslate_(int)’: FieldValueExpressionParser.tab.cc:16753:24: warning: use of old-style cast [-Wold-style-cast] In file included from /home/patrick/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOAM/lnInclude/doubleFloat.H:30:0, from /home/patrick/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOAM/lnInclude/floatScalar.H:38, from /home/patrick/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOAM/lnInclude/scalar.H:39, from /home/patrick/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOAM/lnInclude/IOstream.H:49, from /home/patrick/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOAM/lnInclude/Ostream.H:39, from /home/patrick/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOAM/lnInclude/OSstream.H:39, from /home/patrick/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOAM/lnInclude/messageStream.H:216, from /home/patrick/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOAM/lnInclude/error.H:51, from /home/patrick/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOAM/lnInclude/typeInfo.H:56, from /home/patrick/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOAM/lnInclude/IOobject.H:76, from /home/patrick/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOAM/lnInclude/regIOobject.H:41, from /home/patrick/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOAM/lnInclude/GeometricField.H:42, from /home/patrick/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOAM/lnInclude/GeometricScalarField.H:38, from /home/patrick/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOAM/lnInclude/GeometricFields.H:34, from /home/patrick/OpenFOAM/OpenFOAM-v3.0+/src/finiteVolume/lnInclude/volFields.H:37, from ../FieldValueExpressionParser.yy:47: /home/patrick/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOAM/lnInclude/products.H: In instantiation of ‘class Foam::outerProduct<Foam::Vector<double>, Foam::Tensor<double> >’: /home/patrick/OpenFOAM/OpenFOAM-v3.0+/src/finiteVolume/lnInclude/fvcGrad.C:142:1: required by substitution of ‘template<class Type> Foam::tmp<Foam::GeometricField<typename Foam::outerProduct<Foam::Vector<double>, Type>::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::grad(const Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh>&) [with Type = Foam::Tensor<double>]’ Last edited by wyldckat; March 20, 2016 at 15:58. Reason: Added [CODE][/CODE] markers |
|
![]() |
![]() |
![]() |
Tags |
error., installation, swak4foam |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4Foam and OpenFoam 3.0.x | fs82 | OpenFOAM Community Contributions | 38 | September 10, 2018 17:44 |
[swak4Foam] Error: Installing swak4Foam into OpenFOAM 2.3.0 on CentOS 7 | mushtime | OpenFOAM Community Contributions | 9 | July 23, 2017 15:27 |
[OpenFOAM.org] Installing OpenFoam 3.0.1 on cluster | hello177 | OpenFOAM Installation | 1 | April 24, 2016 08:35 |
Installing OpenFOAM 2.1.1 and ParaView 3.12.0 on Ubuntu 12.10 | wyldckat | OpenFOAM Installation | 14 | February 12, 2013 04:43 |
[swak4Foam] Installing swak4Foam to OpenFOAM in mac | Kaquesang | OpenFOAM Community Contributions | 22 | January 21, 2013 11:51 |