swak4Foam for openfoam 5
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 |
Quote:
have you found swak4Foam for openfoam 5 ? or should I Install openfoam4 to work with its swak4Foam? |
The development branch works for OpenFOAM-5.x (but currently not with OpenFOAM-dev):
https://openfoamwiki.net/index.php/C...xisting_clones Code:
Code:
|
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? |
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 |
Quote:
|
Error message. Trying to install Swak4Foam on OpenFOAM 5.0
1 Attachment(s)
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 If I need to patch, can you teach me how to patch? I am new to Linux. |
Quote:
|
hg update develop
I struggled with this for a bit. Haha. Quote:
|
Quote:
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$ |
Owner fixed swak4Foam for OpenFOAM 5
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. |
Quote:
I ended up using foam-extend since it was easier for me to install that. It provides swak4foam in the package. |
Quote:
as i am struggling to install it |
Hi all
Could anyone finally install it in openfoam 5? If so, can someone explain it in detail please? Best regards Masih |
Quote:
If there is Mercurial installed then you just download it with Code:
hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam Code:
./AllwmakeAll |
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 |
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 |
All times are GMT -4. The time now is 17:00. |