|
[Sponsors] |
November 11, 2011, 13:36 |
|
#21 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
||
November 11, 2011, 14:02 |
|
#22 |
Member
|
sorry bernhard I don't know how to add ! where is the directory make/options? and also ltrisurface and lsampling libraries?
|
|
November 12, 2011, 07:53 |
|
#23 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all,
I had an openSUSE 11.4 x86_64 installed in a virtual machine (VM) so I had a go at it:
Soooo... I wasn't able to reproduce Mohammad's problem Therefore, Mohammad, please try the instructions I've written down. Best regards, Bruno
__________________
|
|
November 12, 2011, 08:52 |
the same error even with your method
|
#24 |
Member
|
Dear wyldckat
I did step 4 to 7. but I faced the same problem as can be seen in the log file. |
|
November 12, 2011, 09:20 |
|
#25 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Mohammad,
According to the log:
Code:
foam git pull wcleanAll export WM_NCOMPPROCS=4 ./Allwmake > make.log 2>&1 And do the commands in step #2 just in case something might be missing. Best regards, Bruno
__________________
|
|
January 16, 2012, 13:30 |
|
#26 |
New Member
Hugo
Join Date: Jan 2011
Location: Montreal
Posts: 27
Rep Power: 15 |
Hi all,
I am having some problems to build swak4Foam in OF 1.6 (Ubuntu Maverick) which I can't figure out. I attach the log file. I know that the easiest would probably be to use a newer version of OF (I actually compiled swak4Foam in OF 1.7.1, OS X 10.6.7, without problems) but our cluster has 1.6. Any experience building in OF 1.6? I have not seen threads claiming success building with OF lower than 1.6.ext . Any help is very appreciated, Hugo |
|
January 16, 2012, 15:57 |
|
#27 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
You could try to replace that method-call with subDict (same parameter). If you're luck it will compile (you may have to insert some empty dictionaries called "value" in some parameter files) but I don't promise anything. Another solution would be to go back to an older version of swak. The feature that breaks your compilation was introduced one or two versions back. |
||
January 16, 2012, 17:28 |
|
#28 |
New Member
Hugo
Join Date: Jan 2011
Location: Montreal
Posts: 27
Rep Power: 15 |
Thanks Bernhard! I wish I could get this faster though, I don't understand exactly how I can change the method like you say. Could you please be more specific?
As for the older versions, after a quick check of the project page I can't find a link to older versions. Where could I get them? Best regards, Hugo |
|
January 17, 2012, 08:40 |
|
#29 | ||
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Quote:
Clone the development repository: hg clone http://openfoam-extend.hg.sourceforg...tend/swak4Foam go into that directory cd swak4Foam List the available tags hg tags Try to update to one of the older releases hg update release2011-04-20 and compile as usual. There is a similar way with the SVN-version but it is not as straightforward |
|||
January 17, 2012, 16:27 |
|
#30 | |
New Member
Hugo
Join Date: Jan 2011
Location: Montreal
Posts: 27
Rep Power: 15 |
Quote:
On a side note, in the wiki page of swak, the link to your presentation at the last OF workshop is broken. Those slides have been of great source of documentation to learn how to use swak4Foam, at least for me (actually all the links to the workshop program appear to be broken in the website of the workshop). It would be a shame not to be able to see the talk anymore. thanks for such a great tool! Best regards, |
||
January 17, 2012, 20:32 |
|
#31 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Bernhard PS: Greetings to Karl, the Posting Policeman, who makes sure that nothing is posted after curfew |
||
February 9, 2012, 17:35 |
|
#32 |
New Member
Hugo
Join Date: Jan 2011
Location: Montreal
Posts: 27
Rep Power: 15 |
After solving the building problem above (thanks Bernhard), I dare to pollute this threat with a question about the use and capabilities of swak: I want to sample data from a particular region of my domain, the main problem is that sampleDict does not allow to use expressions. In my case, I want to sample a plane of a certain radius within my domain. I try to use cellSet to define a zone using an expression (thanks to the use of swakTopoSources library) but apparently the sample utility does not recognize this set definition (I know I am assuming that a Set is equal to a Zone here though, but I cannot find how to convert one into the other either).
Is there any way to do this with swak in post processing? since funkyDoCalc uses the "accumulations" entry, it seems that I cannot get the value of a variable for each cell, but only the max, min, average or sum. any ideas? thanks, Hugo |
|
February 9, 2012, 19:36 |
|
#33 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
- this can produce huge files - the order of the elements may be non-intuitive. Have to write for instance the cell-centers with a separate expression and join these two files to do some reasonable postprocessing - it is not very well tested - it does not work in parallel (I think) BTW: about your "how do I convert a set to a zone": if I tell you that there is a utility called setsToZones how long does it take you till you shout "That's too easy"? |
||
February 10, 2012, 12:47 |
|
#34 | ||
New Member
Hugo
Join Date: Jan 2011
Location: Montreal
Posts: 27
Rep Power: 15 |
Quote:
Anyways, I just tried defining the region of interest using an expression in cellSet, converting the set to a zone and using sampleDict with the "zone" option (I still use OF 1.6 so it also took me some time to realize that there was an ill-defined "zoneName" in the dictionary). This method works as I only needed to sample over a plane, but what if I wanted to sample over a volume? many planes? sounds to me like swak can do this (which you already answered) Still, there is an interesting result I get when I try to obtain the average (or min, max, sum) of a field over an arbitrary region using funkyDoCalc. For example, in my funkyDoCalcDict I define: Code:
TKE_AV { type swakExpression; valueType cellSet; setName averagingRegion; variables ( "TKE{cellSet'averagingRegion}=0.5*pow(mag(U-UMean),2);" ); expression "sum(mag(TKE)*vol())/sum(vol())"; accumulations ( min ); verbose true; } Code:
Time = 66 TKE : swak4Foam: Allocating new repository for sampledGlobalVariables --> FOAM Warning : From function ExpressionResult::getUniformInternal(const label size,bool noWarn) in file ExpressionResultI.H at line 158 The minimum value 5.47109e-09 and the maximum 0.106011 differ. I will use the average 0.00403377 max=0.00403377 min=0.00403377 average=0.00403377 End Quote:
thanks Bernhard, Hugo |
|||
February 13, 2012, 19:23 |
|
#35 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
"TKE{cellSet'averagingRegion}=0.5*pow(mag(U-UMean),2);" the parser assumed that you're transferring the result to another entity and it can only do this uniformly (therefor the average). As you're calculating on the same entity if you write the variable as "TKE=0.5*pow(mag(U-UMean),2);" everything should be good. About the UMean: that is not defined in the dictionaries you posted, is it? Therefor I won't comment on that. Have look if the change above gives you the expected behaviour Seems that your reflexes are OK Bernhard |
||
September 17, 2012, 18:51 |
dumpSwakExpression in parallel
|
#36 | |
Member
Ganesh Vijayakumar
Join Date: Jan 2010
Posts: 44
Rep Power: 16 |
Quote:
ganesh |
||
September 17, 2012, 20:02 |
|
#37 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
One possibility would be to write out the coordinates of the cellZones (for instance using the dumpSwakExpression) and then edit them into a sampleDict where you use the cloud type with these coordinates (that would be a way to do it without programming)
__________________
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 26, 2013, 11:03 |
swak4foam compilation problem
|
#38 |
New Member
Join Date: Feb 2012
Posts: 5
Rep Power: 14 |
Hello community,
I'm trying to compile swak4foam for OF2.1 on my RHEL 6.4 machine. I pasted in the log below. Has anyone of you experienced something similar? Is this message: could not open file FieldValueExpressionParser.tab.hh for source file FieldValueExpressionLexer.ll the beginning of the problem or is this optional? I was able to install the 1.7 version a while ago without problems. For now we have to switch to the 1.7 environment to use swak4foam. Any ideas are very welcome. Regards, Luk Code:
No 'swakConfiguration'. Python etc won't work Checking swak4Foam-version and generating file /home/panek01l/OpenFOAM/Swak4Foam_2.x_release_0.2.3/Libraries Bison is version 2.4.1 Flex is version 2.5.35 (Minor version: 35) OpenFOAM-version: Major 2 Minor 1 Patch -1 (-1 == x) No swak4FoamParsers/foamVersion4swak.H. Generated /home/panek01l/OpenFOAM/Swak4Foam_2.x_release_0.2.3/Libraries/swak4FoamParsers /home/panek01l/OpenFOAM/Swak4Foam_2.x_release_0.2.3/Libraries/swak4FoamParsers/Make /home/panek01l/OpenFOAM/Swak4Foam_2.x_release_0.2.3/Libraries/swak4FoamParsers/Make/linux64GccDPOpt wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file ExpressionResult/ExpressionResult.C Making dependency list for source file ExpressionDriverWriter.C Making dependency list for source file namedEnums/NumericAccumulationNamedEnum.C Making dependency list for source file repositories/SurfacesRepository.C Making dependency list for source file repositories/GlobalVariablesRepository.C Making dependency list for source file namedEnums/LogicalAccumulationNamedEnum.C Making dependency list for source file repositories/SetsRepository.C Making dependency list for source file helpers/printSwakVersion.C Making dependency list for source file ExpressionResult/StoredExpressionResult.C Making dependency list for source file ExpressionResult/DelayedExpressionResult.C Making dependency list for source file setsAndSurfaces/swakRegistryProxySurface.C Making dependency list for source file setsAndSurfaces/swakRegistryProxySet.C Making dependency list for source file FieldValueExpressionParser.yy Making dependency list for source file PatchValueExpressionParser.yy Making dependency list for source file SubsetValueExpressionParser.yy Making dependency list for source file CommonValueExpressionDriver.C Making dependency list for source file makeSwakDataEntry.C Making dependency list for source file FieldValueExpressionLexer.ll could not open file FieldValueExpressionParser.tab.hh for source file FieldValueExpressionLexer.ll Making dependency list for source file FieldValueExpressionDriver.C could not open file FieldValueExpressionParser.tab.hh for source file FieldValueExpressionDriver.C Making dependency list for source file PatchValueExpressionLexer.ll Making dependency list for source file PatchValueExpressionDriver.C could not open file FieldValueExpressionParser.tab.hh for source file FieldValueExpressionParser.yy could not open file SubsetValueExpressionParser.tab.hh for source file SubsetValueExpressionParser.yy could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionParser.yy could not open file directMappedWallFvPatch.H for source file FieldValueExpressionLexer.ll could not open file directMappedWallFvPatch.H for source file FieldValueExpressionParser.yy could not open file directMappedWallFvPatch.H for source file PatchValueExpressionDriver.C could not open file directMappedPointPatch.H for source file FieldValueExpressionParser.yy could not open file directMappedPointPatch.H for source file FieldValueExpressionLexer.ll could not open file directMappedPointPatch.H for source file PatchValueExpressionDriver.C could not open file directMappedPointPatch.H for source file FieldValueExpressionDriver.C could not open file SubsetValueExpressionParser.tab.hh for source file SampledSetValueExpressionDriver.C could not open file FixedValuePointPatchField.H for source file FieldValueExpressionParser.yy could not open file FixedValuePointPatchField.H for source file FieldValueExpressionLexer.ll could not open file FixedValuePointPatchField.H for source file PatchValueExpressionDriver.C could not open file ZeroGradientPointPatchField.H for source file FieldValueExpressionParser.yy could not open file FixedValuePointPatchField.H for source file FieldValueExpressionDriver.C could not open file ZeroGradientPointPatchField.H for source file PatchValueExpressionDriver.C could not open file ZeroGradientPointPatchField.H for source file FieldValueExpressionDriver.C could not open file CalculatedPointPatchField.H for source file PatchValueExpressionDriver.C could not open file CalculatedPointPatchField.H for source file FieldValueExpressionDriver.C Making dependency list for source file plugins/CellSetValuePluginFunction.C Making dependency list for source file plugins/CellZoneValuePluginFunction.C Making dependency list for source file plugins/FaceSetValuePluginFunction.C could not open file PatchValueExpressionParser.tab.hh for source file plugins/PatchValuePluginFunction.C could not open file FieldValueExpressionParser.tab.hh for source file plugins/FieldValuePluginFunction.C could not open file directMappedPatchBase.H for source file plugins/PatchValuePluginFunction.C could not open file SubsetValueExpressionParser.tab.hh for source file PatchValueExpressionDriver.C could not open file directMappedFvPatch.H for source file plugins/FieldValuePluginFunction.C could not open file directMappedWallFvPatch.H for source file plugins/FieldValuePluginFunction.C could not open file directMappedPointPatch.H for source file plugins/FieldValuePluginFunction.C could not open file FixedValuePointPatchField.H for source file plugins/FieldValuePluginFunction.C could not open file ZeroGradientPointPatchField.H for source file plugins/FieldValuePluginFunction.C could not open file CalculatedPointPatchField.H for source file plugins/FieldValuePluginFunction.C Making dependency list for source file plugins/FaceZoneValuePluginFunction.C Making dependency list for source file plugins/SampledSetValuePluginFunction.C Making dependency list for source file plugins/SampledSurfaceValuePluginFunction.C could not open file SubsetValueExpressionParser.tab.hh for source file plugins/CellSetValuePluginFunction.C could not open file SubsetValueExpressionParser.tab.hh for source file plugins/CellZoneValuePluginFunction.C could not open file SubsetValueExpressionParser.tab.hh for source file plugins/FaceSetValuePluginFunction.C could not open file SubsetValueExpressionParser.tab.hh for source file plugins/FaceZoneValuePluginFunction.C could not open file SubsetValueExpressionParser.tab.hh for source file plugins/SampledSetValuePluginFunction.C could not open file SubsetValueExpressionParser.tab.hh for source file plugins/SampledSurfaceValuePluginFunction.C SOURCE=helpers/printSwakVersion.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/triSurface/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/surfMesh/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/printSwakVersion.o SOURCE=repositories/SurfacesRepository.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/triSurface/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/surfMesh/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/SurfacesRepository.o SOURCE=repositories/MeshesRepository.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/triSurface/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/surfMesh/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/MeshesRepository.o SOURCE=repositories/SetsRepository.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/triSurface/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/surfMesh/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/SetsRepository.o SOURCE=repositories/GlobalVariablesRepository.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/triSurface/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/surfMesh/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/GlobalVariablesRepository.o SOURCE=namedEnums/MeshInterpolationOrder.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/triSurface/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/surfMesh/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/MeshInterpolationOrder.o SOURCE=namedEnums/LogicalAccumulationNamedEnum.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/triSurface/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/surfMesh/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/LogicalAccumulationNamedEnum.o SOURCE=namedEnums/NumericAccumulationNamedEnum.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/triSurface/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/surfMesh/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/NumericAccumulationNamedEnum.o SOURCE=ExpressionDriverWriter.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/triSurface/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/surfMesh/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/ExpressionDriverWriter.o SOURCE=ExpressionResult/ExpressionResult.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/triSurface/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/surfMesh/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/ExpressionResult.o In file included from /home/panek01l/OpenFOAM/ThirdParty-2.1.x/platforms/linux64/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/localefwd.h:42:0, from /home/panek01l/OpenFOAM/ThirdParty-2.1.x/platforms/linux64/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../include/c++/4.6.2/string:45, from /home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/string.H:51, from /home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/word.H:42, from /home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/int.H:39, from /home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/label.H:61, from /home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/HashTable.H:47, from /home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/NamedEnum.H:38, from namedEnums/NumericAccumulationNamedEnum.H:48, from namedEnums/NumericAccumulationNamedEnum.C:37: /home/panek01l/OpenFOAM/ThirdParty-2.1.x/platforms/linux64/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../include/c++/4.6.2/x86_64-unknown-linux-gnu/bits/c++locale.h:53:23: error: 'uselocale' was not declared in this scope ressionResult/ExpressionResult.C:37: /home/panek01l/OpenFOAM/ThirdParty-2.1.x/platforms/linux64/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../include/c++/4.6.2/x86_64-unknown-linux-gnu/bits/c++locale.h:53:23: error: 'uselocale' was not declared in this scope ... similar messages about uselocale ... make: *** [Make/linux64GccDPOpt/LogicalAccumulationNamedEnum.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Make/linux64GccDPOpt/printSwakVersion.o] Error 1 make: *** [Make/linux64GccDPOpt/NumericAccumulationNamedEnum.o] Error 1 In file included from /usr/include/stdio.h:929:0, from /home/panek01l/OpenFOAM/ThirdParty-2.1.x/platforms/linux64/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../include/c++/4.6.2/cstdio:44, from /home/panek01l/OpenFOAM/ThirdParty-2.1.x/platforms/linux64/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../include/c++/4.6.2/fstream:43, from /home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/OFstream.H:42, from /home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude/writer.C:28, from /home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude/writer.H:207, from repositories/SetsRepository.C:38: /usr/include/bits/stdio.h: In function '__ssize_t getline(char**, size_t*, FILE*)': /usr/include/bits/stdio.h:118:52: error: '__getdelim' was not declared in this scope ExpressionResult/ExpressionResult.C: In member function 'void Foam::ExpressionResult::uglyDelete()': ExpressionResult/ExpressionResult.C:216:20: warning: deleting 'void*' is undefined [enabled by default] make: *** [Make/linux64GccDPOpt/GlobalVariablesRepository.o] Error 1 make: *** [Make/linux64GccDPOpt/ExpressionResult.o] Error 1 make: *** [Make/linux64GccDPOpt/SetsRepository.o] Error 1 In file included from /usr/include/stdio.h:929:0, from /home/panek01l/OpenFOAM/ThirdParty-2.1.x/platforms/linux64/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../include/c++/4.6.2/cstdio:44, from /home/panek01l/OpenFOAM/ThirdParty-2.1.x/platforms/linux64/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../include/c++/4.6.2/fstream:43, from /home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/IFstream.H:42, from /home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/interpolationTable.C:27, from /home/panek01l/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/interpolationTable.H:182, from CommonValueExpressionDriver.H:50, from ExpressionDriverWriter.C:39: /usr/include/bits/stdio.h: In function '__ssize_t getline(char**, size_t*, FILE*)': /usr/include/bits/stdio.h:118:52: error: '__getdelim' was not declared in this scope make: *** [Make/linux64GccDPOpt/MeshInterpolationOrder.o] Error 1 make: *** [Make/linux64GccDPOpt/SurfacesRepository.o] Error 1 make: *** [Make/linux64GccDPOpt/MeshesRepository.o] Error 1 make: *** [Make/linux64GccDPOpt/ExpressionDriverWriter.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 |
|
July 29, 2013, 13:53 |
|
#39 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Anyway. The parallel calling of compilers mixes the error messages which makes it hard to analyze them. Switch of parallel compilation with Code:
export WM_NCOMPPROCS=1
__________________
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 29, 2013, 19:02 |
|
#40 |
Senior Member
Join Date: Mar 2013
Location: USA
Posts: 120
Rep Power: 13 |
Hello Bernhard,
I have a question about groovyBC. With groovyBC, is it possible to define the wave direction and the current direction different than each other? I am trying to model a boat traveling through waves (wave speed) with constant speed (boat speed). I want to see the performance of the boat with waves coming from different directions in different cases, so I need to define the direction of the waves and the current directions different than each other. Is it possible to do that with groovyBC? If yes, do you know a tutorial/example that I can go through? Thank you very much for your help in advance, Best, kilroy |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with building 3ddp UDF in Ansys FLUENT 16.2 | SPH_CFD | Fluent UDF and Scheme Programming | 1 | July 20, 2016 05:08 |
[swak4Foam] Foam-extend-3.2 and swak4foam...problem with link to triSurface | ndev | OpenFOAM Community Contributions | 7 | February 14, 2016 17:00 |
[swak4Foam] problem with a parabolic velocity profile | Claudio87 | OpenFOAM Community Contributions | 5 | May 29, 2014 10:30 |
[swak4Foam] installation problem with version 0.2.3 | Claudio87 | OpenFOAM Community Contributions | 9 | May 8, 2013 11:20 |
problem simulating flow around a building | xavier | FLUENT | 5 | January 3, 2007 06:16 |