|
[Sponsors] |
[Helyx OS] OpenFOAM 4.1 and 6 are not being picked up by Helyx-OS |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 13, 2019, 05:31 |
OpenFOAM 4.1 and 6 are not being picked up by Helyx-OS
|
#1 | |
New Member
AIf1
Join Date: Aug 2019
Posts: 5
Rep Power: 7 |
Quote:
|
||
August 15, 2019, 18:52 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
__________________
|
||
August 15, 2019, 22:41 |
|
#3 |
New Member
AIf1
Join Date: Aug 2019
Posts: 5
Rep Power: 7 |
Hi. Thanks for replying. I can execute blockMesh command in terminal without error. I have tried the path locations more than 7 times, but same error. PV can be launched easily by clicking PV button in helyx os. Tried ubuntu 18 earlier with Of6 and now ubuntu 16 with Of41. Same error. My ubuntu is on Oracle virtual box.
Last year i did not have problem at all using helyx os, but i was not using Virtual box. (Old laptop corrupted disk and i hate to dual boot nowadays.) |
|
August 25, 2019, 07:34 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick questions:
__________________
|
|
August 26, 2019, 06:57 |
|
#5 | |
New Member
AIf1
Join Date: Aug 2019
Posts: 5
Rep Power: 7 |
Quote:
For of6 https://openfoamwiki.net/index.php/I...u#Ubuntu_18.04 For of41 https://openfoamwiki.net/index.php/I...u#Ubuntu_16.04 Last edited by wyldckat; August 26, 2019 at 16:09. Reason: corrected link for OF6 |
||
August 26, 2019, 16:17 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick question: With your OpenFOAM 4.1 installation active, namely after you run:
Code:
of41 Code:
which blockMesh Code:
/home/ofuser/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/blockMesh Code:
/home/ofuser/OpenFOAM/OpenFOAM-4.1 |
|
August 27, 2019, 06:22 |
|
#7 |
New Member
AIf1
Join Date: Aug 2019
Posts: 5
Rep Power: 7 |
as attached. Same core folder has been chosen all this while. Yet same error blockMesh command not found when i click create mesh in Helyx-os.
Thanks for looking into this. |
|
August 27, 2019, 17:13 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: OK, now I have all of the necessary pieces... the detail is that you built with 64-bit labels, by using an activation command such as this:
Code:
source $HOME/OpenFOAM/OpenFOAM-4.x/etc/bashrc WM_LABEL_SIZE=64 FOAMY_HEX_MESH=yes The problem is that this command activates these options without modifying any configuration files, but Helyx-OS relies on the configuration being written to the respective files. There are a few ways to fix this in a way that is consistent with Helyx-OS, but the simplest is to do the following commands: Code:
of41 foam echo "export WM_LABEL_SIZE=64" > etc/prefs.sh echo "export FOAMY_HEX_MESH=yes" >> etc/prefs.sh Code:
export WM_LABEL_SIZE=64 export FOAMY_HEX_MESH=yes Similarly, you can do the same for the OpenFOAM 6 installation. If you had built the 32-bit labels version, you would not have had this issue... Keep in mind that 64-bit labels are only needed when you have reaaaaally big meshes, namely with a number of cells/faces/points that goes beyond 2 to the power of 31.
__________________
|
|
August 28, 2019, 01:26 |
|
#9 |
New Member
AIf1
Join Date: Aug 2019
Posts: 5
Rep Power: 7 |
Thank you. That worked! You are superman!
The 64 bit was following step 7 uname -m which prompted me towards that 64bit. (My last year's laptop was old one using 32bit hence never had any problem until the disk corrupted). |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 11:58 |
[OpenFOAM.org] OpenFOAM 4.1 on Fedora 24 | JonW | OpenFOAM Installation | 5 | November 10, 2017 08:57 |
OpenFOAM 4.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 2 | October 6, 2017 05:40 |
OpenFOAM 4.1 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 0 | October 13, 2016 06:42 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 09:04 |