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

[swak4Foam] swak4Foam for OpenFOAM-2.1.x

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 18, 2016, 01:04
Default swak4Foam for OpenFOAM-2.1.x
  #1
New Member
 
shadab ilahi
Join Date: Aug 2016
Posts: 11
Rep Power: 9
shadabdyn is on a distinguished road
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
shadabdyn is offline   Reply With Quote

Old   November 20, 2016, 14:24
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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.
__________________
wyldckat is offline   Reply With Quote

Old   November 21, 2016, 05:10
Default
  #3
New Member
 
shadab ilahi
Join Date: Aug 2016
Posts: 11
Rep Power: 9
shadabdyn is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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
shadabdyn is offline   Reply With Quote

Old   November 22, 2016, 17:20
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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 ..
wyldckat is offline   Reply With Quote

Reply


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] 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


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