Quote:
Speaking of search engines: have you tried entering "groovyBC wave generation" into Google? There is a number of hits there were this is discussed (and I remember some presentations at past workshops were the use of groovyBC and its limitations for that purpose were discussed). Apart from that I don't quite understand what you mean with "wave direction" as opposed to "current wave direction" |
Bernhard,
I am sorry about the thread, I won't do that next time. I haven't tried to google that but I will. About my question, I meant lets say is it possible to define uniform velocity distribution from bottom to seaLevel in x-direction and at the same time is it possible to generate my waves traveling in y-direction? Best, kilroy |
Thanks for the quick answer and the advice with the parallel compilation. For completeness I attached the serial compilation log at the end.
With the current compiler I was able to compile other things. It was some OF related stuff. I will try to trigger the error with an other case to boil down the problem. I'll report the solution if I find one. Thanks, Luk Code:
No 'swakConfiguration'. Python etc won't work |
Quote:
|
Quote:
|
Will do. Thank you for the help.
Best, kilroy |
Swak4Foam set up issue
Hi all,
I am a new user on OpenFOAM. While software works fine with already installed libraries, it fails for Swak4Foam. The facts that I don't understands are: 1. Where do we need to copy the downloaded Swak4Foam folder? 2. What are the steps for installation of the library? I have copied it to the OpenFOAM folder itself OpenFOAM-2.2.0/swak4Foam/ and when I run wmake in the directory: OpenFOAM-2.2.0/swak4Foam/Utilities/funkySetFields/ I receive error of: SOURCE=funkySetFields.C ; g++ -m64 -fsignaling-nans -ftrapping-math -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O2 -DNoRepository -ftemplate-depth-100 -IMake/darwinIntel64GccDPOpt -I/Users/sshamip/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/Users/sshamip/OpenFOAM/OpenFOAM-2.2.0/src/sampling/lnInclude -I/Users/sshamip/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/Users/sshamip/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/Users/sshamip/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -c $SOURCE -o Make/darwinIntel64GccDPOpt/funkySetFields.o However, I am not sure if I'm missing any step before running wmake. Would appreciate your help. Best, Shayan |
Greetings Shayan and welcome to posting on the forum!
Uhm... that's not an error message you've given, that's only information indicating that it is going to create the object file "funkySetFields.o" from the source code file "funkySetFields.C". Full details on how to install swak4Foam are given here:
Bruno |
Hi all,
I get the following error messages when trying to run Allwmake in swap4Foam: Code:
SOURCE=swakSetValues.C ; clang++ -m64 -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -Wno-overloaded-virtual -Wno-unused-comparison -Wno-deprecated-register -O3 -DNoRepository -ftemplate-depth-100 -I../swak4FoamParsers/lnInclude -I/Users/erikstenberg/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude -I/Users/erikstenberg/OpenFOAM/OpenFOAM-2.3.1/src/sampling/lnInclude -I/Users/erikstenberg/OpenFOAM/OpenFOAM-2.3.1/src/fvOptions/lnInclude -I/Users/erikstenberg/OpenFOAM/OpenFOAM-2.3.1/src/meshTools/lnInclude -IlnInclude -I. -I/Users/erikstenberg/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude -I/Users/erikstenberg/OpenFOAM/OpenFOAM-2.3.1/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -std=c++11 -c $SOURCE -o Make/darwinIntel64ClangDPOpt/swakSetValues.o Best regards, Bosse |
Thanks Bruno for the help. I managed to install it using the guides. Just maybe one point regarding the installation that could be useful to new users is that Swak4Foam is only confirmed with bison 2.x and not later versions.
Best, Shayan |
Greetings to all!
@Bosse: Quote:
@Shayan: Quote:
Best regards, Bruno |
Quote:
|
Quote:
I suggest that you ask the author of the installation instructions for installing OpenFOAM on Mac OS X, to see if that author has any experience with building swak4Foam under the same specific installation. |
@Shayan:
Can you please suggest where this should be indicated? Hi Bruno, As explained in the following link, after installing m4, one should download and install Bison. I had a bug complaining about the version of Bison which was later than 2.7. After changing that to 2.7 version, the problem was solved. So if one follow the instructions from the below link, (s)he would be safe. https://openfoamwiki.net/index.php/I...g_dependencies Best, Shayan |
Hi Shayan,
Many thanks for the feedback. I've updated the page, by adding a few more indications about Bison 3 versions not being supported, although I'm not sure that this was what you had in mind. Best regards, Bruno |
All times are GMT -4. The time now is 02:41. |