|
[Sponsors] |
July 23, 2013, 15:29 |
|
#41 |
Member
david
Join Date: Jun 2013
Location: Montreal, Canada
Posts: 62
Rep Power: 12 |
Thanks for your reply
Sorry gschaider, I cant understand ( Install them via the package manager of your distro) please be little brief. I am newbie
__________________
Million Thanks, David "Small Dream is a Crime" |
|
July 23, 2013, 15:56 |
|
#42 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
That is called differently in every distribution. The software you install software with (and probably also look for software with). yum, apt-get whatever (and I don't know the name of the GUIs for these. Especially not for Ubuntu)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
July 24, 2013, 13:07 |
|
#43 |
Member
david
Join Date: Jun 2013
Location: Montreal, Canada
Posts: 62
Rep Power: 12 |
Good Day gschaider,
I install openFoam 2.1 in ubuntu 11.01 in that i try to install swak4Foam, i got error like this, I follow these steps Step 1: [ svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_2.0/libraries/swak4Foam/ ], copy & paste in terminal window step 2: [ hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam ] copy & paste in terminal window upto this step it works step 3: [ hg update port_2.0.x ] copy & paste in terminal, I got error like this, toshiba@ubuntu:~/OpenFOAM/toshiba-2.1.0/swak4Foam$ hg update port_2.0.x abort: no repository found in '/home/toshiba/OpenFOAM/toshiba-2.1.0/swak4Foam' (.hg not found)! kindly let me know the step 3 is necessary? just I tried. step4: ./Allwmake --->copy & paste in terminal window, I got error like, toshiba@ubuntu:~/OpenFOAM/toshiba-2.1.0/swak4Foam$ ./Allwmake No 'swakConfiguration'. Python etc won't work Checking swak4Foam-version and generating file abort: no repository found in '/home/toshiba/OpenFOAM/toshiba-2.1.0/swak4Foam' (.hg not found)! Swak version is 0.2.4 No 'bison' found. This is absolutely essential for swak4Foam. Can't go on Requirements for Library not satisfied. I see no sense in going on toshiba@ubuntu:~/OpenFOAM/toshiba-2.1.0/swak4Foam$ Kindly help me, then next step what i have to do?
__________________
Million Thanks, David "Small Dream is a Crime" |
|
July 24, 2013, 14:13 |
|
#44 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Something like Code:
sudo apt-get install bison
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
July 24, 2013, 16:20 |
|
#45 |
Member
david
Join Date: Jun 2013
Location: Montreal, Canada
Posts: 62
Rep Power: 12 |
Thanks for your response gschaider
I install bison, but it won't work, anyhow I try my best
__________________
Million Thanks, David "Small Dream is a Crime" |
|
July 24, 2013, 18:09 |
|
#46 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Then you should get a different error. Or what do you mean with "it won't work". The README describes how to check for bison and flex
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
July 25, 2013, 02:14 |
|
#47 |
Member
david
Join Date: Jun 2013
Location: Montreal, Canada
Posts: 62
Rep Power: 12 |
Good Day gschaider,
swak4Foam, right now it works( ubuntu 11.01 with OF 2.1) I follow these commands (A) Install flex from terminal: sudo apt-get install flex (B) Install bison from terminal: sudo apt-get install bison (C) If you dont have gcc installed, you can get it using sudo apt-get install gcc
__________________
Million Thanks, David "Small Dream is a Crime" |
|
March 21, 2014, 18:16 |
|
#48 | |
Member
Yijiu Jiang
Join Date: Jan 2013
Location: Michigan, US
Posts: 49
Rep Power: 13 |
Hi Bruno,
I am also trying to install funkySetFields on my server. I found your post but stuck on the 1st step. Specifically, it showed 'svn: command not found' when I input svn checkout https://openfoam-extend.svn.sourcefo...ies/swak4Foam/ Since I am not superuser of the server, 'yum install svn' doesn't work for my case. Do you have any idea on solving this problem? Thank you! Yijiu Quote:
|
||
March 21, 2014, 18:23 |
|
#49 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
|
||
March 21, 2014, 19:06 |
|
#50 |
Member
Yijiu Jiang
Join Date: Jan 2013
Location: Michigan, US
Posts: 49
Rep Power: 13 |
Thank you Bruno! I have already downloaded the pack. I think it should be installed into FOAM_USER_LIBBIN.
What I did is: echo $FOAM_USER_LIBBIN it gave me: /home/myname/OpenFOAM/myname-2.2.0/platforms/linux64Gcc45DPOpt/lib but, there was no such directory before. Then, I created it. My question is that, is this the right path? or I have to put it into /home/myname/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64Gcc45DPOpt/lib ? What's the difference? It makes me a little bit confused... Yijiu |
|
March 22, 2014, 11:03 |
|
#51 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Yijiu,
Looks like you've never built source code in OpenFOAM. My advice is that you follow this tutorial to get to know how to build custom source code for OpenFOAM: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam Regarding swak4Foam, run these commands: Code:
mkdir -p $FOAM_RUN cd "$HOME/OpenFOAM/$USER-$WM_PROJECT_VERSION pwd And then rename the folder that was created when you unpacked the swak4Foam package, to the simpler folder name "swak4Foam". And finally, follow the instructions given here: http://openfoamwiki.net/index.php/Co...4Foam#Building Best regards, Bruno
__________________
|
|
March 22, 2014, 21:20 |
|
#52 |
Member
Yijiu Jiang
Join Date: Jan 2013
Location: Michigan, US
Posts: 49
Rep Power: 13 |
I made it as your advice. Thank you Bruno!
|
|
July 6, 2014, 10:20 |
|
#53 |
New Member
Anastasios Stampoultzoglou
Join Date: May 2014
Posts: 21
Rep Power: 12 |
Hello to everyone,
I would like to ask you a question about the installation of swak4foam. First of all, i wrote this command to the terminal : "sudo apt-get install build-essential bison flex subversion git mercurial wget", then i download the files of swak4foam and i put them into the home directory. After that, i was into the file swak4foam with :"cd swak4foam" and then i wrote the above commands: "./Allwmake > make.log 2>&1".Finally i wrote again "./Allwmake" to see if everythink is ok and i had this message;what do you think?what is the problem? Thank you Code:
Previously compiled for OpenFOAM 2.2.2 No file 'swakConfiguration'. Python etc won't work. See README for details Checking swak4Foam-version and generating file abort: no repository found in '/home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam' (.hg not found)! Swak version is 0.3.0 Bison is version 2.5 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 '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libswak4FoamParsers.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libswakLagrangianParser.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libgroovyBC.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libswakFunctionObjects.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libsimpleFunctionObjects.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libsimpleSearchableSurfaces.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libswakTopoSources.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libswakSourceFields.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libgroovyStandardBCs.so' is up to date. SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Most people are fine without it '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libswakMeshQualityFunctionPlugin.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libswakLocalCalculationsFunctionPlugin.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libswakRandomFunctionPlugin.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libswakFvcSchemesFunctionPlugin.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libswakThermoTurbFunctionPlugin.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libswakTransportTurbFunctionPlugin.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libswakVelocityFunctionPlugin.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libswakChemistryModelFunctionPlugin.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libswakRadiationModelFunctionPlugin.so' is up to date. '/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/lib/libswakCoalCloudAdaptor.so' is up to date. If you have your own function-plugins you can specify them using the SWAK_USER_PLUGINS environment variable and they would be compiled now. If you don't know what this means: don't bother. You propably don't need it make[1]: Entering directory `/home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam/Utilities/calcNonUniformOffsetsForMapped' make[1]: `/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/bin/calcNonUniformOffsetsForMapped' is up to date. make[1]: Leaving directory `/home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam/Utilities/calcNonUniformOffsetsForMapped' make[1]: Entering directory `/home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam/Utilities/fieldReport' make[1]: `/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/bin/fieldReport' is up to date. make[1]: Leaving directory `/home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam/Utilities/fieldReport' make[1]: Entering directory `/home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam/Utilities/funkyDoCalc' make[1]: `/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/bin/funkyDoCalc' is up to date. make[1]: Leaving directory `/home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam/Utilities/funkyDoCalc' SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Utility funkyPythonPostproc not compiled make[1]: Entering directory `/home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam/Utilities/funkySetBoundaryField' make[1]: `/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/bin/funkySetBoundaryField' is up to date. make[1]: Leaving directory `/home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam/Utilities/funkySetBoundaryField' make[1]: Entering directory `/home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam/Utilities/funkySetFields' make[1]: `/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/bin/funkySetFields' is up to date. make[1]: Leaving directory `/home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam/Utilities/funkySetFields' make[1]: Entering directory `/home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam/Utilities/funkySetLagrangianField' make[1]: `/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/bin/funkySetLagrangianField' is up to date. make[1]: Leaving directory `/home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam/Utilities/funkySetLagrangianField' make[1]: Entering directory `/home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam/Utilities/replayTransientBC' make[1]: `/home/tasos/OpenFOAM/tasos-2.2.2/platforms/linux64GccDPOpt/bin/replayTransientBC' is up to date. make[1]: Leaving directory `/home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam/Utilities/replayTransientBC' If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam/Libraries (most people will be fine without setting that variable) Last edited by wyldckat; July 6, 2014 at 13:49. Reason: Added [CODE][/CODE] |
|
July 6, 2014, 13:52 |
|
#54 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Tasos,
Quick answer, please read this page: http://openfoamwiki.net/index.php/In...Error_Messages If after reading that page you are still unable to figure out if the output you got is OK or not, please state what specific lines you are concerned about. Best regards, Bruno |
|
July 7, 2014, 09:30 |
|
#55 |
New Member
Anastasios Stampoultzoglou
Join Date: May 2014
Posts: 21
Rep Power: 12 |
Mr Bruno ,
First of i would like to thank you for your quick response.I read the page you told and helped me a lot, but as a very new user i am not sure about some lines. "SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Most people are fine without it" "If you have your own function-plugins you can specify them using the SWAK_USER_PLUGINS environment variable and they would be compiled now. If you don't know what this means: don't bother. You propably don't need it" "SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Utility funkyPythonPostproc not compiled" "If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam/Libraries (most people will be fine without setting that variable)" You may find some of them silly but all of these stuff are very new for me. Thanks a lot |
|
July 7, 2014, 15:54 |
|
#56 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
I didn't add more information about these lines in the wiki because:
So, to detail each line:
|
||
July 10, 2014, 14:28 |
|
#57 |
New Member
Anastasios Stampoultzoglou
Join Date: May 2014
Posts: 21
Rep Power: 12 |
Mr Bruno thank you very much, you were very helpful
|
|
October 1, 2014, 06:34 |
Illegal instruction
|
#58 |
Member
Albert Tong
Join Date: Dec 2010
Location: Perth, WA, Australia
Posts: 76
Blog Entries: 1
Rep Power: 16 |
Dear Bruno and All,
I got an Code:
Illegal instruction It seems to me the compiling process is okay. as see bellow for the second ./Allwmake; Code:
./Allwmake Previously compiled for OpenFOAM 2.2.2 No file 'swakConfiguration'. Python etc won't work. See README for details Checking swak4Foam-version and generating file Swak version is 0.3.1 Bison is version 2.7 Flex is version 2.5.35 (Minor version: 35) OpenFOAM-version: Major 2 Minor 2 Patch 2 (-1 == x / 2) No change to swak4FoamParsers/foamVersion4swak.H '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswak4FoamParsers.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswakLagrangianParser.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libgroovyBC.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswakFunctionObjects.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libsimpleFunctionObjects.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libsimpleSearchableSurfaces.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswakTopoSources.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswakSourceFields.so' is up to date. Compiling swakFvOptions '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswakFvOptions.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libgroovyStandardBCs.so' is up to date. SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Most people are fine without it '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswakMeshQualityFunctionPlugin.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswakLocalCalculationsFunctionPlugin.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswakRandomFunctionPlugin.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswakFvcSchemesFunctionPlugin.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswakThermoTurbFunctionPlugin.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswakTransportTurbFunctionPlugin.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswakVelocityFunctionPlugin.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswakChemistryModelFunctionPlugin.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswakRadiationModelFunctionPlugin.so' is up to date. '/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/lib/libswakCoalCloudAdaptor.so' is up to date. If you have your own function-plugins you can specify them using the SWAK_USER_PLUGINS environment variable and they would be compiled now. If you don't know what this means: don't bother. You propably don't need it make[1]: Entering directory `/home/albert/OpenFOAM/albert-2.2.2/applications/swak4Foam_2.x/Utilities/calcNonUniformOffsetsForMapped' make[1]: `/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/bin/calcNonUniformOffsetsForMapped' is up to date. make[1]: Leaving directory `/home/albert/OpenFOAM/albert-2.2.2/applications/swak4Foam_2.x/Utilities/calcNonUniformOffsetsForMapped' make[1]: Entering directory `/home/albert/OpenFOAM/albert-2.2.2/applications/swak4Foam_2.x/Utilities/fieldReport' make[1]: `/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/bin/fieldReport' is up to date. make[1]: Leaving directory `/home/albert/OpenFOAM/albert-2.2.2/applications/swak4Foam_2.x/Utilities/fieldReport' make[1]: Entering directory `/home/albert/OpenFOAM/albert-2.2.2/applications/swak4Foam_2.x/Utilities/funkyDoCalc' make[1]: `/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/bin/funkyDoCalc' is up to date. make[1]: Leaving directory `/home/albert/OpenFOAM/albert-2.2.2/applications/swak4Foam_2.x/Utilities/funkyDoCalc' SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Utility funkyPythonPostproc not compiled make[1]: Entering directory `/home/albert/OpenFOAM/albert-2.2.2/applications/swak4Foam_2.x/Utilities/funkySetBoundaryField' make[1]: `/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/bin/funkySetBoundaryField' is up to date. make[1]: Leaving directory `/home/albert/OpenFOAM/albert-2.2.2/applications/swak4Foam_2.x/Utilities/funkySetBoundaryField' make[1]: Entering directory `/home/albert/OpenFOAM/albert-2.2.2/applications/swak4Foam_2.x/Utilities/funkySetFields' make[1]: `/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/bin/funkySetFields' is up to date. make[1]: Leaving directory `/home/albert/OpenFOAM/albert-2.2.2/applications/swak4Foam_2.x/Utilities/funkySetFields' make[1]: Entering directory `/home/albert/OpenFOAM/albert-2.2.2/applications/swak4Foam_2.x/Utilities/funkySetLagrangianField' make[1]: `/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/bin/funkySetLagrangianField' is up to date. make[1]: Leaving directory `/home/albert/OpenFOAM/albert-2.2.2/applications/swak4Foam_2.x/Utilities/funkySetLagrangianField' make[1]: Entering directory `/home/albert/OpenFOAM/albert-2.2.2/applications/swak4Foam_2.x/Utilities/funkyWarpMesh' make[1]: `/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/bin/funkyWarpMesh' is up to date. make[1]: Leaving directory `/home/albert/OpenFOAM/albert-2.2.2/applications/swak4Foam_2.x/Utilities/funkyWarpMesh' make[1]: Entering directory `/home/albert/OpenFOAM/albert-2.2.2/applications/swak4Foam_2.x/Utilities/replayTransientBC' make[1]: `/home/albert/OpenFOAM/albert-2.2.2/platforms/crayxcGccDPOpt/bin/replayTransientBC' is up to date. make[1]: Leaving directory `/home/albert/OpenFOAM/albert-2.2.2/applications/swak4Foam_2.x/Utilities/replayTransientBC' Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.2 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.2.2-9739c53ec43f Exec : funkySetFields Date : Oct 01 2014 Time : 17:17:54 Host : "huge" PID : 64766 Case : /scratch/partner/albert/KC5 nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // swakVersion: 0.3.1 (Release date: 2014-07-11) // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // --> FOAM FATAL ERROR: funkySetFields: time/latestTime option is required From function main() in file funkySetFields.C at line 643. FOAM exiting Code:
icoFoam /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.2 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.2.2-9739c53ec43f Exec : icoFoam Date : Oct 01 2014 Time : 17:23:16 Host : "huge" PID : 3430 Case : /scratch/partner/albert/KC5 nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading transportProperties Reading field p Illegal instruction Code:
libs ( "libOpenFOAM.so" "libsimpleSwakFunctionObjects.so" "libswakFunctionObjects.so" "libgroovyBC.so" );
__________________
Kind regards, Albert |
|
October 1, 2014, 19:52 |
|
#59 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
a) removing "libOpenFOAM.so" (this is only needed for paraFoam) b) ./Allclean and ./Allwmake in swak4Foam The OF 2.2.2-installation: is that a precompiled binary or did you compile it yourself?
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
October 4, 2014, 22:50 |
|
#60 | |
Member
Albert Tong
Join Date: Dec 2010
Location: Perth, WA, Australia
Posts: 76
Blog Entries: 1
Rep Power: 16 |
Quote:
Thanks for your kind help. With steps a) and b), the problem persists. The OF2.2.2 was compiled by myself. There were some errors popped-out during installation, which never influences my daily use, but may cause the error to swak4Foam. I will try to re-install OF. Thank you.
__________________
Kind regards, Albert |
||
Tags |
swak4foam |
|
|