|
[Sponsors] |
[swak4Foam] Installation of swak4foam problem |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 19, 2012, 04:11 |
Installation of swak4foam problem
|
#1 |
New Member
Anone
Join Date: Feb 2012
Posts: 16
Rep Power: 14 |
Hi all
I downloaded swak4foam files. I typed in ./Allwmake Then the files are installed into the platforms/linux64GccDPopt/lib/libgroovyBC... etc... However it does not seem to installed when I go to Openfoam and find that it does not recognise the groovyBC command I am not sure if it installed properly Please help CFD_user |
|
March 19, 2012, 10:35 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
One command/utility that swak4Foam installs funkySetFields. If that executes then chances are good that swak installed correctly |
||
March 24, 2012, 18:02 |
Problem geting parts of Swak4Foam to run
|
#3 |
New Member
Kevin Flora
Join Date: Oct 2009
Location: California, USA
Posts: 19
Rep Power: 17 |
I have compiled Swak4Foam on Kubunutu 11.10 with OF 2.1.x and don't see any probems with the compilation (see attached log). While I have no problems executing commands such as "funkySetBoundaryField", the python commands (e.g., pyFoamPlotRunner.py etc) are do not work and give "command not found" at the prompt. What do I need to do to have these commands recognized, or are they just not compiling right?
|
|
March 24, 2012, 18:22 |
|
#4 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hello Kevin,
A Good Afternoon to you! I think you have misinterpreted something in the documentation regarding swak4Foam. The command you are trying to run "pyFoamPlotRunner.py" is not a part of the swak4Foam suite. It is a part of the "PyFoam" Package which is another set of utilities completely independent and unrelated to swak4Foam. If you are interested in PyFoam, have a look at the following link: http://openfoamwiki.net/index.php/Contrib_PyFoam You can also read about the Installation and Usage of PyFoam from the same Website. Also look at the following presentation by Berhard Gschaider (main driving force behind PyFoam and swak4Foam): http://openfoamwiki.net/images/e/e0/...UWien_2012.pdf Hope this helps! Have a great day ahead! Philippose |
|
March 24, 2012, 18:37 |
|
#5 |
New Member
Kevin Flora
Join Date: Oct 2009
Location: California, USA
Posts: 19
Rep Power: 17 |
Philippose,
Thanks for you quick help. You were exactly right that I was a bit confused about what was included in swak4Foam. I've got PyFoam working now. |
|
April 7, 2012, 10:03 |
|
#6 |
Member
Martin
Join Date: Dec 2011
Location: Latvia
Posts: 54
Rep Power: 15 |
Greetings!
I get this error and I couldn't find solution in forums. I guess it is rather simple error then... Code:
Bison is version coetmeur@icdc.fr No 'swakConfiguration'. Python etc won't work OpenFOAM-version: Major Minor Patch No change to Libraries/swak4FoamParsers/foamVersion4swak.H ./Allwmake: line 87: wmake: command not found ./Allwmake: line 93: wmake: command not found I downloaded Python-2.7.2, extracted it and then followed installation manual. So everything should be in place I guess. Sincerely, Martin |
|
April 7, 2012, 17:08 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Martin,
According to the error message, the problem is that you didn't have a working OpenFOAM environment, which is why "wmake" was not found! I wrote sometime ago a blog post explaining a bit about how the "OpenFOAM environment" works: Advanced tips for working with the OpenFOAM shell environment Best regards, Bruno
__________________
|
|
April 7, 2012, 18:02 |
|
#8 |
Member
Martin
Join Date: Dec 2011
Location: Latvia
Posts: 54
Rep Power: 15 |
Wow, that doesn't sound good. Could it mean I would need to reinstall OpenFOAM?
|
|
April 7, 2012, 20:14 |
|
#9 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
__________________
|
||
April 8, 2012, 15:58 |
|
#10 |
Member
Martin
Join Date: Dec 2011
Location: Latvia
Posts: 54
Rep Power: 15 |
This seems serious. OpenFoam just doesn't work anymore. I believe this happened after I installed Python. Every time when I open console it shows
Code:
bash: /opt/openfoam210/etc/bashrc: No such file or directory Martin |
|
April 8, 2012, 16:48 |
|
#11 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Martin,
What does this output: Code:
ls -l /opt/openfoam210 In theory, the only step you need for installing OpenFOAM once again is running this command: Code:
sudo apt-get install openfoam210 paraviewopenfoam3120 Bruno
__________________
|
|
April 9, 2012, 18:43 |
|
#12 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Before you do anything harsh have a look in /opt whether OF has moved to a similarly named directory |
||
April 11, 2012, 06:30 |
|
#13 |
Member
Martin
Join Date: Dec 2011
Location: Latvia
Posts: 54
Rep Power: 15 |
Well, yeah. It outputs nothing. I have paraviewopenfoam3120 folder in there. But I actually just checked that paraview is also removed.
|
|
April 11, 2012, 06:34 |
|
#14 |
Member
Martin
Join Date: Dec 2011
Location: Latvia
Posts: 54
Rep Power: 15 |
Ok, I'll try to reinstall everything. Still, how should I properly install swak then?
I should just simply write in console: Code:
svn checkout https://openfoam-extend.svn.sourcefo...ies/swak4Foam/ right? Edit: Ok, done. It works. Last edited by latvietis; April 11, 2012 at 08:13. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam >>>> INSTALLATION PROBLEM | steven123 | OpenFOAM Community Contributions | 35 | January 11, 2021 17:53 |
[OpenFOAM.org] Problem in installation of OpenFOAM-2.3.x | Parisa_Khiabani | OpenFOAM Installation | 5 | December 4, 2014 10:04 |
RHEL 6.3 Installation problem | Turbulent | STAR-CCM+ | 0 | September 3, 2014 08:01 |
[swak4Foam] installation problem: "./Allwmake: ... [[: not found" | Rajarshi | OpenFOAM Community Contributions | 8 | May 13, 2013 09:05 |
[swak4Foam] About installation of swak4Foam | mmkr825 | OpenFOAM Community Contributions | 10 | December 14, 2012 02:24 |