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

[OpenFOAM.org] what happens for OpenFOAM related codes when upgrading ubuntu

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By wyldckat
  • 1 Post By babakflame

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 19, 2014, 11:05
Default what happens for OpenFOAM related codes when upgrading ubuntu
  #1
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16
babakflame is on a distinguished road
Greetings Fellows

I installed OpenFOAM 2.1.x and related codes such as paraview 3.12.0 and flameletFoam and some other codes using cantera on my ubuntu 11.10.

Since ubuntu 11.10 is not supported anymore, I have problems in installing new softwares and modules like teamviewer and matplotlib. I want to upgrade my ubuntu to 12.04.5 LTS. However, my concern is the mismatch between the new version of ubuntu and the codes installed in older version of ubuntu (paraview 3.12.0, cantera based look-up table maker, OpenFOAM 2.1.x, .... ).


Would some body with experience on this issue hint me that any mismatch would happen or not?

Best,
Bobi
babakflame is offline   Reply With Quote

Old   December 19, 2014, 14:57
Default
  #2
Member
 
davide basso
Join Date: Jan 2012
Posts: 48
Rep Power: 14
rolloblues is on a distinguished road
Hi there,
since you are taking the effort to upgrade I'd recommend a clean install of the newest LTS 14.04.
then you'll be able to install the newest releases for the needed software too.
Don't know about cantera but I can guarantee for Openfoam 2.3.1 and paraview 4.1.0
rolloblues is offline   Reply With Quote

Old   December 21, 2014, 08:43
Default
  #3
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16
babakflame is on a distinguished road
Greetings Davide

Thanks for your reply, However that was not response to my question.

Best,
Bobi
babakflame is offline   Reply With Quote

Old   December 30, 2014, 08:58
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Greetings to all!

@Bobi: I vaguely remember already having answered a similar question here on the forum... let's see if I can find it... I didn't even need to Google it, because it's at the bottom of the forum for suggestions of related threads: http://www.cfd-online.com/Forums/ope...tml#post504508

Interesting, with Google I also found this one: http://www.cfd-online.com/Forums/ope...tml#post504512

The interesting detail is that those two answers of mine were posted less than 20 minutes apart!


Either way, based on your description and use case scenario, I strongly advise you to rebuild the whole source code of OpenFOAM, along with the custom toolboxes you're using with it. Running the following commands should pretty much clean up your system:
Quote:
Originally Posted by wyldckat View Post
OK, onward to the second log file:
  1. Go to the "ThirdParty-2.1.1" folder:
    Code:
    foam3rdParty
  2. Clean all:
    Code:
    ./Allclean
  3. Back to the main folder "OpenFOAM-2.1.1":
    Code:
    foam
  4. Clean all as well:
    Code:
    wcleanAll
5. Build everything as you did before.

6. When building the custom software, the one based in OpenFOAM technology can usually be done by simply running:
Code:
wclean all
wmake all
from within the main source code of the respective software.
This is mainly because there is usually always at least one very small detail that is different in one of the system libraries when upgrading a Linux Distribution, which might affect your built OpenFOAM, either performance-wise or can lead to problems when compiling new solvers/utilities that link to OpenFOAM, as stated in at least one of the threads above.

Best regards,
Bruno
babakflame likes this.
wyldckat is offline   Reply With Quote

Old   December 31, 2014, 10:40
Default
  #5
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16
babakflame is on a distinguished road
Dear Bruno

Many thanks for your time and experience.

Best Regards

Bobi
wyldckat likes this.
babakflame is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Delete the UDM codes in the UDF Messi Fluent UDF and Scheme Programming 2 January 28, 2014 10:01
(not-CFD related) unable to boot Ubuntu and Windows immortality Lounge 9 April 19, 2013 18:15
Is it worth it? Jason Bardis Main CFD Forum 47 July 27, 2011 05:52
if you have some related codes for mixed convectio yousef elhassadi Main CFD Forum 0 July 6, 2003 18:09
Comparison of CFD Codes Kerem Main CFD Forum 9 May 9, 2003 05:29


All times are GMT -4. The time now is 12:29.