|
[Sponsors] |
May 2, 2018, 05:41 |
swak4Foam for openfoam 5
|
#1 |
New Member
Patrick
Join Date: Apr 2016
Posts: 10
Rep Power: 10 |
Hi,
I am searching for Swak4Foam for OpenFOAM 5 but could not find anything online. Perhaps someone here could help me to this regard. Is there a swake4Foam version for openfoam 5? Thanks, Linox |
|
May 15, 2018, 02:51 |
|
#2 | |
New Member
Fahime Firoozpour
Join Date: Jan 2018
Posts: 10
Rep Power: 8 |
Quote:
have you found swak4Foam for openfoam 5 ? or should I Install openfoam4 to work with its swak4Foam? |
||
May 18, 2018, 10:11 |
|
#3 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
The development branch works for OpenFOAM-5.x (but currently not with OpenFOAM-dev):
https://openfoamwiki.net/index.php/C...xisting_clones Code:
hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam openfoam-extend-swak4Foam hg update development Code:
git clone hg::http://hg.code.sf.net/p/openfoam-extend/swak4Foam openfoam-extend-swak4Foam git checkout branches/develop |
|
May 20, 2018, 01:30 |
|
#4 |
New Member
Fahime Firoozpour
Join Date: Jan 2018
Posts: 10
Rep Power: 8 |
thanks a lot for your reply
I use this command: git clone hg::http://hg.code.sf.net/p/openfoam-extend/swak4Foam openfoam-extend-swak4Foam but got this error: Cloning into 'openfoam-extend-swak4Foam'... fatal: Unable to find remote helper for 'hg' do you know what should I do at this step? |
|
May 23, 2018, 08:08 |
|
#5 |
New Member
Fahime Firoozpour
Join Date: Jan 2018
Posts: 10
Rep Power: 8 |
I use this command :
hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam openfoam-extend-swak4Foam hg update development but get this error for (hg update development): abort: no repository found in '/home/nidec' (.hg not found)! do you know what should I do? thanks |
|
May 28, 2018, 21:56 |
|
#6 | |
New Member
Zhiyong GU
Join Date: Apr 2018
Posts: 3
Rep Power: 8 |
Quote:
|
||
October 9, 2018, 20:57 |
Error message. Trying to install Swak4Foam on OpenFOAM 5.0
|
#7 |
Member
Chris Harding
Join Date: Dec 2016
Posts: 76
Rep Power: 9 |
Hello,
Please help. I supply the log below. Code:
This script is rather crude. If it doesn't work try the steps by hand. And be sure to run it from the root of the swak-installation (as ./maintainanceScripts/compileRequirements.sh). Otherwise it probably won't work Bison already installed/compiled Bison successfully compiled Lua already installed/compiled Lua successfully compiled Add /home/happys5/swak4Foam/privateRequirements/bin to PATH-variable. The ./Allwmake-script will use this directory automatically Current OpenFOAM version is 5.0. This is a clean install /home/happys5/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison) Reading variables from 'swakConfiguration' Using python2.7 at /usr/bin/python2.7-config for python2 Using our own Lua at /home/happys5/swak4Foam/privateRequirements Checking swak4Foam-version and generating file Swak version is 0.4.2 Could not get version of the sources Bison: /home/happys5/swak4Foam/privateRequirements/bin/bison Flex: /usr/bin/flex Bison is version 3.0.4 Flex is version 2.6.4 (Minor version: 4) No swak4FoamParsers/foamVersion4swak.H. Generated Please include the output above when reporting a problem in the compilation. It helps diagnosing the problem I/opt/openfoam5/src/finiteVolume/lnInclude -I/opt/openfoam5/src/surfMesh/lnInclude -I/opt/openfoam5/src/sampling/lnInclude -I/opt/openfoam5/src/fileFormats/lnInclude -I/opt/openfoam5/src/triSurface/lnInclude -I/opt/openfoam5/src/dynamicMesh/lnInclude -I/opt/openfoam5/src/lagrangian/basic/lnInclude -I/opt/openfoam5/src/surfMesh/lnInclude -I/opt/openfoam5/src/meshTools/lnInclude -I../filesThatAreOnlyInSomeDistributions/OutputFilerDropin/ -IlnInclude -I. -I/opt/openfoam5/src/OpenFOAM/lnInclude -I/opt/openfoam5/src/OSspecific/POSIX/lnInclude -fPIC -c CommonValueExpressionDriver.C -o Make/linux64GccDPInt32Opt/CommonValueExpressionDriver.o /opt/openfoam5/wmake/rules/General/transform:25: recipe for target 'Make/linux64GccDPInt32Opt/CommonValueExpressionDriver.o' failed Parser library did not compile OK. No sense continuing as everything else depends on it Requirements for Library not satisfied. I see no sense in going on Check the README before you go on to ask. And search: Most likely your problem occurred to 5 other people before and has been solved on the MessageBoard If I need to patch, can you teach me how to patch? I am new to Linux. |
|
October 11, 2018, 20:10 |
|
#8 |
Member
Chris Harding
Join Date: Dec 2016
Posts: 76
Rep Power: 9 |
||
December 7, 2018, 06:30 |
|
#9 | |
Member
Ashish Vinayak
Join Date: Mar 2015
Location: Wuppertal, Germany
Posts: 50
Rep Power: 11 |
hg update develop
I struggled with this for a bit. Haha. Quote:
|
||
December 26, 2018, 08:48 |
|
#10 |
New Member
Ainal Hoque Gazi
Join Date: May 2018
Location: India
Posts: 27
Rep Power: 8 |
I am stucked to this from three or four months, will you please help me to install it in openfoam5.0, Ubuntu 18.04? i have tried with above command and got this... personal@personal-System-Product-Name:~/OpenFOAM/personal-5.0$ hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam openfoam-extend-swak4Foam requesting all changes adding changesets adding manifests adding file changes added 3645 changesets with 20717 changes to 4135 files (+11 heads) new changesets d14c0319d52c:b3760695cc31 updating to branch default 3102 files updated, 0 files merged, 0 files removed, 0 files unresolved personal@personal-System-Product-Name:~/OpenFOAM/personal-5.0$ hg update development abort: no repository found in '/home/personal/OpenFOAM/personal-5.0' (.hg not found)! personal@personal-System-Product-Name:~/OpenFOAM/personal-5.0$ git clone hg::http://hg.code.sf.net/p/openfoam-extend/swak4Foam openfoam-extend-swak4Foam fatal: destination path 'openfoam-extend-swak4Foam' already exists and is not an empty directory. personal@personal-System-Product-Name:~/OpenFOAM/personal-5.0$ git checkout branches/develop error: pathspec 'branches/develop' did not match any file(s) known to git. personal@personal-System-Product-Name:~/OpenFOAM/personal-5.0$ |
|
January 3, 2019, 23:20 |
Owner fixed swak4Foam for OpenFOAM 5
|
#11 |
Member
Chris Harding
Join Date: Dec 2016
Posts: 76
Rep Power: 9 |
Hello,
The owner, Bernhard Gschaider, fixed swak4Foam so that it now works for OpenFoam 5. I used the Mercurial method of downloading, see above "hg" method, and I successfully downloaded swak4Foam today. |
|
January 4, 2019, 06:18 |
|
#12 | |
Member
Ashish Vinayak
Join Date: Mar 2015
Location: Wuppertal, Germany
Posts: 50
Rep Power: 11 |
Quote:
I ended up using foam-extend since it was easier for me to install that. It provides swak4foam in the package. |
||
August 25, 2019, 08:16 |
|
#13 | |
New Member
zein elserfy
Join Date: May 2018
Posts: 25
Rep Power: 8 |
Quote:
as i am struggling to install it |
||
February 13, 2020, 07:32 |
|
#14 |
New Member
Masih
Join Date: Feb 2020
Posts: 22
Rep Power: 6 |
Hi all
Could anyone finally install it in openfoam 5? If so, can someone explain it in detail please? Best regards Masih |
|
February 13, 2020, 19:46 |
|
#15 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
If there is Mercurial installed then you just download it with Code:
hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam cd swak4Foam Code:
./AllwmakeAll
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
February 14, 2020, 07:28 |
|
#16 | |
New Member
Masih
Join Date: Feb 2020
Posts: 22
Rep Power: 6 |
Quote:
Thanks for your response There is not Mercurial installed on my system so when I wanted to install with the " sudo apt install mercurial" command I faced to this message: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libglvnd-dev : Depends: libglvnd0 (= 1.0.0-2ubuntu2) but 1.0.0-2ubuntu2.3 is to be installed Depends: libglvnd-core-dev (= 1.0.0-2ubuntu2) but 1.0.0-2ubuntu2.3 is to be installed Depends: libegl1 (= 1.0.0-2ubuntu2) but 1.0.0-2ubuntu2.3 is to be installed Depends: libgles2 (= 1.0.0-2ubuntu2) but 1.0.0-2ubuntu2.3 is to be installed Depends: libgl1 (= 1.0.0-2ubuntu2) but 1.0.0-2ubuntu2.3 is to be installed Depends: libglx0 (= 1.0.0-2ubuntu2) but 1.0.0-2ubuntu2.3 is to be installed Depends: libopengl0 (= 1.0.0-2ubuntu2) but 1.0.0-2ubuntu2.3 is to be installed mercurial : Depends: mercurial-common (= 4.5.3-1ubuntu2.1) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). Then, I wrote the code "apt --fix-broken install" but this message showed up: E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? I have checked many websites and tried different methods to deal with it but i could not so far. Did anyone have the same problem and could solve it? Best regards Masih |
||
February 16, 2020, 06:13 |
|
#17 |
New Member
Masih
Join Date: Feb 2020
Posts: 22
Rep Power: 6 |
Hi guys,
my problem was solved. Some dependencies was deleted on my system (probably by mistake) and that is why I could not install any package. I hope this comment can be helpful for others. Best regards Masih |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] difficulties installing swak4foam | newbie29 | OpenFOAM Community Contributions | 120 | October 21, 2022 05:01 |
InterDyMFoam+simpleFunctionObject | Elham | OpenFOAM Running, Solving & CFD | 5 | July 10, 2017 12:59 |
source term in near wall cell | rajcfd | OpenFOAM Pre-Processing | 5 | February 1, 2016 11:31 |
[swak4Foam] Install swak4Foam on OpenFOAM1.7.1 on Ubuntu 13.04 | kobayashi | OpenFOAM Community Contributions | 2 | January 5, 2014 18:33 |
[swak4Foam] fails in parallel with -otherTime? | Phicau | OpenFOAM Community Contributions | 3 | June 26, 2013 14:00 |