CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   newAppTransplantation (https://www.cfd-online.com/Forums/openfoam-programming-development/150602-newapptransplantation.html)

cfdopenfoam March 26, 2015 01:44

newAppTransplantation
 
Hi, foamers.

i got a newApp (including sets of user-defined classes and libraries) coded in OF-1.4 version and compiled by cygwin (gcc-4.1.2).
i am now working with the OF-2.3.0 version on ubuntu and trying to compile the newApp. unfortunately, the version difference (e.g. envionment variables, I/O functions) leads to large difficulties.

may anybody gives me some advises? thanks a lot.

cfdopenfoam March 27, 2015 08:17

Is it possible to convert the lib*.dll files to lib*.so files?
 
Hi, foamers.

Is it possible to convert the lib*.dll files to lib*.so files?

thanks a lot.

wyldckat March 27, 2015 17:33

Short answer: No.

Long answer: It might be possible, but it reaaaaaally depends on what you're trying to do.

----------
edit: OK, after checking your other posts, I now understand what you're asking about. Which is why I moved your post above into this thread you asked first.

The trick is somewhat simple: the application you have got should be similar to some other application that exists in OpenFOAM 1.4. Therefore, you should look at the development history for that original application and then evolve your source code accordingly.
You can use the following git repositories that should help you track down how the application evolved:


All times are GMT -4. The time now is 02:42.