|
[Sponsors] |
Wmake command error while including erosion modelling |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 14, 2015, 03:06 |
Wmake command error while including erosion modelling
|
#1 |
Senior Member
|
Hi,
Please let me know if i have started the thread in the wrong place..sorry i have been following http://www.tfd.chalmers.se/~hani/kur...ing_report.pdf I am stuck at this point where he talks about editing the make file to compile the solver created by the user separately before coupling it with erosion (page 22) the wmake command is unable to locate the library which i have created separately (lkinematiclagrangianintermediate) the error given by wmake is: /usr/bin/ld: cannot find -lkinematiclagrangianintermediate Any help/hint would be very much appreciated!!!! Thank you very much I am pasting the make/file and make/options for your reference. thank you make/file Code:
pimpleKinematicFoam.C EXE = $(FOAM_USER_APPBIN)/pimpleKinematicFoam Code:
LIB_USER_SRC = $(WM_PROJECT_USER_DIR)/src EXE_INC = \ -I$(LIB_SRC)/turbulenceModels/incompressible/turbulenceModel \ -I$(LIB_SRC)/transportModels \ -I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \ -I$(LIB_SRC)/finiteVolume/lnInclude\ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/fvOptions/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude \ -I$(LIB_SRC)/lagrangian/basic/lnInclude \ -I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \ -I$(LIB_SRC)/regionModels/regionModel/lnInclude \ -I$(LIB_SRC)/lagrangian/intermediate/lnInclude \ -I$(LIB_USER_SRC)/lagrangian/intermediate/lnInclude \ -I$(LIB_SRC)/lagrangian/distributionModels/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/properties/liquidProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/properties/liquidMixtureProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/properties/solidProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/properties/solidMixtureProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/radiationModels/lnInclude \ -I$(LIB_SRC)/dynamicFvMesh/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude EXE_LIBS = \ -lincompressibleTurbulenceModel \ -lincompressibleRASModels \ -lincompressibleLESModels \ -lincompressibleTransportModels \ -lfiniteVolume \ -lmeshTools\ -lfvOptions \ -llagrangian\ -llagrangianIntermediate \ -lkinematiclagrangianintermediate \ -lthermophysicalFunctions \ -lsurfaceFilmModels \ -ldistributionModels \ -lregionModels \ -lspecie \ -lfluidThermophysicalModels \ -lliquidProperties \ -lliquidMixtureProperties \ -lsolidProperties \ -lsolidMixtureProperties \ -lreactionThermophysicalModels \ -lSLGThermo \ -lradiationModels \ -lLESdeltas \ -lcompressibleTurbulenceModel \ -lcompressibleRASModels \ -lcompressibleLESModels \ -lregionModels \ -lsurfaceFilmModels \ -ldynamicFvMesh \ -lsampling Last edited by Ananthakrishnan; July 14, 2015 at 07:14. |
|
July 14, 2015, 09:51 |
|
#2 |
Senior Member
Hassan Kassem
Join Date: May 2010
Location: Germany
Posts: 242
Rep Power: 17 |
add -L$(FOAM_USER_LIBBIN) flag to the options
Code:
EXE_LIBS = \ -L$(FOAM_USER_LIBBIN)\ |
|
July 15, 2015, 04:01 |
|
#3 |
Senior Member
|
Hi,
Thanks for the help. It still says the same thing "/usr/bin/ld: cannot find -lkinematiclagrangianintermediate" . !!!! No clue.. |
|
July 15, 2015, 04:18 |
|
#4 |
Senior Member
Hassan Kassem
Join Date: May 2010
Location: Germany
Posts: 242
Rep Power: 17 |
Could you post the files and option file for your library here?
Are you able to compile it without errors? |
|
July 15, 2015, 04:37 |
|
#5 |
Senior Member
|
Hi,
thanks a lot for your continuous help!!! ya, i am able to compile the library without any error (screen shot attached at the end of this page) make/file (Library) Code:
PARCELS=parcels BASEPARCELS=$(PARCELS)/baseClasses DERIVEDPARCELS=$(PARCELS)/derived CLOUDS=clouds BASECLOUDS=$(CLOUDS)/baseClasses DERIVEDCLOUDS=$(CLOUDS)/derived /* Cloud base classes */ $(BASECLOUDS)/kinematicCloud/kinematicCloud.C /* kinematic parcel sub-models */ KINEMATICPARCEL=$(DERIVEDPARCELS)/basicKinematicParcel $(KINEMATICPARCEL)/defineBasicKinematicParcel.C $(KINEMATICPARCEL)/makeBasicKinematicParcelSubmodels.C /* kinematic colliding parcel sub-models */ KINEMATICCOLLIDINGPARCEL=$(DERIVEDPARCELS)/basicKinematicCollidingParcel $(KINEMATICCOLLIDINGPARCEL)/defineBasicKinematicCollidingParcel.C $(KINEMATICCOLLIDINGPARCEL)/makeBasicKinematicCollidingParcelSubmodels.C submodels/Kinematic/PatchInteractionModel/LocalInteraction/patchInteractionData.C submodels/Kinematic/PatchInteractionModel/LocalInteraction/patchInteractionDataList.C KINEMATICINJECTION=submodels/Kinematic/InjectionModel $(KINEMATICINJECTION)/KinematicLookupTableInjection/kinematicParcelInjectionData.C $(KINEMATICINJECTION)/KinematicLookupTableInjection/kinematicParcelInjectionDataIO.C $(KINEMATICINJECTION)/KinematicLookupTableInjection/kinematicParcelInjectionDataIOList.C $(KINEMATICINJECTION)/PatchInjection/patchInjectionBase.C /* integration schemes */ IntegrationScheme/makeIntegrationSchemes.C /* phase properties */ phaseProperties/phaseProperties/phaseProperties.C phaseProperties/phaseProperties/phasePropertiesIO.C phaseProperties/phasePropertiesList/phasePropertiesList.C /* additional helper classes */ clouds/Templates/KinematicCloud/cloudSolution/cloudSolution.C LIB = $(FOAM_USER_LIBBIN)/libkinematiclagrangianIntermediate Code:
EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/lagrangian/basic/lnInclude \ -I$(LIB_SRC)/lagrangian/distributionModels/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/properties/liquidProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/properties/liquidMixtureProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/properties/solidProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/properties/solidMixtureProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/radiationModels/lnInclude \ -I$(LIB_SRC)/transportModels \ -I$(LIB_SRC)/regionModels/regionModel/lnInclude \ -I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \ -I$(LIB_SRC)/dynamicFvMesh/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude LIB_LIBS = \ -lfiniteVolume \ -lmeshTools \ -llagrangian \ -ldistributionModels \ -lspecie \ -lfluidThermophysicalModels \ -lliquidProperties \ -lliquidMixtureProperties \ -lsolidProperties \ -lsolidMixtureProperties \ -lreactionThermophysicalModels \ -lSLGThermo \ -lradiationModels \ -lincompressibleTransportModels \ -lregionModels \ -lsurfaceFilmModels \ -ldynamicFvMesh \ -lsampling I used wclean lib and wmake libso |
|
July 15, 2015, 05:05 |
|
#6 |
Senior Member
|
Hey Hassan,
I found the mistake (by gods grace!!!!! ) it was a exteme blunder on my part. I compiled the library with the name containing Intermediate and asked the solver to find the library with the name containing intermediate.. cant believe it.. !!!!! thanks a lot for your help hassan.. Will now continue adding erosion sorry guys for posting such mistakes on the forum!!! thanks Ananth |
|
July 15, 2015, 05:07 |
|
#7 |
Senior Member
Hassan Kassem
Join Date: May 2010
Location: Germany
Posts: 242
Rep Power: 17 |
Don't worry it happens alot
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 | flakid | OpenFOAM Installation | 16 | December 28, 2010 08:48 |
Problems Installing OF 1.6 32 bit | bucksfan | OpenFOAM Installation | 19 | August 4, 2009 01:36 |
OpenFOAM15 installables are incomplete problem with paraFoam | tryingof | OpenFOAM Bugs | 17 | December 7, 2008 04:41 |
Problem of compilation OF 14Allwmake command not found | erik_d | OpenFOAM Bugs | 13 | September 13, 2008 21:45 |
[OpenFOAM] ParaFoam error message | joey | ParaView | 1 | October 2, 2006 13:28 |