CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

About installation of swak4Foam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 13, 2012, 03:08
Default About installation of swak4Foam
  #1
Member
 
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 5
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, 06:25
Default
  #2
Member
 
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 5
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, 06:43
Default
  #3
Member
 
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 5
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, 07:54
Default
  #4
Member
 
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 5
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, 08:01
Default
  #5
Member
 
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 5
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, 08:24
Default
  #6
Member
 
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 5
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, 08:32
Default
  #7
Member
 
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 5
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, 08:52
Default
  #8
Member
 
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 5
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, 08:54
Default
  #9
Member
 
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 5
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: 4
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: 5
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
swak4Foam installation on 2.0 fisch OpenFOAM Installation 41 August 14, 2013 18:14
swak4Foam installation problem Rajarshi OpenFOAM 8 May 13, 2013 08:05
Installation of swak4foam problem CFD_user_2012 OpenFOAM 13 April 11, 2012 05:34
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


All times are GMT -4. The time now is 06:46.