|
[Sponsors] |
[swak4Foam] something wrong when I compile swak4Foam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 22, 2013, 05:21 |
something wrong when I compile swak4Foam
|
#1 |
New Member
Wang Han
Join Date: May 2012
Location: Shanghai China
Posts: 21
Rep Power: 14 |
Recently I try to compile swak4Foam.But I failed.
I use OpenFOAM-2.1.1 and bison:2.4.1,flex 2.5.35. It tells me something wrong with the function,as show below: PatchValueExpressionParser.yy:476: error: no matching function for call to ‘Foam::Field<Foam::SymmTensor<double> >::Field(Foam::tmp<Foam::Field<Foam::Tensor<double > > >)’ ............ PatchValueExpressionParser.yy:666: error: no matching function for call to ‘Foam::Field<Foam::SymmTensor<double> >::Field(Foam::tmp<Foam::Field<Foam::Tensor<double > > >)’ ............ swakCodedFunctionObject.C:292: error: no matching function for call to ‘Foam::swakCodedFunctionObject::updateLibrary()’ ........... groovyFlowRateInletVelocityFvPatchVectorField.C:12 4: error: ‘flowRate’ was not declared in this scope Who can tell me why?I compiled successfully on OpenFOAM-2.1.0 but fail on OpenFOAM-2.2.0 |
|
May 22, 2013, 07:13 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Anyway: which version of swak do you have? Older versions than 0.2.3 will not compile on OF 2.2 (and for 2.2.0 you need a manual fix ... see the page on the Wiki). Ah. And which variant of the sources do you have? The 1.x or the 2.x-version?
__________________
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 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 04:18 |
udf error | srihari | FLUENT | 1 | October 31, 2016 14:18 |
meshing of a compound volume in GMSH | shawn3531 | OpenFOAM | 4 | March 12, 2015 10:45 |
How to compile OpenFOAM-1.7.x on CrunchBang linux 10 | gwierink | OpenFOAM Installation | 0 | April 5, 2011 04:38 |
PV3FoamReader compile error.... | PEM_GUY | OpenFOAM Installation | 6 | April 5, 2010 17:22 |