|
[Sponsors] |
September 13, 2012, 04:08 |
About installation of swak4Foam
|
#1 |
Member
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 14 |
Hi everyone,
I am fresher to openFoam. I came to know the uses of swak4Foam utility for writing boundary conditions. In my application also i need to apply zero flux boundary condition. So i wish to install swak4Foam. Now i am working on OF 2.1.1 version. I followed every step as mentioned in the tutorials but i am not able to get it. The error message as follows Error message:- malli_reddy@ubuntu:~/OpenFOAM/malli_reddy-2.1.1$ svn checkout https://openfoam-extend.svn.sourcefo...ies/swak4Foam/ svn: OPTIONS of 'https://openfoam-extend.svn.sourcefo...ries/swak4Foam': Could not resolve hostname `openfoam-extend.svn.sourceforge.net': No address associated with hostname (https://openfoam-extend.svn.sourceforge.net) Could you please suggest me how to overcome this problem. And suggest me some good tutorial for the swak4Foam. Thanks Regards Mallikarjuna |
|
September 13, 2012, 07:25 |
|
#2 |
Member
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 14 |
Hello,
you can have a look at this side: https://github.com/wyldckat/swak4foam If it isnīt working with svn, you can download the repository as a zip-archive. There is a long README, where you can find several informations and links about swak4foam, too. I think, there arenīt very much tutorials about swak4foam, but there are others, who can give you more information about this. You can find some examples in the OpenFOAM wiki, depending on your application of swak4foam, i.e. groovyBC: http://openfoamwiki.net/index.php/Contrib_groovyBC regards treima |
|
September 13, 2012, 07:43 |
|
#3 |
Member
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 14 |
hi treima,
Thanks for quick reply. I did the same procedure as you suggested. I downloaded swak4Foam zip-archive, and i compiled it with wmake all. I have doubt whether it is installed correctly or not. Please guide me how to test it's functionality. Thanks Regards Mallikarjuna |
|
September 13, 2012, 08:54 |
|
#4 |
Member
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 14 |
I donīt know, if there is a short procedure or a command, like foamInstallationTest for OpenFOAM, to test the Installation of swak4foam. But you can take one of the tutorials and change a boundary condtion and calculate one with groovyBC. In this case you get some practice, too
regards treima |
|
September 13, 2012, 09:01 |
|
#5 |
Member
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 14 |
hi treima,
Thank you very much for your quick reply. I will go through your suggestion. I have one more doubt about groovyBC. Is it works for OF 2.1.1 also. I studied in some tutorials that it is only applicable for older versions like OF 1.6,etc. Could you please clarify my doubt. Thanks Regards Mallikarjuna |
|
September 13, 2012, 09:24 |
|
#6 |
Member
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 14 |
I havenīt installt version 2.1.1 on my computer, but Iīm working with version 2.1.0 and 1.6-ext. GroovyBC works fine for both versions (for my cases). So it might be the same with version 2.1.1.
Sometimes the tutorials are written for older versions and no one has ever updated the tutorial description |
|
September 13, 2012, 09:32 |
|
#7 |
Member
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 14 |
hi sir,
Thanks for quick reply. When i recompiled with wmake all in the swak4Foam library i gotthe following message. malli_reddy@ubuntu:~/OpenFOAM/malli_reddy-2.1.1/swak4Foam$ wmake all No 'swakConfiguration'. Python etc won't work Checking swak4Foam-version and generating file ./Allwmake: 9: [[: not found ./Allwmake: 17: [[: not found Bison is version 2.4.1 ./Allwmake: 33: cannot open 2.3: No such file ./Allwmake: 33: [[: not found OpenFOAM-version: Major 2 Minor 1 Patch 1 ./Allwmake: 67: [[: not found No change to swak4FoamParsers/foamVersion4swak.H '/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/platforms/linuxGccDPOpt/lib/libswak4FoamParsers.so' is up to date. '/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/platforms/linuxGccDPOpt/lib/libgroovyBC.so' is up to date. '/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/platforms/linuxGccDPOpt/lib/libswakFunctionObjects.so' is up to date. '/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/platforms/linuxGccDPOpt/lib/libsimpleFunctionObjects.so' is up to date. '/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/platforms/linuxGccDPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date. '/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/platforms/linuxGccDPOpt/lib/libswakTopoSources.so' is up to date. '/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/platforms/linuxGccDPOpt/lib/libswakSourceFields.so' is up to date. '/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/platforms/linuxGccDPOpt/lib/libgroovyStandardBCs.so' is up to date. SWAK_PYTHON_INCLUDE not defined .... no Python-Integration make[1]: Entering directory `/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/swak4Foam/Utilities/funkyDoCalc' make[1]: `/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/platforms/linuxGccDPOpt/bin/funkyDoCalc' is up to date. make[1]: Leaving directory `/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/swak4Foam/Utilities/funkyDoCalc' make[1]: Entering directory `/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/swak4Foam/Utilities/funkySetBoundaryField' make[1]: `/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/platforms/linuxGccDPOpt/bin/funkySetBoundaryField' is up to date. make[1]: Leaving directory `/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/swak4Foam/Utilities/funkySetBoundaryField' make[1]: Entering directory `/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/swak4Foam/Utilities/funkySetFields' make[1]: `/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/platforms/linuxGccDPOpt/bin/funkySetFields' is up to date. make[1]: Leaving directory `/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/swak4Foam/Utilities/funkySetFields' make[1]: Entering directory `/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/swak4Foam/Utilities/replayTransientBC' make[1]: `/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/platforms/linuxGccDPOpt/bin/replayTransientBC' is up to date. make[1]: Leaving directory `/home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/swak4Foam/Utilities/replayTransientBC' I want to know it is installed correctly or not. Thanks Regards Mallikarjuna |
|
September 13, 2012, 09:52 |
|
#8 |
Member
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 14 |
It seems, that you donīt have python on your machine, so perhaps some parts wouldnīt work.
But as you can see, the compiled parts are all up to date. You should be able to use them without any problems. That includes groovyBC, funkySetFields and so on, you can see them on your list. |
|
September 13, 2012, 09:54 |
|
#9 |
Member
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 14 |
Hi sir,
Thank you very much for spending time on my problem. I have checked in the /home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/platforms/linuxGccDPOpt/lib/ , it consisting of the following files. libgroovyBC.so libswak4FoamParsers.so libgroovyStandardBCs.so libswakFunctionObjects.so libsimpleFunctionObjects.so libswakSourceFields.so libsimpleSwakFunctionObjects.so libswakTopoSources.so I will check according to your suggestion. Again thank you so much. I can't forget your help in my project. Thanks Regards Mallikarjuna |
|
December 8, 2012, 21:29 |
|
#10 |
Member
Jamal
Join Date: May 2012
Location: Freiburg
Posts: 54
Rep Power: 13 |
Dear
Did u run the allwmake directly or make some changes in any file. I am doing in the same way but it is not working ..... Thanks |
|
December 14, 2012, 02:24 |
|
#11 | |
Member
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 14 |
Quote:
In your swak4Foam/Libraries/Allwmake, Change the first line to Code:
#! /bin/bash Thanks Regards Mallikarjuna.r |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Swak4foam installation error with OF 2.2.0 (Ubuntu 12.04 LTS) | vbchris | OpenFOAM Community Contributions | 8 | March 25, 2021 21:11 |
[swak4Foam] swak4foam >>>> INSTALLATION PROBLEM | steven123 | OpenFOAM Community Contributions | 35 | January 11, 2021 17:53 |
[swak4Foam] [OpenFOAM plus] [v1612+] swak4Foam installation problem in Windows (Allwmake) | LThomes | OpenFOAM Community Contributions | 7 | October 6, 2020 14:36 |
[swak4Foam] swak4Foam 0.3.1 OF2.2.2 Installation Issue | scnsc | OpenFOAM Community Contributions | 3 | August 20, 2014 08:59 |
[swak4Foam] fails in parallel with -otherTime? | Phicau | OpenFOAM Community Contributions | 3 | June 26, 2013 14:00 |