CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Which C++ Compiler for Ubuntu OpenFOAM (http://www.cfd-online.com/Forums/openfoam-programming-development/103815-c-compiler-ubuntu-openfoam.html)

A.A. June 27, 2012 09:58

Which C++ Compiler for Ubuntu OpenFOAM
 
Hi,

is there any freeware C++ compiler which you would recommend for Ubuntu OpenFOAM 2.1.1?

wyldckat June 27, 2012 15:03

Greetings Alexander,

That's... a very strange question, specially if you don't detail anything else to indicate why you're asking this question!?

GCC, the default compiler on most Linux distributions, is the standard compiler for OpenFOAM and I quote:
Quote:

Originally Posted by http://www.openfoam.org/download/source.php
In particular your system will need to include a recent version of gcc (check with gcc --version, we recommend gcc-4.4.? but gcc-4.3.? is sufficient). If the installed version is not recent source pack for newer versions are available from http://gcc.gnu.org/.

And GCC is waaaaay beyond freeware: it's open-source!! :D

So... more specifically, what else or what exactly do you want to know?

Best regards,
Bruno

A.A. June 28, 2012 04:07

Hallo Wyldckat,

I only want to change the oscillatingrotatingMotion class in OF that it fits to my needs.

I allready downloaded the Qt Creator compiler.

wyldckat June 28, 2012 04:47

Hi Alexander,

I haven't used Qt Creator for building OpenFOAM utilities, and I don't know of any tutorials that explain how to use it for OpenFOAM. For Eclipse I know it exists: http://openfoamwiki.net/index.php/Ho...M_with_Eclipse

Anyway, forget Qt Creator for now and follow this tutorial first: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam

Then use Google or something else to search for more information on what you want to do ;):
Code:

add boundary condition openfoam
Best regards,
Bruno

A.A. June 28, 2012 05:44

Hallo Bruno,

Thanks for your advice. I will try that.

Best regards,
Alex


All times are GMT -4. The time now is 22:49.