CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

newAppTransplantation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 26, 2015, 01:44
Default newAppTransplantation
  #1
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11
cfdopenfoam is on a distinguished road
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 is offline   Reply With Quote

Old   March 27, 2015, 08:17
Default Is it possible to convert the lib*.dll files to lib*.so files?
  #2
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11
cfdopenfoam is on a distinguished road
Hi, foamers.

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

thanks a lot.
cfdopenfoam is offline   Reply With Quote

Old   March 27, 2015, 17:33
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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:

Last edited by wyldckat; March 27, 2015 at 17:39. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 15:57.