|
[Sponsors] |
[swak4Foam] OF Installation for Swak4foam + Linux Newbie |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 24, 2014, 14:18 |
OF Installation for Swak4foam + Linux Newbie
|
#1 | ||
New Member
Richard
Join Date: Feb 2014
Posts: 6
Rep Power: 12 |
Im trying to install Openfoam and Swak4foam on Lubuntu so that I can run simulations of my F1 car for the Khamsin Virtual Racecar Challenge, problem is Im new to Linux so most stuff goes straight over my head.
I have been following the guide at - http://www.tfd.chalmers.se/~hani/kur...OwnLaptop.html I have got to the part of the guide that says: Quote:
Quote:
|
|||
February 26, 2014, 11:30 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
BTW: use CODE instead of QUOTE for output in your postings
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
February 27, 2014, 06:18 |
|
#3 |
New Member
Richard
Join Date: Feb 2014
Posts: 6
Rep Power: 12 |
Had a change of plan, decided to go exactly as the guide says in the link I posted in the OP so have an Ubuntu 12.04 LTS install and have got further through the guide than before.
The guide now says to do the following: Code:
Test the installation: CTRL-ALT_T #To open an new terminal window OF22x mkdir -p $FOAM_RUN run cp –r $FOAM_TUTORIALS/incompressible/icoFoam/cavity . cd cavity blockMesh icoFoam paraFoam Code:
richard@laptop:~/OpenFOAM/richard-2.2.x/run$ cp –r $FOAM_TUTORIALS/incompressible/icoFoam/cavity . cp: cannot stat `–r': No such file or directory cp: omitting directory `/home/richard/OpenFOAM/OpenFOAM-2.2.x/tutorials/incompressible/icoFoam/cavity' |
|
February 27, 2014, 12:13 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
February 27, 2014, 16:21 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
Just a quick drive-by to point out a very particular detail... better explained on this Wikipedia article: http://en.wikipedia.org/wiki/Hyphen-minus
Code:
cp –r $FOAM_TUTORIALS/incompressible/icoFoam/cavity . cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity . Best regards, Bruno PS: It gets worse: http://en.wikipedia.org/wiki/Dash |
|
February 27, 2014, 16:52 |
|
#6 |
New Member
Richard
Join Date: Feb 2014
Posts: 6
Rep Power: 12 |
Thank you!
I was copying and pasting into the Terminal so was assuming the guide had everything written correctly, obviously this wasnt the case! Really appreciate the help. |
|
February 27, 2014, 19:00 |
|
#7 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
I've got this sign over my desk "Computers are like an old-testament god: lots of rules and no mercy"
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
February 28, 2014, 07:38 |
|
#8 |
New Member
Richard
Join Date: Feb 2014
Posts: 6
Rep Power: 12 |
Ok, so I now have OpenFOAM installed
Now to Swak4foam. This I have zero idea of. Is there a noobs install guide? |
|
February 28, 2014, 07:48 |
|
#9 |
New Member
Richard
Join Date: Feb 2014
Posts: 6
Rep Power: 12 |
Just had an attempt at this and here is what I got:
Code:
richard@laptop:~$ cd /home/richard/OpenFOAM/ThirdParty-2.2.x/ richard@laptop:~/OpenFOAM/ThirdParty-2.2.x$ svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_2.0/libraries/swak4Foam Checked out revision 2035. richard@laptop:~/OpenFOAM/ThirdParty-2.2.x$ cd swak4Foam richard@laptop:~/OpenFOAM/ThirdParty-2.2.x/swak4Foam$ nice ./Allwmake Previously compiled for OpenFOAM No file 'swakConfiguration'. Python etc won't work. See README for details Checking swak4Foam-version and generating file Swak version is 0.3.0 ./Allwmake: line 49: wmake: command not found Requirements for Library not satisfied. I see no sense in going on Check the README before you go on to ask. And search: Most likely your problem occured to 5 other people before and has been solved on the MessageBoard richard@laptop:~/OpenFOAM/ThirdParty-2.2.x/swak4Foam$ |
|
February 28, 2014, 13:10 |
|
#10 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
February 28, 2014, 13:12 |
|
#11 |
New Member
Richard
Join Date: Feb 2014
Posts: 6
Rep Power: 12 |
No idea, I'm a complete Linux newbie.
How would I go about doing that? |
|
February 28, 2014, 15:03 |
|
#12 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
That is the part in the installation description that says "add a line '~/OpenFOAM/OpenFOAM-2.2.0/etc/bashrc' to your ~/.bashrc" (something in that direction). I'm wondering: on that shell: does it even find (for instance) interFoam? The thing is: installing OF is one thing. But you've got to make sure that a new shell 'knows' where OF is
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
March 1, 2014, 19:25 |
|
#13 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
Quote:
Best regards, Bruno |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
installation Problem - Linux distribution (Not a meshing problem) | v_herw | Pointwise & Gridgen | 2 | June 20, 2016 14:47 |
LINUX newbie with paraView installation problem | kenya0514 | OpenFOAM Installation | 4 | January 16, 2013 17:51 |
Source Pack Installation OpenFOAM Version 2.1.0 on Redhat Linux | Indrajit | OpenFOAM Installation | 1 | April 1, 2012 04:39 |
Dual Boot Windows and Linux and Go Open Source | andyj | Main CFD Forum | 2 | October 21, 2010 16:49 |
OpenFOAM installation problem on Linux 32bit | kumar | OpenFOAM Installation | 0 | April 27, 2007 05:41 |