
[Sponsors] 
December 11, 2013, 18:13 

#81 
New Member
Join Date: Nov 2013
Posts: 9
Rep Power: 3 
Just to report back, I actually just made swak4Foam to work with Intel compiler. I used version 13.0 of the Intel compiler. I first built the base OpenFOAM 2.1.1 using this Intel compiler (my user specifically asked for this older version). This wasn't easy but once that was done, the only additional change I needed was to comment out in the swak4Foam Allwmake script a line switching to GNU compiler when building the utilities. There is a comment there saying:
#revert back to the default Gcc compiler, due to some problems that Icc has #with overly complex classes I found that the Intel compiler v 13.0 can build the utilities without any problem. 

December 11, 2013, 18:40 

#82  
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40 
Quote:
__________________
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 

January 5, 2014, 18:32 

#83 
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 17 
Hi dear Bernhard,I used :
Code:
svn checkout svn://svn.code.sf.net/p/openfoamextend/svn/trunk/Breeder_2.0/libraries/swak4Foam/ swak4Foam_2.x Code:
A swak4Foam_2.x/Examples/tests/testAliasesRhoPimpleFoam/constant/turbulenceProperties A swak4Foam_2.x/Examples/tests/testAliasesRhoPimpleFoam/constant/thermophysicalProperties A swak4Foam_2.x/Examples/tests/SearchableSurfaces A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/system A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/system/snappyHexMeshDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/system/fvSchemes A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/system/controlDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/system/decomposeParDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/system/fvSolution A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/constant A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/constant/polyMesh A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/constant/polyMesh/blockMeshDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/constant/dynamicMeshDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/constant/transportProperties A swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges A swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/system A swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/system/snappyHexMeshDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/system/fvSchemes A swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/system/controlDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/system/decomposeParDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/system/fvSolution A swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/constant A swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/constant/polyMesh A swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/constant/polyMesh/blockMeshDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/constant/dynamicMeshDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/constant/transportProperties A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/system A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/system/snappyHexMeshDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/system/fvSchemes A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/system/controlDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/system/decomposeParDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/system/fvSolution A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/constant A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/constant/polyMesh A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/constant/polyMesh/blockMeshDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/constant/dynamicMeshDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/constant/transportProperties A swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests A swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/system A swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/system/snappyHexMeshDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/system/fvSchemes A swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/system/controlDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/system/decomposeParDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/system/fvSolution A swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/constant A swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/constant/polyMesh A swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/constant/polyMesh/blockMeshDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/constant/dynamicMeshDict A swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/constant/transportProperties A swak4Foam_2.x/Examples/tests/pythonIntegration A swak4Foam_2.x/Examples/tests/pythonIntegration/0 A swak4Foam_2.x/Examples/tests/pythonIntegration/0/rand A swak4Foam_2.x/Examples/tests/pythonIntegration/0/randFixed A swak4Foam_2.x/Examples/tests/pythonIntegration/0/randNumpyByRef A swak4Foam_2.x/Examples/tests/pythonIntegration/0/randNumpy A swak4Foam_2.x/Examples/tests/pythonIntegration/printPaths.py A swak4Foam_2.x/Examples/tests/pythonIntegration/system A swak4Foam_2.x/Examples/tests/pythonIntegration/system/fvSchemes A swak4Foam_2.x/Examples/tests/pythonIntegration/system/controlDict A swak4Foam_2.x/Examples/tests/pythonIntegration/system/fvSolution A swak4Foam_2.x/Examples/tests/pythonIntegration/system/replayTransientBCDict A swak4Foam_2.x/Examples/tests/pythonIntegration/executePyFoam.py A swak4Foam_2.x/Examples/tests/pythonIntegration/checkMpi4Py.py A swak4Foam_2.x/Examples/tests/pythonIntegration/startMpi4Py.py A swak4Foam_2.x/Examples/tests/pythonIntegration/constant A swak4Foam_2.x/Examples/tests/pythonIntegration/constant/polyMesh A swak4Foam_2.x/Examples/tests/pythonIntegration/constant/polyMesh/boundary A swak4Foam_2.x/Examples/tests/pythonIntegration/constant/polyMesh/blockMeshDict A swak4Foam_2.x/Examples/tests/pythonIntegration/constant/transportProperties A swak4Foam_2.x/Examples/tests/pythonIntegration/executeMpi4Py.py A swak4Foam_2.x/Examples/tests/pythonIntegration/checkPythonFlu.py A swak4Foam_2.x/Examples/tests/delayedVariableChannel A swak4Foam_2.x/Examples/tests/delayedVariableChannel/0 A swak4Foam_2.x/Examples/tests/delayedVariableChannel/0/var1 A swak4Foam_2.x/Examples/tests/delayedVariableChannel/0/var2 A swak4Foam_2.x/Examples/tests/delayedVariableChannel/system A swak4Foam_2.x/Examples/tests/delayedVariableChannel/system/fvSchemes A swak4Foam_2.x/Examples/tests/delayedVariableChannel/system/controlDict A swak4Foam_2.x/Examples/tests/delayedVariableChannel/system/fvSolution A swak4Foam_2.x/Examples/tests/delayedVariableChannel/system/replayTransientBCDict A swak4Foam_2.x/Examples/tests/delayedVariableChannel/customRegexp A swak4Foam_2.x/Examples/tests/delayedVariableChannel/constant A swak4Foam_2.x/Examples/tests/delayedVariableChannel/constant/polyMesh A swak4Foam_2.x/Examples/tests/delayedVariableChannel/constant/polyMesh/blockMeshDict A swak4Foam_2.x/Examples/tests/mappingChannels A swak4Foam_2.x/Examples/tests/mappingChannels/0 A swak4Foam_2.x/Examples/tests/mappingChannels/0/T A swak4Foam_2.x/Examples/tests/mappingChannels/prepareCase.sh A swak4Foam_2.x/Examples/tests/mappingChannels/system A swak4Foam_2.x/Examples/tests/mappingChannels/system/funkySetFieldsDict A swak4Foam_2.x/Examples/tests/mappingChannels/system/fvSchemes A swak4Foam_2.x/Examples/tests/mappingChannels/system/controlDict A swak4Foam_2.x/Examples/tests/mappingChannels/system/fvSolution A swak4Foam_2.x/Examples/tests/mappingChannels/system/replayTransientBCDict A swak4Foam_2.x/Examples/tests/mappingChannels/customRegexp A swak4Foam_2.x/Examples/tests/mappingChannels/constant A swak4Foam_2.x/Examples/tests/mappingChannels/constant/polyMesh A swak4Foam_2.x/Examples/tests/mappingChannels/constant/polyMesh/blockMeshDict A swak4Foam_2.x/Examples/tests/mappingChannels/constant/transportProperties A swak4Foam_2.x/Examples/tests/APITests A swak4Foam_2.x/Examples/tests/APITests/testReadingAndWritingExpressionResults A swak4Foam_2.x/Examples/tests/APITests/testReadingAndWritingExpressionResults/testReadingAndWritingExpressionResults.C A swak4Foam_2.x/Examples/tests/APITests/testReadingAndWritingExpressionResults/Make A swak4Foam_2.x/Examples/tests/APITests/testReadingAndWritingExpressionResults/Make/files A swak4Foam_2.x/Examples/tests/APITests/testReadingAndWritingExpressionResults/Make/options A swak4Foam_2.x/Examples/tests/directionMixedBendPipe A swak4Foam_2.x/Examples/tests/directionMixedBendPipe/0 A swak4Foam_2.x/Examples/tests/directionMixedBendPipe/0/p A swak4Foam_2.x/Examples/tests/directionMixedBendPipe/0/U A swak4Foam_2.x/Examples/tests/directionMixedBendPipe/system A swak4Foam_2.x/Examples/tests/directionMixedBendPipe/system/fvSchemes A swak4Foam_2.x/Examples/tests/directionMixedBendPipe/system/controlDict A swak4Foam_2.x/Examples/tests/directionMixedBendPipe/system/fvSolution A swak4Foam_2.x/Examples/tests/directionMixedBendPipe/constant A swak4Foam_2.x/Examples/tests/directionMixedBendPipe/constant/polyMesh A swak4Foam_2.x/Examples/tests/directionMixedBendPipe/constant/polyMesh/boundary A swak4Foam_2.x/Examples/tests/directionMixedBendPipe/constant/polyMesh/blockMeshDict A swak4Foam_2.x/Examples/tests/directionMixedBendPipe/constant/transportProperties A swak4Foam_2.x/Examples/FunkySetBoundaryFields A swak4Foam_2.x/Examples/FunkySetBoundaryFields/funkySetBoundaryDict.dambreak A swak4Foam_2.x/Examples/Lagrangian A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/0 A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/0/p A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/0/T A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/0/U A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/0/mut A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/0/alphat A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/0/epsilon A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/0/k A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/system A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/system/fvSchemes A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/system/controlDict A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/system/fvSolution A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/polyMesh A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/polyMesh/boundary A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/polyMesh/blockMeshDict.m4 A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/polyMesh/blockMeshDict A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/RASProperties A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/hotParticleCloudProperties A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/turbulenceProperties A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/porousZones A swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/thermophysicalProperties A swak4Foam_2.x/Examples/Lagrangian/hotStream A swak4Foam_2.x/Examples/Lagrangian/hotStream/prepareCase.sh A swak4Foam_2.x/Examples/Lagrangian/hotStream/system A swak4Foam_2.x/Examples/Lagrangian/hotStream/system/funkySetFieldsDict A swak4Foam_2.x/Examples/Lagrangian/hotStream/system/fvSchemes A swak4Foam_2.x/Examples/Lagrangian/hotStream/system/controlDict A swak4Foam_2.x/Examples/Lagrangian/hotStream/system/fvSolution A swak4Foam_2.x/Examples/Lagrangian/hotStream/system/replayTransientBCDict A swak4Foam_2.x/Examples/Lagrangian/hotStream/constant A swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/thermo.compressibleGas A swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/injectFromTopProperties A swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/particleProperties A swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/polyMesh A swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/polyMesh/boundary A swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/polyMesh/blockMeshDict A swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/g A swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/reactions A swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/injectFromLeftProperties A swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/thermophysicalProperties A swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig A swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/p A swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/O2 A swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/mu A swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/T A swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/lagrangian A swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/lagrangian/injectSolidParticle A swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/lagrangian/injectSolidParticle/d A swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/lagrangian/injectSolidParticle/U A swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/lagrangian/injectSolidParticle/positions A swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/U A swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/H2O A swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/rhoPseudo A swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/Ydefault A swak4Foam_2.x/Examples/FiniteArea A swak4Foam_2.x/Examples/FiniteArea/swakSurfactantFoam A swak4Foam_2.x/Examples/FiniteArea/swakSurfactantFoam/createVolFields.H A swak4Foam_2.x/Examples/FiniteArea/swakSurfactantFoam/swakSurfactantFoam.C A swak4Foam_2.x/Examples/FiniteArea/swakSurfactantFoam/createFaFields.H A swak4Foam_2.x/Examples/FiniteArea/swakSurfactantFoam/Make A swak4Foam_2.x/Examples/FiniteArea/swakSurfactantFoam/Make/files A swak4Foam_2.x/Examples/FiniteArea/swakSurfactantFoam/Make/options A swak4Foam_2.x/Examples/FiniteArea/swakSurfactantFoam/createFaMesh.H A swak4Foam_2.x/Examples/FiniteArea/planeTransport A swak4Foam_2.x/Examples/FiniteArea/planeTransport/0 A swak4Foam_2.x/Examples/FiniteArea/planeTransport/0/YTransient A swak4Foam_2.x/Examples/FiniteArea/planeTransport/0/YSteady A swak4Foam_2.x/Examples/FiniteArea/planeTransport/0/Cs A swak4Foam_2.x/Examples/FiniteArea/planeTransport/0/Us A swak4Foam_2.x/Examples/FiniteArea/planeTransport/0/TTransient A swak4Foam_2.x/Examples/FiniteArea/planeTransport/0/TSteady A swak4Foam_2.x/Examples/FiniteArea/planeTransport/system A swak4Foam_2.x/Examples/FiniteArea/planeTransport/system/faSolution A swak4Foam_2.x/Examples/FiniteArea/planeTransport/system/fvSchemes A swak4Foam_2.x/Examples/FiniteArea/planeTransport/system/controlDict A swak4Foam_2.x/Examples/FiniteArea/planeTransport/system/fvSolution A swak4Foam_2.x/Examples/FiniteArea/planeTransport/system/faSchemes A swak4Foam_2.x/Examples/FiniteArea/planeTransport/customRegexp A swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant A swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant/surfactantSourceDict A swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant/polyMesh A swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant/polyMesh/boundary A swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant/polyMesh/blockMeshDict A swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant/faMesh A swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant/faMesh/faMeshDefinition A swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant/transportProperties A swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant/surfactantForceDict A swak4Foam_2.x/Examples/FiniteArea/planeTransport/Allclean A swak4Foam_2.x/Examples/FiniteArea/planeTransport/Allrun A swak4Foam_2.x/swakConfiguration.debian Checked out revision 2025. Code:
ehsan@Ehsan:/media/Education/WR_kOmegaSST$ funkySetFields funkySetFields: command not found
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. 

