CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   puzzled (

titio July 21, 2009 07:36

Hi Foamers,

I am puzzled, and can say dissapointed by the discovery of the huge differences that exist between the public version and the development version. I believe this is limiting a faster development of the code and of its users base. I know that it is not easy to develop good code, but, in this way it may seem that some people is hidding new developments from other people, or limiting the development of OpenFoam by any other reasons.



johndeas July 21, 2009 08:05

The -dev is not a development version of what you find on the OpenCFD website. It is a separate project, you can find more info on this forum. The teams behind OpenCFD and -dev are separate and do not work closely.

Or I have not understood it well myself.

alberto July 21, 2009 11:54

John is right. The two versions are developed and maintained by two separate groups. I know there is an effort to base the -dev version on the one from OpenCFD though, so the common base should be very similar if not identical.

This said, even if I don't find the situation ideal at all myself, I also think developers can do what they like with their code, and users are free to use it or not, choosing according to their needs.

henrik July 21, 2009 13:17

Dear Titio,

the OpenFOAM-extend admins are working towards making the situation more transparent to users, especially new ones. In the meantime, please have a look at this presentation held at the OpenFOAM Workshop in Montreal

There are also many threads on this forum that deal with this topic.

Regards, Henrik

PaGgiE June 14, 2010 10:24

A Question about source codes

I am a newbie to OpenFOAM. I am getting started with a case of an obstacle in path of fluid flow. As known, OpenFOAM is open source. But I am not able to locate where the codes of different functions, which are used in the solvers, are written?
eg. in icoFOAM solver, the function adjustPhi(), solve() are used.
similarly in other solvers also.

Someone guide me through it please.


alberto June 14, 2010 13:12


you can use the Doxygen documentation to look for functions, or simply do a search inside the files using KDE or GNOME functionalities for example.

For adjustPhi:

For solve method, start from here, for example:


PaGgiE June 16, 2010 05:47

Thanks for the help Alberto.

All times are GMT -4. The time now is 16:45.