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

Canbt compile MRF Testcase

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2007, 13:49
Default Hello, I have installed the n
  #1
Member
 
Oliver Borm
Join Date: Mar 2009
Posts: 60
Rep Power: 17
deepblue17 is on a distinguished road
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
deepblue17 is offline   Reply With Quote

Old   April 12, 2007, 14:45
Default You'll need to install the lib
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
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.
mattijs is offline   Reply With Quote

Old   April 12, 2007, 17:31
Default Hello, after installing the m
  #3
Member
 
Oliver Borm
Join Date: Mar 2009
Posts: 60
Rep Power: 17
deepblue17 is on a distinguished road
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
deepblue17 is offline   Reply With Quote

Old   May 11, 2007, 21:39
Default Hello, i was trying to comp
  #4
New Member
 
Peter Hering
Join Date: Mar 2009
Posts: 7
Rep Power: 17
peterh is on a distinguished road
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
peterh is offline   Reply With Quote

Old   May 11, 2007, 22:43
Default Hello again, i wanted to a
  #5
New Member
 
Peter Hering
Join Date: Mar 2009
Posts: 7
Rep Power: 17
peterh is on a distinguished road
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
peterh 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
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


All times are GMT -4. The time now is 06:55.