|
[Sponsors] |
April 12, 2007, 13:49 |
Hello,
I have installed the n
|
#1 |
Member
Oliver Borm
Join Date: Mar 2009
Posts: 60
Rep Power: 17 |
Hello,
I have installed the new OF 1.4 on an amd64 machine with gcc4.1.2 and I would like to test the new MRF feature. But the following problem occured while compiling: /usr/bin/ld: cannot find -liberty collect2: ld returned 1 exit status ./makeMesh: line 1: m4: command not found Without the -liberty option it also crashed. Has somebody made the same experience? Maybe a 64bit problem? Are there any other tutorials than the mrf simple foam test? Or documentation about the capabilities of the mrf feature? Thank's a lot Oliver |
|
April 12, 2007, 14:45 |
You'll need to install the lib
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
You'll need to install the libiberty library. Plenty of info on this forum. Also you'll need to install m4. Should probably come with development tools.
|
|
April 12, 2007, 17:31 |
Hello,
after installing the m
|
#3 |
Member
Oliver Borm
Join Date: Mar 2009
Posts: 60
Rep Power: 17 |
Hello,
after installing the m4 and the binutils-dev package on my kubuntu 6.10 machine it works fine. For paraFoam I had to install the tcl/tk8.4-dev packages. Thanks Oliver |
|
May 11, 2007, 21:39 |
Hello,
i was trying to comp
|
#4 |
New Member
Peter Hering
Join Date: Mar 2009
Posts: 7
Rep Power: 17 |
Hello,
i was trying to compile the MRFSimpleFoam solverincluded in OF 1.4 under openSUSE 10.1 and i experience some difficulties. Is it correct to execute ./Allrun first to compile the solver? I get _massive_ errors; the last few lines look like this: . . . /home/openfoam/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/cpuTime.H:59: error: field 'newTime_' has incomplete type /home/openfoam/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/VectorSpaceI.H: In function 'Foam::scalar Foam::mag(const Foam::VectorSpace<form,>&)': /home/openfoam/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/VectorSpaceI.H:323: error: '::sqrt' has not been declared /home/openfoam/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/mathematicalConstant s.H: At global scope: /home/openfoam/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/mathematicalConstant s.H:47: error: 'M_E' was not declared in this scope /home/openfoam/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/mathematicalConstant s.H:48: error: 'M_PI' was not declared in this scope MRFSimpleFoam.C: In function 'int main(int, char**)': MRFSimpleFoam.C:119: error: 'class Foam::Time' has no member named 'elapsedClockTime' /home/openfoam/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/. ./../../../include/c++/4.1.2/streambuf: In member function 'typename _Traits::pos_type std::basic_streambuf<_chart,>::seekpos(typename _Traits::pos_type, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]': /home/openfoam/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/. ./../../../include/c++/4.1.2/streambuf:252: instantiated from 'typename _Traits::pos_type std::basic_streambuf<_chart,>::pubseekpos(typename _Traits::pos_type, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]' /home/openfoam/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/OStringStream.H:104: instantiated from here /home/openfoam/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/. ./../../../include/c++/4.1.2/streambuf:599: error: no type named 'off_type' in 'struct std::char_traits<char>' make: *** [Make/linuxGcc4DPOpt/MRFSimpleFoam.o] Fehler 1 Can anyone point me into the right direction? Regards, Peter |
|
May 11, 2007, 22:43 |
Hello again,
i wanted to a
|
#5 |
New Member
Peter Hering
Join Date: Mar 2009
Posts: 7
Rep Power: 17 |
Hello again,
i wanted to add that i would like to do a simulation of a rotating cylinder in a flow to visualize the Magnus-effect. Would the MRFSimple-solver be a good way to go?? Regards, Peter |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Canbt compile libso autoMesh OF15 | andersking | OpenFOAM Bugs | 9 | May 1, 2013 07:29 |
Validation and Testcase | Araz | Main CFD Forum | 0 | August 5, 2004 08:36 |
ONERA M6 unsteady testcase | A. Pechloff | Main CFD Forum | 0 | October 31, 2003 12:44 |
Diffusor testcase | Marat Hoshim | Main CFD Forum | 12 | February 12, 2001 12:27 |
ERCOFTAC testcase # 11 | Aldo Bonfiglioli | Main CFD Forum | 0 | September 11, 1998 09:02 |