CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [swak4Foam] swak4Foam for OpenFOAM-2.1.x (https://www.cfd-online.com/Forums/openfoam-community-contributions/180161-swak4foam-openfoam-2-1-x.html)

shadabdyn November 18, 2016 01:04

swak4Foam for OpenFOAM-2.1.x
 
Dear Foamers,
I am working on OpenFOAM-2.1.x and I need swak4Foam. Can anyone help me in installing swak4Foam. The swak4Foam is available for other versions of openFoam, but the "viscoelasticFluidFoam" solver is available for only OpenFOAM-2.1.x. Can anyone help me in installing swak4Foam.

Thanks in advance
Shadab

wyldckat November 20, 2016 14:24

Quick answer: I've tested and added the following section "OpenFOAM 2.0.0 to 2.1.x" to the wiki page that explains how to download for each version: https://openfoamwiki.net/index.php/I...2.0.0_to_2.1.x

Detailed installation instructions are given here: https://openfoamwiki.net/index.php/I...tion/swak4Foam - which rely on that wiki page.

Essentially swak4Foam 0.3.2 has to be used, along with a bug fix. I don't have enough time at the moment to diagnose what's wrong with swal4Foam 0.4.0 :(.


Please let us know if this works or not. And if it doesn't, please provide the details which those wiki page explain how to do it.

shadabdyn November 21, 2016 05:10

Quote:

Originally Posted by wyldckat (Post 626088)
Quick answer: I've tested and added the following section "OpenFOAM 2.0.0 to 2.1.x" to the wiki page that explains how to download for each version: https://openfoamwiki.net/index.php/I...2.0.0_to_2.1.x

Detailed installation instructions are given here: https://openfoamwiki.net/index.php/I...tion/swak4Foam - which rely on that wiki page.

Essentially swak4Foam 0.3.2 has to be used, along with a bug fix. I don't have enough time at the moment to diagnose what's wrong with swal4Foam 0.4.0 :(.


Please let us know if this works or not. And if it doesn't, please provide the details which those wiki page explain how to do it.

Dear wyldckat,
Thanks for the reply. I have followed the same procedure that you have mentioned. First i have downloaded swak4Foam manually and then I tried to make some repairs on the source code. But it is giving the following error.

Code:

shadab@shadab-HP-ProDesk-600-G1-TWR:~/OpenFOAM/OpenFOAM-2.1.x/swak4Foam$ wget https://sourceforge.net/p/openfoam-extend/ticketsswak4foam/_discuss/thread/eaf9b049/ccb1/attachment/solverPerformanceToGlobalVariables_lduMatrix_solverPerformance_of20_21.patch
--2016-11-21 15:39:48--  https://sourceforge.net/p/openfoam-extend/ticketsswak4foam/_discuss/thread/eaf9b049/ccb1/attachment/solverPerformanceToGlobalVariables_lduMatrix_solverPerformance_of20_21.patch
Resolving sourceforge.net (sourceforge.net)... failed: Name or service not known.
wget: unable to resolve host address ‘sourceforge.net’

Please help me to correct the issue..

Shadab

wyldckat November 22, 2016 17:20

1 Attachment(s)
Quick answer: Please download the attached file, place it inside the folder "swak4Foam" and then run:
Code:

gunzip solverPerformanceToGlobalVariables_lduMatrix_solverPerformance_of20_21.patch.gz
patch -p1 < solverPerformanceToGlobalVariables_lduMatrix_solverPerformance_of20_21.patch
cd ..



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