|
[Sponsors] |
[OpenFOAM.org] Problems with instalation of OpenFOAM 2.2.0 by source |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 6, 2015, 10:23 |
Problems with instalation of OpenFOAM 2.2.0 by source
|
#1 |
New Member
Andrzej Prusiński
Join Date: Jul 2011
Posts: 10
Rep Power: 15 |
Hello everyone,
For last few days I'm trying to install OpenFOAM in version 2.2.x on my Ubuntu 14.04 LTS. For unknown reasons, I can't install it from repository (sudo apt-get install opnefoam222) I've read on this forum that someone already had such problem, but I didn't found any solution for this issue. However, I'm creating this topic not to highlight the problem with repository, rather to ask you, whether you've met with errors after installation OpenFOAM 2.2.0 by sources? To be more precise, after doing as it is written on the website of OpenFOAM: http://www.openfoam.org/archive/2.2.0/download/source.php I tried to use snappyHexMesh software and at that point I realize that OpenFOAM folder doesn't have few files, i.e. meshQualityDict (full link OpenFOAM-2.2.0/etc/caseDicts/meshQualityDict), which leads to errors. Have you met with such problem before or you know any way to solve this issue? Regards Andrzej |
|
March 7, 2015, 20:07 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Andrzej,
You're referring to 3 slightly different versions of OpenFOAM 2.2:
Code:
sudo apt-get install openfoam222 Building 2.2.x is just a matter of adapting a bit the instructions from 2.2.2 to 2.2.x, as pointed out here: http://www.openfoam.org/archive/2.2.2/download/git.php As for having more than one version installed: http://openfoamwiki.net/index.php/In...with_the_Shell Best regards, Bruno
__________________
|
|
March 13, 2015, 05:03 |
|
#3 | |
New Member
Andrzej Prusiński
Join Date: Jul 2011
Posts: 10
Rep Power: 15 |
Hi Bruno,
You were right in all points. I did not know that OpenFOAM 2.2.x is different version, I truly thought that "x" stands for all "2.2." versions. Thus, let's focus only on ver. 2.2.2. You are also right that netiher of them have package for Ubuntu 14.04. Hence, I installed version 12.04, hoping that it would help. By having lower version of Ubuntu, I do not need installing OpenFOAM by sources, I just had to use: Quote:
Regards Andrzej ----------------------------- I copied the file from here: https://github.com/OpenFOAM/OpenFOAM...eshQualityDict and it is working. I hope that this was only file which was missing Last edited by Prosiaczek; March 13, 2015 at 05:44. Reason: found partially the soultion |
||
March 13, 2015, 17:10 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Andrzej,
Uhm... something is amiss here... when I run the following command with a working environment of OpenFOAM 2.2.2: Code:
find $FOAM_TUTORIALS -name "*Dict" | xargs grep "meshQualityDict" Code:
/opt/openfoam222/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/system/meshQualityDict: object meshQualityDict; /opt/openfoam222/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/system/snappyHexMeshDict: #include "meshQualityDict" Best regards, Bruno |
|
Tags |
installation by sources, openfoam 2.2.x, snappyhexmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Installation Problem with OF 6 version | Aurel | OpenFOAM Community Contributions | 14 | November 18, 2020 17:18 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 15:24 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
[swak4Foam] swak4Foam-groovyBC build problem | zxj160 | OpenFOAM Community Contributions | 18 | July 30, 2013 14:14 |