Installation of swak4foam problem
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 |
Quote:
One command/utility that swak4Foam installs funkySetFields. If that executes then chances are good that swak installed correctly |
Problem geting parts of Swak4Foam to run
1 Attachment(s)
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?
|
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 |
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. :) |
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 I downloaded Python-2.7.2, extracted it and then followed installation manual. So everything should be in place I guess. Sincerely, Martin |
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 |
Wow, that doesn't sound good. Could it mean I would need to reinstall OpenFOAM?
|
Quote:
|
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 |
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 |
Quote:
Before you do anything harsh have a look in /opt whether OF has moved to a similarly named directory |
Well, yeah. It outputs nothing. I have paraviewopenfoam3120 folder in there. But I actually just checked that paraview is also removed.
|
Ok, I'll try to reinstall everything. Still, how should I properly install swak then?
I should just simply write in console: and then in download folder run ./Allwmake right? Edit: Ok, done. It works. |
All times are GMT -4. The time now is 22:52. |