![]() |
Installation Problem with OF 6 version
1 Attachment(s)
Dear all,
I've got problems with the installation of swak4Foam for the OpenFoam 6 version. May I get some assistance how to fix it? Attached please find the errors after command './Allwmake' . I'm using: Ubuntu 16.04 OF 6 Swak version 0.4.1 Bison is version 2.7.12 Flex is version 2.6.0 Regards Marc |
Hi
According to https://twitter.com/swakpyfoam?lang=en posted on July 15: your swak version (0.4.1) is too old to compile with OF6. You should use the development version (0.4.2 as of now) instead JF |
You can download and install the new swak4foam version compatible with openfoam-6 with the following command lines :
hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam -u develop cd swak4Foam ./maintainanceScripts/compileRequirements.sh ./Allwmake |
Now swak4Foam it's working.
Thank you very much for your support!!! Marc |
Hi,
I am having problems installing swak4FOAM for openFOAM 6. I am using version 0.4.2 of Swak. The maintenanceScripts folder is compiling correctly, however swak isnät compiling properly and I have the following errors. Quote:
This continues on for much longer than this, I've just taken a portion of what I get. A fresh download and compile has been tried, with the same errors occurring every time. Could anyone shed any light on this? Thank you Arthur |
Do you have DL swak4foam with the '-u develop' option?
hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam -u develop |
Quote:
Hi, yes, that is the version I was using that got the errors. Arthur |
There is no error in your log. There is only warning...
The "could not open.... " lines are not a problem |
Hi,
Once I let it finish the compiling and I run a file using swak libraries, it tells me that it cannot access swak libraries "...swak...blahblah.so". This is surely to do with those messages saying it cannot open files no? Thank you for your quick reply! Arthur |
i think not... I have the same messages and i have no problems.
Can you send the log output of the compilation? Perhaps a problem with your $FOAM_USER_LIBBIN $FOAM_USER_APPBIN? try "ls $FOAM_USER_LIBBIN" and "ls $FOAM_USER_APPBIN" to check if swak4foam is correctly compiled. |
swak4Foam installation error
1 Attachment(s)
Hello Everyone,
I have been trying to create a ono-rectangular alpha.water field fow which I am trying to install swak4Foam. But I guess there is some problem in its installation. I have attached the log.make file with this. It will be really helpful if you could take a look at it. Thank you |
Can also use setExprField instead of swak funky fields if you have access to OpenFOAM-v1912 or v2006
|
Quote:
The good news is that all the libraries are already compiled (so groovyBC and all functionObjects are already usable) but some utilities (basically those that are alphabetically after funkySetAreaFields). The simplest thing to do is to compile them like this: Code:
wmake Utilities/funkySetFields The problem is already fixed for the next release |
setExprField: command not found
Quote:
I have been trying to the same thing but unfortunately I can't find it. An error appears, 'command not found'. I am using blueCFD 5.X on windows as well as openfoam7 on ubuntu wsl. I checked into the src/ulitiles folder as well, I couldn't find the file there. Any help or suggestion would be much appreciated as I have been trying over it for quite good time. |
Quote:
openfoam7 (from openfoam.org) will not have this capability, you need openfoam1912 or openfoam2006 (openfoam.com). There is a mingw cross-compiled version for windows (I don't have a link for you, but should be possible to find). Or the ubuntu packages: https://develop.openfoam.com/Develop...ompiled/debian |
All times are GMT -4. The time now is 09:32. |