CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   Which C++ Compiler for Ubuntu OpenFOAM (

A.A. June 27, 2012 09:58

Which C++ Compiler for Ubuntu OpenFOAM

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:

Originally Posted by
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

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,

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:

Anyway, forget Qt Creator for now and follow this tutorial first:

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

add boundary condition openfoam
Best regards,

A.A. June 28, 2012 05:44

Hallo Bruno,

Thanks for your advice. I will try that.

Best regards,

All times are GMT -4. The time now is 01:07.