|
[Sponsors] |
November 18, 2016, 01:04 |
swak4Foam for OpenFOAM-2.1.x
|
#1 |
New Member
shadab ilahi
Join Date: Aug 2016
Posts: 11
Rep Power: 9 |
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 |
|
November 20, 2016, 14:24 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
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.
__________________
|
|
November 21, 2016, 05:10 |
|
#3 | |
New Member
shadab ilahi
Join Date: Aug 2016
Posts: 11
Rep Power: 9 |
Quote:
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’ Shadab |
||
November 22, 2016, 17:20 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
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 .. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] difficulties installing swak4foam | newbie29 | OpenFOAM Community Contributions | 120 | October 21, 2022 04:01 |
InterDyMFoam+simpleFunctionObject | Elham | OpenFOAM Running, Solving & CFD | 5 | July 10, 2017 11:59 |
[swak4Foam] and twoPhaseEulerFoam | mnikku | OpenFOAM Community Contributions | 1 | February 19, 2016 05:21 |
source term in near wall cell | rajcfd | OpenFOAM Pre-Processing | 5 | February 1, 2016 10:31 |
[swak4Foam] fails in parallel with -otherTime? | Phicau | OpenFOAM Community Contributions | 3 | June 26, 2013 13:00 |