CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] build problem swak4Foam OF 2.2.0

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 18, 2013, 10:25
Default build problem swak4Foam OF 2.2.0
  #1
New Member
 
Cathelain
Join Date: Apr 2013
Posts: 11
Rep Power: 13
mcathela is on a distinguished road
I would like to apply 2nd order Stokes waves on the inlet of a wave tank.

I downloaded Swak4Foam 2.x release 0.2.3.tar.gz. I added the patch swakFixFor20x. I have (see below) after compiling Allwmake.

My first question is: this folder doesn't need to be in the "run" directory right?

I tried to implement my wave tank (I included "libOpenFOAM.so" and "libgroovyBC.so" in controlDict) and when I launch the application, it seems to be that OF can't find the librairies.

Thank you for your help

openfoam@openfoam-VirtualBox:~/OpenFOAM/openfoam-2.2.0/swak4Foam_2.x_release_0.2.1$ ./Allwmake
No 'swakConfiguration'. Python etc won't work
Checking swak4Foam-version and generating file
Traceback (most recent call last):
File "./maintainanceScripts/makeSwakVersionFile.py", line 8, in <module>
output = Popen(["hg", "branch"], stdout=PIPE).communicate()[0]
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Bison is version 2.5
Flex is version 2.5.35 (Minor version: 35)
OpenFOAM-version: Major 2 Minor 2 Patch 0
No change to swak4FoamParsers/foamVersion4swak.H
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/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/SetsRepository.o
In file included from repositories/SetsRepository.H:48:0,
from repositories/SetsRepository.C:34:
/opt/openfoam220/src/sampling/lnInclude/sampledSet.H:47:22: fatal error: coordSet.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/SetsRepository.o] Error 1
SOURCE=groovyBCFvPatchFields.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/opt/openfoam220/src/finiteVolume/lnInclude -I../swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/groovyBCFvPatchFields.o
In file included from groovyBCFvPatchField.H:48:0,
from groovyBCFvPatchFields.H:37,
from groovyBCFvPatchFields.C:36:
../swak4FoamParsers/lnInclude/PatchValueExpressionDriver.H:60:45: fatal error: PatchValueExpressionParser.tab.hh: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/groovyBCFvPatchFields.o] Error 1
SOURCE=manipulateField.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src//postProcessing/functionObjects/utilities/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/manipulateField.o
In file included from manipulateField.C:30:0:
../swak4FoamParsers/lnInclude/FieldValueExpressionDriver.H:19:45: fatal error: FieldValueExpressionParser.tab.hh: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/manipulateField.o] Error 1
SOURCE=patch/patchAverageFunctionObject/patchAverageFunctionObject.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/turbulenceModels -I/opt/openfoam220/src/transportModels -I/opt/openfoam220/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/patchAverageFunctionObject.o
In file included from lnInclude/simpleFunctionObject.H:40:0,
from lnInclude/simpleDataFunctionObject.H:40,
from lnInclude/timelineFunctionObject.H:40,
from lnInclude/patchFunctionObject.H:40,
from lnInclude/patchFieldFunctionObject.H:40,
from patch/patchAverageFunctionObject/patchAverageFunctionObject.H:40,
from patch/patchAverageFunctionObject/patchAverageFunctionObject.C:28:
/opt/openfoam220/src/OpenFOAM/lnInclude/functionObject.H: In instantiation of ‘static Foam::autoPtr<Foam::functionObject> Foam::functionObject::adddictionaryConstructorToTa ble<functionObjectType>::New(const Foam::word&, const Foam::Time&, const Foam::dictionary&) [with functionObjectType = Foam:atchAverageFunctionObject]’:
/opt/openfoam220/src/OpenFOAM/lnInclude/functionObject.H:86:9: required from ‘Foam::functionObject::adddictionaryConstructorToT able<functionObjectType>::adddictionaryConstructor ToTable(const Foam::word&) [with functionObjectType = Foam:atchAverageFunctionObject]’
patch/patchAverageFunctionObject/patchAverageFunctionObject.C:44:1: required from here
/opt/openfoam220/src/OpenFOAM/lnInclude/functionObject.H:86:9: error: cannot allocate an object of abstract type ‘Foam:atchAverageFunctionObject’
In file included from patch/patchAverageFunctionObject/patchAverageFunctionObject.C:28:0:
patch/patchAverageFunctionObject/patchAverageFunctionObject.H:51:7: note: because the following virtual functions are pure within ‘Foam:atchAverageFunctionObject’:
In file included from lnInclude/simpleFunctionObject.H:40:0,
from lnInclude/simpleDataFunctionObject.H:40,
from lnInclude/timelineFunctionObject.H:40,
from lnInclude/patchFunctionObject.H:40,
from lnInclude/patchFieldFunctionObject.H:40,
from patch/patchAverageFunctionObject/patchAverageFunctionObject.H:40,
from patch/patchAverageFunctionObject/patchAverageFunctionObject.C:28:
/opt/openfoam220/src/OpenFOAM/lnInclude/functionObject.H:164:22: note: virtual void Foam::functionObject::updateMesh(const Foam::mapPolyMesh&)
/opt/openfoam220/src/OpenFOAM/lnInclude/functionObject.H:167:22: note: virtual void Foam::functionObject::movePoints(const Foam:olyMesh&)
/opt/openfoam220/src/OpenFOAM/lnInclude/functionObject.H: In static member function ‘static Foam::autoPtr<Foam::functionObject> Foam::functionObject::adddictionaryConstructorToTa ble<functionObjectType>::New(const Foam::word&, const Foam::Time&, const Foam::dictionary&) [with functionObjectType = Foam:atchAverageFunctionObject]’:
/opt/openfoam220/src/OpenFOAM/lnInclude/functionObject.H:86:9: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [Make/linux64GccDPOpt/patchAverageFunctionObject.o] Error 1
SOURCE=EvolveSolidParticleCloudFunctionObject.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220
[...]
mcathela is offline   Reply With Quote

 

Tags
groovybc, swak4foam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] Problem with swak4Foam and OpenFOAM 2.3.1 behzad-cfd OpenFOAM Community Contributions 4 March 25, 2017 16:19
[swak4Foam] Problem with triSurface.so and swak4Foam PieterjanR OpenFOAM Community Contributions 2 November 21, 2016 09:54
OpenFOAM gcc configuration problem preacher OpenFOAM Installation 7 March 3, 2014 22:44
[swak4Foam] problem on installing swak4Foam navid2 OpenFOAM Community Contributions 2 May 30, 2012 04:32
Build problem Jeff CFX 0 July 31, 2003 13:21


All times are GMT -4. The time now is 22:53.