|
[Sponsors] |
May 3, 2012, 20:46 |
Can't use some OpenFOAM facilities
|
#1 |
New Member
Ken
Join Date: Mar 2012
Posts: 10
Rep Power: 14 |
I asked my engineering supervisor about why some of the in-built 'Foam's (like icoFoam) just don't seem to work when I try to execute them in my ubuntu 11.10 32 bit on Oracle VM VirtualBox.
We discussed a few topics, and came up with the problem being that I am not the owner of the ubuntu OS, yet I only made 1 account, which says its an administrator, which results in me having to 'sudo -s' to log in to the root account, which apparently isn't the best thing to do. There doesn't seem to be any ownership or admin privileges I can set during the ubuntu installation, how can I remedy this 'non-owner' situation? |
|
May 4, 2012, 03:53 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Greetings Ken,
That is somewhat of a vague description of the problem. Once OpenFOAM is installed, you shouldn't need to run things as root. That would only happen if you messed up the installation. So, a few questions:
Best regards, Bruno
__________________
|
|
May 4, 2012, 05:50 |
|
#3 |
New Member
Ken
Join Date: Mar 2012
Posts: 10
Rep Power: 14 |
Thank you for your reply Bruno,
My supervisor has also warned me about using 'sudo -s' as I shouldn't ever have to touch that command if I was the owner of the OS. 1) I followed all of the instructions stated in the official 'Ubuntu Deb Pack Installation' on openfoam.org [http://www.openfoam.org/download/ubuntu.php] I installed official Ubuntu version 11.10 'oneiric' .iso file in 32 bit onto VirtualBox version 4.1.14r77440 'selected Install Ubuntu' 'unchecked download updates while installing & install this third-party software [was connected to internet, had the free space]' 'selected erase disk and install Ubuntu' 'the entire disk will be used: Ubuntu /dev/sda (ext 4) 8.6GB [SCSI3 (0,0,0) (sda) - 8.6GB ATA VBOX HARDDISK]' After Ubuntu successfully installed, I did not proceed to download/install any updates, and I installed OpenFOAM as mentioned above, and just changed the wallpaper. 2) 'icoFoam' was not the specific subroutine, I believe it was one of the 'MRF' Foam example files, however I believe the source of my problems is because 'I am not the owner, I cannot edit these files' 3) I have successfully finished tutorials 1 and 3, the dam break and lid driven cavity flow, but have not ventured into the tutorials in the manual, but I have downloaded it and browsed it. I have also yet to share a folder from my win7 x64 home prem. with VirtualBox, but I will get to doing it |
|
May 5, 2012, 07:01 |
|
#4 |
Senior Member
Hisham Elsafti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 257
Blog Entries: 10
Rep Power: 17 |
Hi Mister_K
I think it would be better if you give exactly which command you give and what is the error produced (copy and paste from terminal). Otherwise, no one will really be able to help. Regards Hisham |
|
May 5, 2012, 08:35 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
Hisham is right: without error messages, you're only making us try to guess what the problem is. Nonetheless, my diagnosis is this:
Bruno
__________________
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 06:55 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 06:25 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 05:56 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 18:07 |