Hello, I have installed the n
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
You'll need to install the lib
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.
Hello, after installing the m
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.
Hello, i was trying to comp
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?
Hello again, i wanted to a
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??
|All times are GMT -4. The time now is 19:46.|