|
[Sponsors] |
October 26, 2013, 07:33 |
Creating shortcut for HelyxOS
|
#1 |
New Member
Kramer
Join Date: Aug 2013
Posts: 11
Rep Power: 13 |
Hello,
I am very new to both OpenFOAM and linux. I have been using HelyxOS v1.0.3 GUI for OpenFOAM 2.2.1 on Ubuntu 12.04. I have been trying to create a shortcut to the HelyxOS on my desktop instead of manually entering in the path every time I would like to open HelyxOS, and also because others (even less linux proficient than I) will be using it in the future. One method I have been attempting to try is by creating a text file on my desktop as below: [Desktop Entry] Name=HelyxOS Exec=~/Documents/Engys/HelyxOS/v1.0.3/helyxOS.sh Terminal=true Type=Application I also made sure to "allow executing file as program" in the permission tab of the properties. The problem with this is that when I double click to open and click "Run in Terminal" the terminal will pop up for 1 second and then nothing will happen. After this I then did more research and attempted to create a launcher from gnome, meaning. gnome-desktop-item-edit --create-new ~/Desktop which prompted me with: "Type" "Name" "Command" "Comment" which I filled out with: Type --> Application Name --> HelyxOS Command --> /home/[User]/Documents/Engys/HelyxOS/v1.0.3/helyxOS.sh Comment --> [None] The problem with this is that it does not open HelyxOS from the terminal so I get the old "Error loading VTK Librares" which also seems to happen if I try opening HelyxOS from the folder itself with the terminal. The only way I have been able to successfully run HelyxOS is by starting in the terminal: >> cd Documents/Engys/HelyxOS/v1.0.3/ >> ./helyxOS.sh Please help me understand what I am doing incorrectly. Thank you |
|
October 26, 2013, 12:46 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings UPengineer and welcome to the forum!
Many thanks for sharing this idea! Here's what I suggest and should fix the problem:
And the rest is as you documented, namely for the desktop link! Best regards, Bruno
__________________
|
|
October 29, 2013, 00:51 |
|
#3 |
New Member
Kramer
Join Date: Aug 2013
Posts: 11
Rep Power: 13 |
Hello Bruno,
Thank you very much for your quick reply! I followed steps 1 through 3 as suggested. Fortunately HelyxOS appears to be working now from the Desktop without any library errors. Unfortunately though I am unable to mesh in HelyxOS because I get multiple errors from HelyxOS for not being able to find blockMesh or snappyHexMesh as seen below in the terminal. Code:
CASE: /home/kramer/OpenFOAM/kramer-2.2.1/run/New_Attempt NP: -1 /home/kramer/OpenFOAM/kramer-2.2.1/run/New_Attempt/mesh.run: line 7: blockMesh: command not found /home/kramer/OpenFOAM/kramer-2.2.1/run/New_Attempt/mesh.run: line 8: snappyHexMesh: command not found kramer@ubuntu:~/Documents/Engys/HelyxOS/v1.0.3$ I have never experienced these errors before. I feel that it is due to not correctly following step 1 since I just copied and pasted without knowing what $MPI_ARCH_PATH is. I do not know if you mean that specific path, or the corresponding path on my system. Thank you again anyway. Once I get this issue solved navigating to HelyxOS will be a lot more convenient in the future. I really appreciate your time and help. Cheers, Kramer Last edited by UPengineer; October 29, 2013 at 01:24. Reason: New problems |
|
November 2, 2013, 17:27 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Kramer,
The problem you're seeing is likely because you missed something in step #2, namely this line: Code:
source /opt/openfoam221/etc/bashrc Best regards, Bruno
__________________
|
|
November 2, 2013, 21:20 |
[Solved]
|
#5 |
New Member
Kramer
Join Date: Aug 2013
Posts: 11
Rep Power: 13 |
Hello again wyldckat!
I had actually figured that out yesterday when I went back through each step that you had sent. It is functioning perfectly! I am very impressed with your knowledge on the software and C++ code. Thank you for all your help. Sincerely, Kramer |
|
Tags |
helyxos, launher, openfoam, shortcut |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Fluent3DMeshToFoam | simvun | OpenFOAM Meshing & Mesh Conversion | 50 | January 19, 2020 16:33 |
[blockMesh] Problems in creating a wedge type mesh | Joscha | OpenFOAM Meshing & Mesh Conversion | 28 | August 3, 2019 08:59 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 10:28 |
Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 18:51 |
Problems with Meshing: Collapsed Cells | Emmanuel Resch | Siemens | 1 | July 30, 2007 04:02 |