Quote:
Have a look at the error message: there is already a fix on the MessageBoard |
now,I must recompiling this swak or cleaning this swak and compile other swak?
whats a complete swak address in net which I download and compile it.??? my openFoam is 2.2.1 and my swak is 0.2.4 |
Greetings to all!
@seju: Quote:
If this doesn't work, please provide more details on the steps you are taking, as well as how exactly you installed OpenFOAM on your machine. In addition, if you also have OpenFOAM 1.6-ext, please detail how you switch between the two versions. Best regards, Bruno |
Quote:
PHP Code:
I have ubuntu and windows 7 abreast.I dont install openfoam in virtualbox.I install ubuntu absolute. I fialed in compile openFoam 1.6 ext and I just have openFoam 2.2.1. I installed openFoam 2.2.1 From this link PHP Code:
|
Hi seju,
Many thanks the information! I've tested the following steps on a VM with Ubuntu 13.04 (64bit) and with the same OpenFOAM 2.2.1 installation and they should work as intended:
Best regards, Bruno |
dear Bruno and Mr.Gschaider my problem solved.thank you so much.
but I have another problem in: HTML Code:
http://www.cfd-online.com/Forums/openfoam-meshing/125508-problem-axisymmetric-mesh.html#post459204 |
Problems building swak4Foam
Hi everyone,
First of all, happy new year! I am a new Foamer. And, this is my first post. I am using ubuntu 13.10 and have installed openFoam 2.2.2. What I want to do is to modify the wind velocity profile in the turbineSiting tutorial. So, I decided to download swak4Foam in order to use groovyBC. But, when I use it, it seems that it was not built in the right way. I even used these two patches: 1. http://www.cfd-online.com/Forums/ope...tml#post415028) 2. http://www.cfd-online.com/Forums/ope...tml#post434217 Here is the error messages I get: Code:
seif@seif-ThinkStation-E31:~/OpenFOAM/seif-2.2.2/run/tutorials/incompressible/simpleFoam/turbineSiting$ foamCalc mag U Seif |
Greetings Seif and welcome to the forum!
Try these steps:
Bruno |
Hi Bruno,
Thank you for your relpy. But, following these steps, here is the error messages I get: Code:
../FieldValueExpressionParser.yy:5499:13: note: in expansion of macro ‘sameSize’ Seif |
Hi Seif,
What does the file "make.log" have in its first 10 lines? Best regards, Bruno |
Hi Bruno,
First of all, sorry for my late reply. Here are the first 10 lines of the log file: No 'swakConfiguration'. Python etc won't work Checking swak4Foam-version and generating file Swak version is 0.2.4 Bison is version 3.0 Flex is version 2.5.35 (Minor version: 35) OpenFOAM-version: Major 2 Minor 2 Patch 2 (-1 == x) No change to swak4FoamParsers/foamVersion4swak.H SOURCE=FieldValueExpressionParser.yy ; rm -f Make/linux64GccDPOpt/FieldValueExpressionParser.C Make/linux64GccDPOpt/FieldValueExpressionParser.tab.hh; mkdir $$; cd $$; bison -ra -v -d .. Best regards, Seif |
Quote:
May I ask: which Distro installs Bison 3 by default? Or did you install it yourself from the sources? |
Greetings to all!
@Bernhard: Quote:
My guess is that Seif built Bison 3.0 from source code? Best regards, Bruno |
Quote:
BTW: just checked. The development version checks for bison3 and refuses to go further (must have put that in around the time of the above MacPorts-ticket) From my short look it seemed that the changes necessary to the swak-grammar-files would make them incompatible with bison 2.x. And as long as there is not a significant portion (5-10%) of the Linux-installations out there with bison 3.x I don't consider converting (because that would force people to hand install a bison 3.x on top of the one they already have) |
Hi Bernhard,
What do you recommend me to do? Best, Seif |
Quote:
Either using the package manager of your OS (that is preferred). If that is not possible download the sources and compile it from there (that is described in the README that comes with those sources). Only two things: use the --prefix-option of configure to "install" it to a private directory (don't overwrite the system-bison) and add the directory to the PATH before compiling. As you're using a cutting-edge distro (which distro ARE you using, by the way?) you should be comfortable with these instructions. If you're not I'd recommend using a more mainstream-distribution |
All times are GMT -4. The time now is 00:01. |