CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] About installation of swak4Foam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 13, 2012, 04:08
Default About installation of swak4Foam
  #1
Member
 
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 13
mmkr825 is on a distinguished road
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
mmkr825 is offline   Reply With Quote

Old   September 13, 2012, 07:25
Default
  #2
Member
 
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 14
treima is on a distinguished road
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
treima is offline   Reply With Quote

Old   September 13, 2012, 07:43
Default
  #3
Member
 
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 13
mmkr825 is on a distinguished road
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
mmkr825 is offline   Reply With Quote

Old   September 13, 2012, 08:54
Default
  #4
Member
 
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 14
treima is on a distinguished road
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
treima is offline   Reply With Quote

Old   September 13, 2012, 09:01
Default
  #5
Member
 
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 13
mmkr825 is on a distinguished road
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
mmkr825 is offline   Reply With Quote

Old   September 13, 2012, 09:24
Default
  #6
Member
 
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 14
treima is on a distinguished road
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
treima is offline   Reply With Quote

Old   September 13, 2012, 09:32
Default
  #7
Member
 
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 13
mmkr825 is on a distinguished road
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
mmkr825 is offline   Reply With Quote

Old   September 13, 2012, 09:52
Default
  #8
Member
 
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 14
treima is on a distinguished road
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.
treima is offline   Reply With Quote

Old   September 13, 2012, 09:54
Default
  #9
Member
 
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 13
mmkr825 is on a distinguished road
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
mmkr825 is offline   Reply With Quote

Old   December 8, 2012, 21:29
Default
  #10
Member
 
Jamal
Join Date: May 2012
Location: Freiburg
Posts: 54
Rep Power: 12
aujamal20 is an unknown quantity at this point
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
aujamal20 is offline   Reply With Quote

Old   December 14, 2012, 02:24
Default
  #11
Member
 
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 13
mmkr825 is on a distinguished road
Quote:
Originally Posted by aujamal20 View Post
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
Hi,

In your swak4Foam/Libraries/Allwmake, Change the first line to
Code:
#! /bin/bash
Then run with wmake all every thing will be o.k.

Thanks
Regards
Mallikarjuna.r
mmkr825 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 05:30.