Swak4FOAM 0.2.3 / OF2.2.x installation error
hello everybody!
im trying to build Swak4FOAM 0.2.3 with: - OpenFOAM2.2.x - gcc-4.6.4 - flex-2.5.37 - bison-2.4.1 second run of ./Allwmake gives me the following error/message: Code:
fpfender@sx200:/disk1/users/fpfender/OpenFOAM/source/Swak4Foam_2.x_release_0.2.3$ ./Allwmake - OpenFOAM-2.2.x - gcc-4.6.4 - flex-2.5.35 - bison-2.4.1 |
Quote:
|
Almost everytime I have had a problem with libfiniteVolume.so its been the flex/flex++ definitions under wmake/rules/General that need tweaking for your installed version of flex.
|
Quote:
|
my guess is that OpenFOAM 2.2.x did not buillt correctly and libfiniteVolume.so was not created. I have a cluster built on Rocks 5.3.1 which has an old verison of flex that requires changing the rules files. I don't think its a swak problem, it builds just fine on my cluster with OF22x.
EDIT: I just retrieved a new copy of the swak sources from bitbucket and confirmed that it builds against my OF2.2.x that was compiled this morning. |
i did it again. the problem was, my openfoam wasnt build correctly.
but now i got a new problem which im trying to solve since days. compiling Swak4Foam works, with a few errors: Code:
/disk1/users/fpfender/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude/OutputFilterFunctionObject.C:210:9: error: ‘class Foam::foreignMeshesFollowTime’ has no member named ‘timeSet’ thanks a lot! |
Quote:
[1] https://github.com/OpenFOAM/OpenFOAM...f57922bec7b80b |
1 Attachment(s)
Greetings to all!
@Daniel: Many thanks for the report! I've submitted this issue to swak4Foam's bug tracker: https://sourceforge.net/apps/mantisb...iew.php?id=174 - along with the bug fix. In addition, two notes:
For applying the attached patch, do the following steps:
Bruno |
Quote:
|
same here! Thank you very much!
|
Quote:
|
Greetings to all!
And you're all welcome! :) |
Does it work for OpenFoam 2.1?
Quote:
|
Quote:
|
Thanks, Bernhard. I wonder where I can directly download the swak4Foam source code? For some reason, the method in wikiOpenfoam didn't work to me.
Quote:
|
Quote:
|
accessing swake4Foam installed by another user on cluster...
Hello Formers,
My problem is ... OF 2.2.x is installed on server and one of the users have installed swak4foam0.2.3 in his user_directory. I am trying to use that installation by adding the following line in bash_profile--> export SWAKFFOAM_SRC= /OpenFOAM/user-2.2.x/lib/Swak4Foam.0.2.3/Libraries But groovyBC remains unknown..... waiting for valuable suggestion. Regards. |
Quote:
Or the problem is that swak installs its libraries to FOAM_USER_LIBBIN which is different for different users |
Quote:
Thanks for the patch :) I ve noticed problems together with moving meshes. Specially with dynamicTopoFvMesh (Sandeep Menon). The problem was in file ../simpleFunctionObjects/lnInclude/simpleFunctionObject.H at line 177. Code:
#ifdef FOAM_FUNCTIONOBJECT_NEEDS_UPDATEMESH By erasing the notImplemented stuff (sandeep's suggest) the problem seems to be solved. Code:
#ifdef FOAM_FUNCTIONOBJECT_NEEDS_UPDATEMESH Hope, this helps somebody. (Much more hope it will not have any influence on the results ;) ) Best regards Martin |
Hi Martin,
Many thanks for sharing! I've reported this to the bug tracker for swak4Foam: https://sourceforge.net/apps/mantisb...iew.php?id=190 - this way Bernhard feels a bit more obligated to fix it ;) By the way Martin, please provide a simple test case at that bug report, so that Bernhard can reproduce the problem! :) Best regards, Bruno |
All times are GMT -4. The time now is 10:15. |