January 5, 2014, 18:39 

#84  
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,507
Blog Entries: 34
Rep Power: 86 
Quote:
(edit: we had a discussion about source vs binary here: installing paraview 4.0.1 post #7 to #10) Last edited by wyldckat; January 5, 2014 at 18:42. Reason: see "edit:" 

January 5, 2014, 18:48 

#85 
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 17 
thanks dear Bruno,
but its the results: Code:
ehsan@Ehsan:~/swak4Foam_2.x$ /Allwmake bash: /Allwmake: No such file or directory ehsan@Ehsan:~/swak4Foam_2.x$ wmake all No 'swakConfiguration'. Python etc won't work Checking swak4Foamversion and generating file 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 ehsan@Ehsan:~/swak4Foam_2.x$ Allwmake Allwmake: command not found Code:
Reading state information... Done The following packages were automatically installed and are no longer required: libsmdev libtorque2 libicedev libptscotch5.1 binutilsdev g++4.6 g++ libopenmpidev libreadline6dev libscotchdev libtinfodev csh blcrutil libopenmpi1.3 libxtdev openmpicheckpoint libstdc++64.6dev zlib1gdev libcr0 libnuma1 openmpibin libibverbs1 libscotch5.1 libibverbsdev mpidefaultdev openmpicommon libreadlinedev Use 'aptget autoremove' to remove them. The following extra packages will be installed: flexold Suggested packages: bison The following packages will be REMOVED: flex libfldev openfoam221 The following NEW packages will be installed: bison++ flexold 0 upgraded, 2 newly installed, 3 to remove and 222 not upgraded. Need to get 566 kB of archives. After this operation, 357 MB disk space will be freed.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. 

January 5, 2014, 18:56 

#86 
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,507
Blog Entries: 34
Rep Power: 86 
"bison++" is not used. What is used is "bison".
Installation instructions are available here: Foam warnings  related to swak4Foam post #4. You can skip the step #2, since you have already downloaded the source code. By the way, which exact OpenFOAM version are you using? edit: Never mind, it's 2.2.1. Then the instructions should work just fine.
__________________
Last edited by wyldckat; January 5, 2014 at 18:57. Reason: see "edit:" 

January 5, 2014, 19:11 

#87  
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40 
Quote:
Code:
./Allwmake Code:
wmake all Even if it is better I'm pretty sure that it won't work with the swaksources. Stick with 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 

February 21, 2014, 03:15 
Installing Swak 0.2.3 on OF 2.3

#88  
Senior Member

Hi,
I have some problems downloading the new version of swak, 0.3. Whenever I use Quote:
Quote:
Code:
In file included from repositories/MeshesRepository.H:54:0, from repositories/MeshesRepository.C:37: lnInclude/MeshInterpolationOrder.H:67:13: error: ‘order’ in ‘class Foam::meshToMesh’ does not name a type typedef meshToMesh::order value; ^ lnInclude/MeshInterpolationOrder.H:70:28: error: ‘value’ was not declared in this scope static const NamedEnum<value, 3> names; ^ lnInclude/MeshInterpolationOrder.H:70:36: error: template argument 1 is invalid static const NamedEnum<value, 3> names; ^ In file included from repositories/MeshesRepository.C:37:0: repositories/MeshesRepository.H:75:15: error: ‘order’ is not a member of ‘Foam::meshToMesh’ HashTable<meshToMesh::order,word> interpolationOrder_; ^ repositories/MeshesRepository.H:75:15: error: ‘order’ is not a member of ‘Foam::meshToMesh’ repositories/MeshesRepository.H:75:37: error: template argument 1 is invalid HashTable<meshToMesh::order,word> interpolationOrder_; ^ repositories/MeshesRepository.H:143:21: error: ‘Foam::meshToMesh::order’ has not been declared meshToMesh::order val ^ repositories/MeshesRepository.H:147:5: error: ‘order’ in ‘class Foam::meshToMesh’ does not name a type meshToMesh::order getInterpolationOrder( ^ repositories/MeshesRepository.C: In member function ‘Foam::meshToMesh& Foam::MeshesRepository::getMeshToMesh(const Foam::word&, const Foam::fvMesh&)’: repositories/MeshesRepository.C:239:14: error: no matching function for call to ‘Foam::meshToMesh::meshToMesh(Foam::fvMesh&, const Foam::fvMesh&)’ ) ^ repositories/MeshesRepository.C:239:14: note: candidates are: In file included from repositories/MeshesRepository.H:52:0, from repositories/MeshesRepository.C:37: /opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:242:5: note: Foam::meshToMesh::meshToMesh(const Foam::polyMesh&, const Foam::polyMesh&, const Foam::meshToMesh::interpolationMethod&, const Foam::HashTable<Foam::word>&, const wordList&) meshToMesh ^ /opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:242:5: note: candidate expects 5 arguments, 2 provided /opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:232:5: note: Foam::meshToMesh::meshToMesh(const Foam::polyMesh&, const Foam::polyMesh&, const Foam::meshToMesh::interpolationMethod&, bool) meshToMesh ^ /opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:232:5: note: candidate expects 4 arguments, 2 provided /opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:219:9: note: Foam::meshToMesh::meshToMesh(const Foam::meshToMesh&) meshToMesh(const meshToMesh&); ^ /opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:219:9: note: candidate expects 1 argument, 2 provided repositories/MeshesRepository.C: In member function ‘Foam::scalar Foam::MeshesRepository::setTime(const Foam::word&, Foam::scalar, Foam::label)’: repositories/MeshesRepository.C:299:59: error: no matching function for call to ‘Foam::HashTable<const Foam::regIOobject*>::HashTable(Foam::HashTable<Foam::regIOobject*>)’ regIOTable content(mesh.lookupClass<regIOobject>()); ^ repositories/MeshesRepository.C:299:59: note: candidates are: In file included from /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.H:555:0, from /opt/openfoam230/src/OpenFOAM/lnInclude/HashPtrTable.H:39, from /opt/openfoam230/src/OpenFOAM/lnInclude/PtrMap.H:38, from repositories/MeshesRepository.H:50, from repositories/MeshesRepository.C:37: /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:79:1: note: Foam::HashTable<T, Key, Hash>::HashTable(const Foam::Xfer<Foam::HashTable<T, Key, Hash> >&) [with T = const Foam::regIOobject*; Key = Foam::word; Hash = Foam::string::hash] Foam::HashTable<T, Key, Hash>::HashTable ^ /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:79:1: note: no known conversion for argument 1 from ‘Foam::HashTable<Foam::regIOobject*>’ to ‘const Foam::Xfer<Foam::HashTable<const Foam::regIOobject*> >&’ /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:55:1: note: Foam::HashTable<T, Key, Hash>::HashTable(const Foam::HashTable<T, Key, Hash>&) [with T = const Foam::regIOobject*; Key = Foam::word; Hash = Foam::string::hash] Foam::HashTable<T, Key, Hash>::HashTable(const HashTable<T, Key, Hash>& ht) ^ /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:55:1: note: no known conversion for argument 1 from ‘Foam::HashTable<Foam::regIOobject*>’ to ‘const Foam::HashTable<const Foam::regIOobject*>&’ In file included from /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:612:0, from /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.H:555, from /opt/openfoam230/src/OpenFOAM/lnInclude/HashPtrTable.H:39, from /opt/openfoam230/src/OpenFOAM/lnInclude/PtrMap.H:38, from repositories/MeshesRepository.H:50, from repositories/MeshesRepository.C:37: /opt/openfoam230/src/OpenFOAM/lnInclude/HashTableIO.C:33:1: note: Foam::HashTable<T, Key, Hash>::HashTable(Foam::Istream&, Foam::label) [with T = const Foam::regIOobject*; Key = Foam::word; Hash = Foam::string::hash; Foam::label = int] Foam::HashTable<T, Key, Hash>::HashTable(Istream& is, const label size) ^ /opt/openfoam230/src/OpenFOAM/lnInclude/HashTableIO.C:33:1: note: no known conversion for argument 1 from ‘Foam::HashTable<Foam::regIOobject*>’ to ‘Foam::Istream&’ In file included from /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.H:555:0, from /opt/openfoam230/src/OpenFOAM/lnInclude/HashPtrTable.H:39, from /opt/openfoam230/src/OpenFOAM/lnInclude/PtrMap.H:38, from repositories/MeshesRepository.H:50, from repositories/MeshesRepository.C:37: /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:35:1: note: Foam::HashTable<T, Key, Hash>::HashTable(Foam::label) [with T = const Foam::regIOobject*; Key = Foam::word; Hash = Foam::string::hash; Foam::label = int] Foam::HashTable<T, Key, Hash>::HashTable(const label size) ^ /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:35:1: note: no known conversion for argument 1 from ‘Foam::HashTable<Foam::regIOobject*>’ to ‘Foam::label {aka int}’ repositories/MeshesRepository.C: At global scope: repositories/MeshesRepository.C:322:17: error: ‘Foam::meshToMesh::order’ has not been declared meshToMesh::order val ^ repositories/MeshesRepository.C: In member function ‘void Foam::MeshesRepository::setInterpolationOrder(const Foam::word&, int)’: repositories/MeshesRepository.C:325:25: error: request for member ‘set’ in ‘((Foam::MeshesRepository*)this)>Foam::MeshesRepository::interpolationOrder_’, which is of nonclass type ‘int’ interpolationOrder_.set(name,val); ^ repositories/MeshesRepository.C: At global scope: repositories/MeshesRepository.C:328:1: error: ‘order’ in ‘class Foam::meshToMesh’ does not name a type meshToMesh::order MeshesRepository::getInterpolationOrder( ^ make: *** [Make/linux64GccDPOpt/MeshesRepository.o] Error 1 Parser library did not compile OK. No sense continuing as everything else depends on it Requirements for Library not satisfied. I see no sense in going on Best wishes P.S: Uncommenting #define FOAM_LOOKUPCLASS_NO_CONST didn't work.
__________________
Complex Heat & Flow Simulation Research Group If you can't explain it simply, you don't understand it well enough. "Richard Feynman" 

February 21, 2014, 05:37 

#89  
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40 
Quote:
Concerning the compilation error: you don't say which OFversion you use. Probably one that is too new for the old swakversion
__________________
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 

February 21, 2014, 10:29 

#90  
Senior Member

Quote:
Unfortunately there is no link to download the tarball for that specific folder. There is a link named download snapshop which downloads the whole SVN. Well, I use the latest version of OpenFOAM, which is 2.3. Is it possible to upload the mentioned tarball here to download? With all the best.
__________________
Complex Heat & Flow Simulation Research Group If you can't explain it simply, you don't understand it well enough. "Richard Feynman" 

February 21, 2014, 17:32 

#91  
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,507
Blog Entries: 34
Rep Power: 86 
Greetings to all!
@Mojtaba: Quote:
The problem might be that these two links use the HTTPS protocol, which you might not be able to access from Iran. If they don't work for you, let us know. In the mean time, the following command should work without any problems: Code:
svn checkout http://svn.code.sf.net/p/openfoamextend/svn/trunk/Breeder_2.0/libraries/swak4Foam/ swak4Foam_2.x Oh, by the way, I think swak4Foam 0.3.0 doesn't support yet OpenFOAM 2.3.0. This was reported here: http://sourceforge.net/apps/mantisbt...iew.php?id=209 Best regards, Bruno
__________________


February 22, 2014, 03:00 

#92  
Senior Member

Quote:
Well HTTPS protocols worked just fine, Thanks. But the second SVN link with HTTP protocol gave the same error. Thank you for your information about the compatibility issues. I will try using OF 2.2 to continue. Gschnaider, Thanks to you, too. With all the best. Mojtaba.
__________________
Complex Heat & Flow Simulation Research Group If you can't explain it simply, you don't understand it well enough. "Richard Feynman" 

February 22, 2014, 12:07 

#93  
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40 
Quote:
http://sourceforge.net/p/openfoamex...ies/swak4Foam/ (that is the last release) and http://sourceforge.net/p/openfoamex...rt_2.0.x/tree/ (this is the head of the 2.xbranch)
__________________
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 

February 26, 2014, 04:48 
swak4foam and openfoam2.3

#94 
Member
Daniel Pielmeier
Join Date: Apr 2012
Posts: 96
Rep Power: 5 
Just want to say thank you for quickly adapting swak4foam to openfoam2.3.x. port_2.0.x compiles and works fine for my use cases here.


February 26, 2014, 12:34 

#95 
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40 
Thanks for the feedback. Your cases don't involve the LagrangianParser, simpleSearchableSurfaces or meshToMeshinterpolation I suppose? These are the regions which still need testing because they changed most
__________________
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 

February 26, 2014, 13:09 

#96 
Member
Daniel Pielmeier
Join Date: Apr 2012
Posts: 96
Rep Power: 5 
You are right I just did some quick tests which involved the use of libsimpleSwakFunctionObjects and libgroovyBC.


February 27, 2014, 05:29 

#97 
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 154
Rep Power: 7 
Hi Billie,
Can I ask you where you downloaded the version of swak ? I tried this one : Code:
hg clone http://hg.code.sf.net/p/openfoamextend/swak4Foam openfoamextendswak4Foam EDIT : Ok for the record : Code:
cd openfoamextendswak4Foam hg update port_2.0.x ./Allwmake 

February 27, 2014, 05:45 

#98  
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40 
Quote:
__________________
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 

February 27, 2014, 06:23 

#99 
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 154
Rep Power: 7 
Well I'm not sure if it's really errors or just standard outputs since it does compile at the end (everything "up to date at the second launch of Allwmake).
The errors are all like : Code:
Making dependency list for source file swakExplicitSources.C could no open file directMappedFvPatch.H for source file swakExplicitSources.C due to No such file or directory (...) 

February 27, 2014, 13:09 

#100  
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40 
Quote:
__________________
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 

Tags 
compile error, swak4foam 
Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
swak4foam  newbie29  OpenFOAM Installation  82  July 18, 2015 17:16 
groovyBC and funkySetFields married and got a kid named swak4Foam  gschaider  OpenFOAM  164  January 13, 2015 03:52 
Installing swak4Foam to OpenFOAM in mac  Kaquesang  OpenFOAM Installation on Windows, Mac and other Unsupported Platforms  22  January 21, 2013 12:51 
About installation of swak4Foam  mmkr825  OpenFOAM Programming & Development  10  December 14, 2012 02:24 
swak4Foam for calculating velocity transformations  santoshgoku  OpenFOAM  4  June 20, 2012 05:39 