CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Colliding Coal Cloud in coalCollidingChemistryFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree10Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2016, 00:46
Default
  #21
Member
 
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10
chpjz0391 is on a distinguished road
Quote:
Originally Posted by Polli View Post
Hi all,

according to this posting and that ( http://www.cfd-online.com/Forums/ope...dingcloud.html ) i tried to implement the collission model into the coalChemitryFoam or reactingParcelFoam

In which OF version was the solver from "cmigueis" developed? When i want to compile the solver it is without success.

So i tried to do the modifications in OF3.0.0 which were not the big deal, the modified basicKinematicReactingMulitphaseCloud compiled. But when i want to compile the solver with the new parcel cloud type i have a big problem (the errorcode is in the appendix).

So can you tell me in which version the solver from cmigueis is developed or can someone give me his now running version with the collission model?

At my error output at solver compilation there seems to be a linking error but i cant find the reason. The whole modified lagrangian folder compiles without errors, as long as i do not implement the collission model into the basicKinematicReactingMulitphase Parcel and Cloud the solver compiles. When i implement the collission model the lagrangian folder compiles but the solver makes the following output.


Making dependency list for source file reactingParcelFoam.C
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/finiteVolume/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/meshTools/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/TurbulenceModels/compressible/lnInclude -I./lagrangian/basic/lnInclude -I./lagrangian/DSMC/lnInclude -I./lagrangian/solidParticle/lnInclude -I./lagrangian/spray/lnInclude -I./lagrangian/turbulence/lnInclude -I./lagrangian/intermediate/lnInclude -I./lagrangian/coalCombustion/lnInclude -I./lagrangian/distributionModels/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/specie/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/transportModels/compressible/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/basic/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/properties/solidProperties/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/thermophysicalFunctions/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/reactionThermo/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/SLGThermo/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/chemistryModel/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/radiation/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/ODE/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/regionModels/regionModel/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/regionModels/surfaceFilmModels/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/combustionModels/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/fvOptions/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/sampling/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/applications/solvers/combustion/reactingFoam -IlnInclude -I. -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/OSspecific/POSIX/lnInclude -fPIC -c reactingParcelFoam.C -o Make/linux64GccDPInt32Opt/reactingParcelFoam.o
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/finiteVolume/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/meshTools/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/TurbulenceModels/compressible/lnInclude -I./lagrangian/basic/lnInclude -I./lagrangian/DSMC/lnInclude -I./lagrangian/solidParticle/lnInclude -I./lagrangian/spray/lnInclude -I./lagrangian/turbulence/lnInclude -I./lagrangian/intermediate/lnInclude -I./lagrangian/coalCombustion/lnInclude -I./lagrangian/distributionModels/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/specie/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/transportModels/compressible/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/basic/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/properties/solidProperties/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/thermophysicalFunctions/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/reactionThermo/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/SLGThermo/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/chemistryModel/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/radiation/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/ODE/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/regionModels/regionModel/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/regionModels/surfaceFilmModels/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/combustionModels/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/fvOptions/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/sampling/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/applications/solvers/combustion/reactingFoam -IlnInclude -I. -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt32Opt/reactingParcelFoam.o -L/home/TPT-Sim7/foam/OpenFOAM-3.0.0/platforms/linux64GccDPInt32Opt/lib \
-lfiniteVolume -lmeshTools -lturbulenceModels -lcompressibleTurbulenceModels -llagrangian -llagrangianIntermediate -llagrangianTurbulence -lspecie -lcompressibleTransportModels -lfluidThermophysicalModels -lliquidProperties -lliquidMixtureProperties -lsolidProperties -lsolidMixtureProperties -lthermophysicalFunctions -lreactionThermophysicalModels -lSLGThermo -lchemistryModel -lradiationModels -lODE -lregionModels -lsurfaceFilmModels -lcombustionModels -lfvOptions -lsampling -lOpenFOAM -ldl \
-lm -o /home/TPT-Sim7/OpenFOAM/TPT-Sim7-3.0.0/platforms/linux64GccDPInt32Opt/bin/reactingParcelFoamDEM01

Make/linux64GccDPInt32Opt/reactingParcelFoam.o: In function `Foam::IOPosition<Foam::Cloud<Foam::ReactingMultip haseParcel<Foam::ReactingParcel<Foam::ThermoParcel <Foam::CollidingParcel<Foam::KinematicParcel<Foam: article> > > > > > >::type() const':
reactingParcelFoam.C
.text._ZNK4Foam10IOPositionINS_5CloudINS_24Reactin gMultiphaseParcelINS_14ReactingParcelINS_12ThermoP arcelINS_15CollidingParcelINS_15KinematicParcelINS _8particleEEEEEEEEEEEEEE4typeEv[_ZNK4Foam10IOPositionINS_5CloudINS_24ReactingMulti phaseParcelINS_14ReactingParcelINS_12ThermoParcelI NS_15CollidingParcelINS_15KinematicParcelINS_8part icleEEEEEEEEEEEEEE4typeEv]+0x3): undefined reference to `Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam:: ReactingParcel<Foam::ThermoParcel<Foam::CollidingP arcel<Foam::KinematicParcel<Foam:article> > > > > >::typeName'


Make/linux64GccDPInt32Opt/reactingParcelFoam.o: In function `Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam:: ReactingParcel<Foam::ThermoParcel<Foam::CollidingP arcel<Foam::KinematicParcel<Foam:article> > > > > >::type() const':
reactingParcelFoam.C
.text._ZNK4Foam5CloudINS_24ReactingMultiphaseParce lINS_14ReactingParcelINS_12ThermoParcelINS_15Colli dingParcelINS_15KinematicParcelINS_8particleEEEEEE EEEEEE4typeEv[_ZNK4Foam5CloudINS_24ReactingMultiphaseParcelINS_1 4ReactingParcelINS_12ThermoParcelINS_15CollidingPa rcelINS_15KinematicParcelINS_8particleEEEEEEEEEEEE 4typeEv]+0x3): undefined reference to `Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam:: ReactingParcel<Foam::ThermoParcel<Foam::CollidingP arcel<Foam::KinematicParcel<Foam:article> > > > > >::typeName'


Make/linux64GccDPInt32Opt/reactingParcelFoam.o: In function `Foam::ReactingMultiphaseParcel<Foam::ReactingParc el<Foam::ThermoParcel<Foam::CollidingParcel<Foam:: KinematicParcel<Foam:article> > > > >::type() const':
reactingParcelFoam.C.text._ZNK4Foam24ReactingMulti phaseParcelINS_14ReactingParcelINS_12ThermoParcelI NS_15CollidingParcelINS_15KinematicParcelINS_8part icleEEEEEEEEEE4typeEv[_ZNK4Foam24ReactingMultiphaseParcelINS_14ReactingP arcelINS_12ThermoParcelINS_15CollidingParcelINS_15 KinematicParcelINS_8particleEEEEEEEEEE4typeEv]+0x3): undefined reference to `Foam::ReactingMultiphaseParcel<Foam::ReactingParc el<Foam::ThermoParcel<Foam::CollidingParcel<Foam:: KinematicParcel<Foam:article> > > > >::typeName'


Make/linux64GccDPInt32Opt/reactingParcelFoam.o: In function `Foam::ReactingParcel<Foam::ThermoParcel<Foam::Col lidingParcel<Foam::KinematicParcel<Foam:article> > > >::type() const':
reactingParcelFoam.C.text._ZNK4Foam14ReactingParce lINS_12ThermoParcelINS_15CollidingParcelINS_15Kine maticParcelINS_8particleEEEEEEEE4typeEv[_ZNK4Foam14ReactingParcelINS_12ThermoParcelINS_15C ollidingParcelINS_15KinematicParcelINS_8particleEE EEEEEE4typeEv]+0x3): undefined reference to `Foam::ReactingParcel<Foam::ThermoParcel<Foam::Col lidingParcel<Foam::KinematicParcel<Foam:article> > > >::typeName'


.
.
.
.
.
.
.
.
.
.
.
Hey Polli,

I met the same error as yours, the lib compiled successfully without error, but when I compiled the solver(simpleReactingParcelFoam) , I got the same error as yours, I have no idea how to solve it..
Have you solved your problem? By the way I am using OF 3.0.1

Kind Regards,

Ping
chpjz0391 is offline   Reply With Quote

Old   June 15, 2016, 03:27
Default
  #22
Member
 
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10
chpjz0391 is on a distinguished road
Quote:
Originally Posted by Polli View Post
Hi all,

according to this posting and that ( http://www.cfd-online.com/Forums/ope...dingcloud.html ) i tried to implement the collission model into the coalChemitryFoam or reactingParcelFoam

In which OF version was the solver from "cmigueis" developed? When i want to compile the solver it is without success.

So i tried to do the modifications in OF3.0.0 which were not the big deal, the modified basicKinematicReactingMulitphaseCloud compiled. But when i want to compile the solver with the new parcel cloud type i have a big problem (the errorcode is in the appendix).

So can you tell me in which version the solver from cmigueis is developed or can someone give me his now running version with the collission model?

At my error output at solver compilation there seems to be a linking error but i cant find the reason. The whole modified lagrangian folder compiles without errors, as long as i do not implement the collission model into the basicKinematicReactingMulitphase Parcel and Cloud the solver compiles. When i implement the collission model the lagrangian folder compiles but the solver makes the following output.


Making dependency list for source file reactingParcelFoam.C
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/finiteVolume/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/meshTools/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/TurbulenceModels/compressible/lnInclude -I./lagrangian/basic/lnInclude -I./lagrangian/DSMC/lnInclude -I./lagrangian/solidParticle/lnInclude -I./lagrangian/spray/lnInclude -I./lagrangian/turbulence/lnInclude -I./lagrangian/intermediate/lnInclude -I./lagrangian/coalCombustion/lnInclude -I./lagrangian/distributionModels/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/specie/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/transportModels/compressible/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/basic/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/properties/solidProperties/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/thermophysicalFunctions/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/reactionThermo/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/SLGThermo/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/chemistryModel/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/radiation/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/ODE/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/regionModels/regionModel/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/regionModels/surfaceFilmModels/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/combustionModels/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/fvOptions/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/sampling/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/applications/solvers/combustion/reactingFoam -IlnInclude -I. -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/OSspecific/POSIX/lnInclude -fPIC -c reactingParcelFoam.C -o Make/linux64GccDPInt32Opt/reactingParcelFoam.o
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/finiteVolume/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/meshTools/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/TurbulenceModels/compressible/lnInclude -I./lagrangian/basic/lnInclude -I./lagrangian/DSMC/lnInclude -I./lagrangian/solidParticle/lnInclude -I./lagrangian/spray/lnInclude -I./lagrangian/turbulence/lnInclude -I./lagrangian/intermediate/lnInclude -I./lagrangian/coalCombustion/lnInclude -I./lagrangian/distributionModels/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/specie/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/transportModels/compressible/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/basic/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/properties/solidProperties/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/thermophysicalFunctions/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/reactionThermo/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/SLGThermo/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/chemistryModel/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/thermophysicalModels/radiation/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/ODE/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/regionModels/regionModel/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/regionModels/surfaceFilmModels/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/combustionModels/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/fvOptions/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/sampling/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/applications/solvers/combustion/reactingFoam -IlnInclude -I. -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude -I/home/TPT-Sim7/foam/OpenFOAM-3.0.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt32Opt/reactingParcelFoam.o -L/home/TPT-Sim7/foam/OpenFOAM-3.0.0/platforms/linux64GccDPInt32Opt/lib \
-lfiniteVolume -lmeshTools -lturbulenceModels -lcompressibleTurbulenceModels -llagrangian -llagrangianIntermediate -llagrangianTurbulence -lspecie -lcompressibleTransportModels -lfluidThermophysicalModels -lliquidProperties -lliquidMixtureProperties -lsolidProperties -lsolidMixtureProperties -lthermophysicalFunctions -lreactionThermophysicalModels -lSLGThermo -lchemistryModel -lradiationModels -lODE -lregionModels -lsurfaceFilmModels -lcombustionModels -lfvOptions -lsampling -lOpenFOAM -ldl \
-lm -o /home/TPT-Sim7/OpenFOAM/TPT-Sim7-3.0.0/platforms/linux64GccDPInt32Opt/bin/reactingParcelFoamDEM01

Make/linux64GccDPInt32Opt/reactingParcelFoam.o: In function `Foam::IOPosition<Foam::Cloud<Foam::ReactingMultip haseParcel<Foam::ReactingParcel<Foam::ThermoParcel <Foam::CollidingParcel<Foam::KinematicParcel<Foam: article> > > > > > >::type() const':
reactingParcelFoam.C
.text._ZNK4Foam10IOPositionINS_5CloudINS_24Reactin gMultiphaseParcelINS_14ReactingParcelINS_12ThermoP arcelINS_15CollidingParcelINS_15KinematicParcelINS _8particleEEEEEEEEEEEEEE4typeEv[_ZNK4Foam10IOPositionINS_5CloudINS_24ReactingMulti phaseParcelINS_14ReactingParcelINS_12ThermoParcelI NS_15CollidingParcelINS_15KinematicParcelINS_8part icleEEEEEEEEEEEEEE4typeEv]+0x3): undefined reference to `Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam:: ReactingParcel<Foam::ThermoParcel<Foam::CollidingP arcel<Foam::KinematicParcel<Foam:article> > > > > >::typeName'


Make/linux64GccDPInt32Opt/reactingParcelFoam.o: In function `Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam:: ReactingParcel<Foam::ThermoParcel<Foam::CollidingP arcel<Foam::KinematicParcel<Foam:article> > > > > >::type() const':
reactingParcelFoam.C
.text._ZNK4Foam5CloudINS_24ReactingMultiphaseParce lINS_14ReactingParcelINS_12ThermoParcelINS_15Colli dingParcelINS_15KinematicParcelINS_8particleEEEEEE EEEEEE4typeEv[_ZNK4Foam5CloudINS_24ReactingMultiphaseParcelINS_1 4ReactingParcelINS_12ThermoParcelINS_15CollidingPa rcelINS_15KinematicParcelINS_8particleEEEEEEEEEEEE 4typeEv]+0x3): undefined reference to `Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam:: ReactingParcel<Foam::ThermoParcel<Foam::CollidingP arcel<Foam::KinematicParcel<Foam:article> > > > > >::typeName'


Make/linux64GccDPInt32Opt/reactingParcelFoam.o: In function `Foam::ReactingMultiphaseParcel<Foam::ReactingParc el<Foam::ThermoParcel<Foam::CollidingParcel<Foam:: KinematicParcel<Foam:article> > > > >::type() const':
reactingParcelFoam.C.text._ZNK4Foam24ReactingMulti phaseParcelINS_14ReactingParcelINS_12ThermoParcelI NS_15CollidingParcelINS_15KinematicParcelINS_8part icleEEEEEEEEEE4typeEv[_ZNK4Foam24ReactingMultiphaseParcelINS_14ReactingP arcelINS_12ThermoParcelINS_15CollidingParcelINS_15 KinematicParcelINS_8particleEEEEEEEEEE4typeEv]+0x3): undefined reference to `Foam::ReactingMultiphaseParcel<Foam::ReactingParc el<Foam::ThermoParcel<Foam::CollidingParcel<Foam:: KinematicParcel<Foam:article> > > > >::typeName'


Make/linux64GccDPInt32Opt/reactingParcelFoam.o: In function `Foam::ReactingParcel<Foam::ThermoParcel<Foam::Col lidingParcel<Foam::KinematicParcel<Foam:article> > > >::type() const':
reactingParcelFoam.C.text._ZNK4Foam14ReactingParce lINS_12ThermoParcelINS_15CollidingParcelINS_15Kine maticParcelINS_8particleEEEEEEEE4typeEv[_ZNK4Foam14ReactingParcelINS_12ThermoParcelINS_15C ollidingParcelINS_15KinematicParcelINS_8particleEE EEEEEE4typeEv]+0x3): undefined reference to `Foam::ReactingParcel<Foam::ThermoParcel<Foam::Col lidingParcel<Foam::KinematicParcel<Foam:article> > > >::typeName'


.
.
.
.
.
.
.
.
.
.
.
Hey Polli,

I have solved my error, this error is caused by version. When I changed my OF 3.0 to 2.3.1, everything goes well.

Good luck,

Kind Regards,

Ping.
surajkvs likes this.
chpjz0391 is offline   Reply With Quote

Old   December 20, 2016, 12:51
Default
  #23
New Member
 
Zirui He
Join Date: Dec 2016
Location: Stuttgart
Posts: 3
Rep Power: 9
hurricane007 is on a distinguished road
really helpful!
hurricane007 is offline   Reply With Quote

Old   June 1, 2018, 03:13
Default
  #24
New Member
 
SURAJ
Join Date: Jun 2017
Location: IIT KANPUR,India
Posts: 15
Rep Power: 9
surajkvs is on a distinguished road
Quote:
Originally Posted by chpjz0391 View Post
Hey Polli,

I have solved my error, this error is caused by version. When I changed my OF 3.0 to 2.3.1, everything goes well.

Good luck,

Kind Regards,

Ping.
Hi,
I followed the same procedure,
But got same error in OpenFOAM-dev version,OpenFOAM 3.0.x and then tried OpenFoam 2.3.1 after watching this post. But same error in all.

My lagrangian/intermediate library gets complied in all versions without any error.
But when I add basicReactingMultiphaseCollidingCloud.H in reactingParcelCollidingFoam.C (I changed the name of solver from reactingParcelFoam to reactingParcelCollidingFoam) and basicReactingMultiphaseCollidingCloud in createcloud.H file my solver gives the same error as mentioned above.
Code:
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/meshTools/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels/compressible/turbulenceModel -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/lagrangian/basic/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/lagrangian/intermediate/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/lagrangian/coalCombustion/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/lagrangian/distributionModels/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/specie/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/basic/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/properties/solidProperties/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/thermophysicalFunctions/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/reactionThermo/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/SLGThermo/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/chemistryModel/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/radiationModels/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/ODE/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/regionModels/regionModel/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/regionModels/surfaceFilmModels/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/combustionModels/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/fvOptions/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/sampling/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/applications/solvers/combustion/reactingFoam -IlnInclude -I. -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/reactingParcelCollisionFoam.o -L/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib \
         -lfiniteVolume -lmeshTools -lcompressibleTurbulenceModel -lcompressibleRASModels -lcompressibleLESModels -llagrangian -llagrangianIntermediate -llagrangianTurbulence -lspecie -lfluidThermophysicalModels -lliquidProperties -lliquidMixtureProperties -lsolidProperties -lsolidMixtureProperties -lthermophysicalFunctions -lreactionThermophysicalModels -lSLGThermo -lchemistryModel -lradiationModels -lODE -lregionModels -lsurfaceFilmModels -lcombustionModels -lfvOptions -lsampling -lOpenFOAM -ldl   -lm -o /home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/reactingParcelCollisionFoam
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::type() const':
reactingParcelCollisionFoam.C:(.text._ZNK4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE4typeEv[_ZNK4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE4typeEv]+0x3): undefined reference to `Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::typeName'
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > >::type() const':
reactingParcelCollisionFoam.C:(.text._ZNK4Foam12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEE4typeEv[_ZNK4Foam12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEE4typeEv]+0x3): undefined reference to `Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > >::typeName'
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `void Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > >::setCellValues<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > > >(Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > >&, double, int)':
reactingParcelCollisionFoam.C:(.text._ZN4Foam12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEE13setCellValuesINS_14ReactingParcelIS6_E12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS9_EEEEEEEEEEEEEEEEEEvRT_di[_ZN4Foam12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEE13setCellValuesINS_14ReactingParcelIS6_E12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS9_EEEEEEEEEEEEEEEEEEvRT_di]+0xbc): undefined reference to `Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > >::debug'
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `void Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::setCellValues<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > > >(Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > >&, double, int)':
reactingParcelCollisionFoam.C:(.text._ZN4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE13setCellValuesINS8_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS8_EEEEEEEEEEEEEEEEEEvRT_di[_ZN4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE13setCellValuesINS8_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS8_EEEEEEEEEEEEEEEEEEvRT_di]+0xdb): undefined reference to `Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::debug'
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `void Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::cellValueSourceCorrection<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > > >(Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > >&, double, int)':
reactingParcelCollisionFoam.C:(.text._ZN4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE25cellValueSourceCorrectionINS8_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS8_EEEEEEEEEEEEEEEEEEvRT_di[_ZN4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE25cellValueSourceCorrectionINS8_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS8_EEEEEEEEEEEEEEEEEEvRT_di]+0x217): undefined reference to `Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::debug'
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `void Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > >::calc<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > > >(Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > >&, double, int)':
reactingParcelCollisionFoam.C:(.text._ZN4Foam24ReactingMultiphaseParcelINS_14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEEEE4calcINS9_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudISA_EEEEEEEEEEEEEEEEvRT_di[_ZN4Foam24ReactingMultiphaseParcelINS_14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEEEE4calcINS9_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudISA_EEEEEEEEEEEEEEEEvRT_di]+0x122): undefined reference to `Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > >::debug'
/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so: undefined reference to `Foam::WallModel<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > >::dictionaryConstructorTablePtr_'
/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so: undefined reference to `Foam::ReactingParcel<Foam::ThermoParcel<Foam::MPPICParcel<Foam::KinematicParcel<Foam::particle> > > >::typeName'
/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so: undefined reference to `Foam::ThermoParcel<Foam::MPPICParcel<Foam::KinematicParcel<Foam::particle> > >::typeName'
/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so: undefined reference to `Foam::PairModel<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > >::dictionaryConstructorTablePtr_'
collect2: error: ld returned 1 exit status
make: *** [/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/reactingParcelCollisionFoam] Error 1
Please give me some advice.

Suraj
surajkvs is offline   Reply With Quote

Old   July 3, 2019, 13:41
Default
  #25
New Member
 
chunlei li
Join Date: Jun 2019
Posts: 6
Rep Power: 7
chunleili is on a distinguished road
Quote:
Originally Posted by cmigueis View Post
Dear Bruno, thanks a lot for your help! I just added the lines

Code:
#include "makeParcelStochasticCollisionModels.H"
and

Code:
makeParcelStochasticCollisionModels(coalCloud);
into the makeCoalParcelSubmodelsAdded.C file, and now the particles aren't "invisible" to each other anymore!

I will adjust some other things in the case that I'm studying -mainly devolatilization and heterogeneous reactions(I might have to ask for help again)- and, as soon as I finished this, I'll post here the library, the solver and the test case, so anyone interested in the subject can download it.
Hi,
could you post your codes?
chunleili is offline   Reply With Quote

Old   July 3, 2019, 13:45
Default
  #26
New Member
 
chunlei li
Join Date: Jun 2019
Posts: 6
Rep Power: 7
chunleili is on a distinguished road
Quote:
Originally Posted by Shuai_W View Post
Dear cmigueis,
Thank you for your quick reply.
First of all, I mean that your work can model reacting dilute two-phase flow, but not reacting dense two-phase flow. We can see in DPMFoam solver, there is an “alphac” in the mass and momentum equations of Ueqn.H, which mean the void fraction (voidage). However, in coalChemistryFoam, there isn’t a void fraction. That is, even though you implement coal cloud collisions into coalChemitryFoam, it look like DPM model in ANSYS Fluent, but not a CFD-DEM model with reaction, you should also implement “alphac”(voidage) into mass, momentum and energy equations.
For more details, you can have a look at article “Ku X, Li T, Løvås T. CFD–DEM simulation of biomass gasification with steam in a fluidized bed reactor [J]. Chemical Engineering Science, 2015, 122: 270-283.” or “Zhou H, Flamant G, Gauthier D. DEM-LES simulation of coal combustion in a bubbling fluidized bed Part II: coal combustion at the particle level [J]. Chemical Engineering Science, 2004, 59(20): 4205-4215.”, in these work, four-way coupling CFD-DEM with reaction were adopted to simulate a fluidized bed. The former is accomplished on OpenFOAM framework.
In my opinion, if you want to model dense phase reacting flow like above literature, I think DPMFoam combined with coalChemistryFoam can achieve it, which is the work I want to do and I am doing. Generally speaking, DPMFoam has already had parcels collisions and it is CFD-DEM method which can be used in cold fluidized bed modeling. If you only model pulverized coal combustion (that is, reacting dilute two-phase flow), four-way coupling is not necessary.
Best regards!
Hello, friend!

Have you managed to fixed the problem you said?
What the method you are using now?

Best regards!
chunleili is offline   Reply With Quote

Old   February 1, 2021, 12:01
Default
  #27
Member
 
UOCFD
Join Date: Oct 2020
Posts: 40
Rep Power: 6
uosilos is on a distinguished road
Quote:
Originally Posted by surajkvs View Post
Hi,
I followed the same procedure,
But got same error in OpenFOAM-dev version,OpenFOAM 3.0.x and then tried OpenFoam 2.3.1 after watching this post. But same error in all.

My lagrangian/intermediate library gets complied in all versions without any error.
But when I add basicReactingMultiphaseCollidingCloud.H in reactingParcelCollidingFoam.C (I changed the name of solver from reactingParcelFoam to reactingParcelCollidingFoam) and basicReactingMultiphaseCollidingCloud in createcloud.H file my solver gives the same error as mentioned above.
Code:
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/meshTools/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels/compressible/turbulenceModel -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/lagrangian/basic/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/lagrangian/intermediate/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/lagrangian/coalCombustion/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/lagrangian/distributionModels/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/specie/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/basic/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/properties/solidProperties/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/thermophysicalFunctions/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/reactionThermo/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/SLGThermo/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/chemistryModel/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/radiationModels/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/ODE/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/regionModels/regionModel/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/regionModels/surfaceFilmModels/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/combustionModels/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/fvOptions/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/sampling/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/applications/solvers/combustion/reactingFoam -IlnInclude -I. -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/reactingParcelCollisionFoam.o -L/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib \
         -lfiniteVolume -lmeshTools -lcompressibleTurbulenceModel -lcompressibleRASModels -lcompressibleLESModels -llagrangian -llagrangianIntermediate -llagrangianTurbulence -lspecie -lfluidThermophysicalModels -lliquidProperties -lliquidMixtureProperties -lsolidProperties -lsolidMixtureProperties -lthermophysicalFunctions -lreactionThermophysicalModels -lSLGThermo -lchemistryModel -lradiationModels -lODE -lregionModels -lsurfaceFilmModels -lcombustionModels -lfvOptions -lsampling -lOpenFOAM -ldl   -lm -o /home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/reactingParcelCollisionFoam
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::type() const':
reactingParcelCollisionFoam.C:(.text._ZNK4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE4typeEv[_ZNK4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE4typeEv]+0x3): undefined reference to `Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::typeName'
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > >::type() const':
reactingParcelCollisionFoam.C:(.text._ZNK4Foam12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEE4typeEv[_ZNK4Foam12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEE4typeEv]+0x3): undefined reference to `Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > >::typeName'
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `void Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > >::setCellValues<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > > >(Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > >&, double, int)':
reactingParcelCollisionFoam.C:(.text._ZN4Foam12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEE13setCellValuesINS_14ReactingParcelIS6_E12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS9_EEEEEEEEEEEEEEEEEEvRT_di[_ZN4Foam12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEE13setCellValuesINS_14ReactingParcelIS6_E12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS9_EEEEEEEEEEEEEEEEEEvRT_di]+0xbc): undefined reference to `Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > >::debug'
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `void Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::setCellValues<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > > >(Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > >&, double, int)':
reactingParcelCollisionFoam.C:(.text._ZN4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE13setCellValuesINS8_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS8_EEEEEEEEEEEEEEEEEEvRT_di[_ZN4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE13setCellValuesINS8_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS8_EEEEEEEEEEEEEEEEEEvRT_di]+0xdb): undefined reference to `Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::debug'
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `void Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::cellValueSourceCorrection<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > > >(Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > >&, double, int)':
reactingParcelCollisionFoam.C:(.text._ZN4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE25cellValueSourceCorrectionINS8_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS8_EEEEEEEEEEEEEEEEEEvRT_di[_ZN4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE25cellValueSourceCorrectionINS8_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS8_EEEEEEEEEEEEEEEEEEvRT_di]+0x217): undefined reference to `Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::debug'
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `void Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > >::calc<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > > >(Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > >&, double, int)':
reactingParcelCollisionFoam.C:(.text._ZN4Foam24ReactingMultiphaseParcelINS_14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEEEE4calcINS9_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudISA_EEEEEEEEEEEEEEEEvRT_di[_ZN4Foam24ReactingMultiphaseParcelINS_14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEEEE4calcINS9_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudISA_EEEEEEEEEEEEEEEEvRT_di]+0x122): undefined reference to `Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > >::debug'
/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so: undefined reference to `Foam::WallModel<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > >::dictionaryConstructorTablePtr_'
/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so: undefined reference to `Foam::ReactingParcel<Foam::ThermoParcel<Foam::MPPICParcel<Foam::KinematicParcel<Foam::particle> > > >::typeName'
/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so: undefined reference to `Foam::ThermoParcel<Foam::MPPICParcel<Foam::KinematicParcel<Foam::particle> > >::typeName'
/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so: undefined reference to `Foam::PairModel<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > >::dictionaryConstructorTablePtr_'
collect2: error: ld returned 1 exit status
make: *** [/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/reactingParcelCollisionFoam] Error 1
Please give me some advice.

Suraj

From what you said I guess you have also done some modifications in the intermediate library. From page 1 posts I understood only the coalCombustion library required modifications.
Can you discuss about it?


Thanks!
uosilos is offline   Reply With Quote

Old   July 1, 2022, 05:38
Default The coalproperties can implement particle stress
  #28
New Member
 
Guanwen Luo
Join Date: Jan 2021
Posts: 6
Rep Power: 5
zzluozz11 is on a distinguished road
Quote:
Originally Posted by Shuai_W View Post
Dear cmigueis,
Thank you for your quick reply.
First of all, I mean that your work can model reacting dilute two-phase flow, but not reacting dense two-phase flow. We can see in DPMFoam solver, there is an “alphac” in the mass and momentum equations of Ueqn.H, which mean the void fraction (voidage). However, in coalChemistryFoam, there isn’t a void fraction. That is, even though you implement coal cloud collisions into coalChemitryFoam, it look like DPM model in ANSYS Fluent, but not a CFD-DEM model with reaction, you should also implement “alphac”(voidage) into mass, momentum and energy equations.
For more details, you can have a look at article “Ku X, Li T, Løvås T. CFD–DEM simulation of biomass gasification with steam in a fluidized bed reactor [J]. Chemical Engineering Science, 2015, 122: 270-283.” or “Zhou H, Flamant G, Gauthier D. DEM-LES simulation of coal combustion in a bubbling fluidized bed Part II: coal combustion at the particle level [J]. Chemical Engineering Science, 2004, 59(20): 4205-4215.”, in these work, four-way coupling CFD-DEM with reaction were adopted to simulate a fluidized bed. The former is accomplished on OpenFOAM framework.
In my opinion, if you want to model dense phase reacting flow like above literature, I think DPMFoam combined with coalChemistryFoam can achieve it, which is the work I want to do and I am doing. Generally speaking, DPMFoam has already had parcels collisions and it is CFD-DEM method which can be used in cold fluidized bed modeling. If you only model pulverized coal combustion (that is, reacting dilute two-phase flow), four-way coupling is not necessary.
Best regards!
Hi, I have a question that the coalCloudProperties in coalChemistryAlphaFoam can implement particle stress(Harris and Crighton model), is that mean the solids collision considered? Thank you.
zzluozz11 is offline   Reply With Quote

Old   November 24, 2022, 03:13
Default
  #29
New Member
 
Örjan Fjällborg
Join Date: Aug 2019
Posts: 4
Rep Power: 7
klorfj is on a distinguished road
Quote:
Originally Posted by surajkvs View Post
Hi,
I followed the same procedure,
But got same error in OpenFOAM-dev version,OpenFOAM 3.0.x and then tried OpenFoam 2.3.1 after watching this post. But same error in all.

My lagrangian/intermediate library gets complied in all versions without any error.
But when I add basicReactingMultiphaseCollidingCloud.H in reactingParcelCollidingFoam.C (I changed the name of solver from reactingParcelFoam to reactingParcelCollidingFoam) and basicReactingMultiphaseCollidingCloud in createcloud.H file my solver gives the same error as mentioned above.
Code:
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/meshTools/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels/compressible/turbulenceModel -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/lagrangian/basic/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/lagrangian/intermediate/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/lagrangian/coalCombustion/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/lagrangian/distributionModels/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/specie/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/basic/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/properties/solidProperties/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/thermophysicalFunctions/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/reactionThermo/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/SLGThermo/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/chemistryModel/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/radiationModels/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/ODE/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/regionModels/regionModel/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/regionModels/surfaceFilmModels/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/combustionModels/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/fvOptions/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/sampling/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/applications/solvers/combustion/reactingFoam -IlnInclude -I. -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude -I/home/suraj/OpenFOAM/OpenFOAM-2.3.1/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/reactingParcelCollisionFoam.o -L/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib \
         -lfiniteVolume -lmeshTools -lcompressibleTurbulenceModel -lcompressibleRASModels -lcompressibleLESModels -llagrangian -llagrangianIntermediate -llagrangianTurbulence -lspecie -lfluidThermophysicalModels -lliquidProperties -lliquidMixtureProperties -lsolidProperties -lsolidMixtureProperties -lthermophysicalFunctions -lreactionThermophysicalModels -lSLGThermo -lchemistryModel -lradiationModels -lODE -lregionModels -lsurfaceFilmModels -lcombustionModels -lfvOptions -lsampling -lOpenFOAM -ldl   -lm -o /home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/reactingParcelCollisionFoam
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::type() const':
reactingParcelCollisionFoam.C:(.text._ZNK4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE4typeEv[_ZNK4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE4typeEv]+0x3): undefined reference to `Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::typeName'
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > >::type() const':
reactingParcelCollisionFoam.C:(.text._ZNK4Foam12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEE4typeEv[_ZNK4Foam12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEE4typeEv]+0x3): undefined reference to `Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > >::typeName'
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `void Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > >::setCellValues<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > > >(Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > >&, double, int)':
reactingParcelCollisionFoam.C:(.text._ZN4Foam12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEE13setCellValuesINS_14ReactingParcelIS6_E12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS9_EEEEEEEEEEEEEEEEEEvRT_di[_ZN4Foam12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEE13setCellValuesINS_14ReactingParcelIS6_E12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS9_EEEEEEEEEEEEEEEEEEvRT_di]+0xbc): undefined reference to `Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > >::debug'
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `void Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::setCellValues<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > > >(Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > >&, double, int)':
reactingParcelCollisionFoam.C:(.text._ZN4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE13setCellValuesINS8_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS8_EEEEEEEEEEEEEEEEEEvRT_di[_ZN4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE13setCellValuesINS8_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS8_EEEEEEEEEEEEEEEEEEvRT_di]+0xdb): undefined reference to `Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::debug'
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `void Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::cellValueSourceCorrection<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > > >(Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > >&, double, int)':
reactingParcelCollisionFoam.C:(.text._ZN4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE25cellValueSourceCorrectionINS8_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS8_EEEEEEEEEEEEEEEEEEvRT_di[_ZN4Foam14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEE25cellValueSourceCorrectionINS8_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudINS_24ReactingMultiphaseParcelIS8_EEEEEEEEEEEEEEEEEEvRT_di]+0x217): undefined reference to `Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::debug'
Make/linux64GccDPOpt/reactingParcelCollisionFoam.o: In function `void Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > >::calc<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > > >(Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam::ThermoCloud<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > > >&, double, int)':
reactingParcelCollisionFoam.C:(.text._ZN4Foam24ReactingMultiphaseParcelINS_14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEEEE4calcINS9_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudISA_EEEEEEEEEEEEEEEEvRT_di[_ZN4Foam24ReactingMultiphaseParcelINS_14ReactingParcelINS_12ThermoParcelINS_15CollidingParcelINS_15KinematicParcelINS_8particleEEEEEEEEEE4calcINS9_12TrackingDataINS_23ReactingMultiphaseCloudINS_13ReactingCloudINS_11ThermoCloudINS_14CollidingCloudINS_14KinematicCloudINS_5CloudISA_EEEEEEEEEEEEEEEEvRT_di]+0x122): undefined reference to `Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > >::debug'
/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so: undefined reference to `Foam::WallModel<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > >::dictionaryConstructorTablePtr_'
/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so: undefined reference to `Foam::ReactingParcel<Foam::ThermoParcel<Foam::MPPICParcel<Foam::KinematicParcel<Foam::particle> > > >::typeName'
/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so: undefined reference to `Foam::ThermoParcel<Foam::MPPICParcel<Foam::KinematicParcel<Foam::particle> > >::typeName'
/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so: undefined reference to `Foam::PairModel<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > >::dictionaryConstructorTablePtr_'
collect2: error: ld returned 1 exit status
make: *** [/home/suraj/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/reactingParcelCollisionFoam] Error 1
Please give me some advice.

Suraj
Hi Suraj!

I had a lot of problem to modify a parcel type and use it in a new cloud. In my case to make an "MyThermoParcel" and replace it with the original "ThermoParcel".

My modified lagrangian/intermediate library compiled but the solver got linking errors like yours.

My problem was a missing line in the file makeParcelHeatTransferModel.H:
makeHeatTransferModel(CloudType);

All this make/define template macros are really important to get correct, otherwise it results in linkage errors for a missing combination of template types. The output error might guide you in the direction to which of the makeXXX.C or defineXXX.C files that can be wrong.

Best regards
Örjan
klorfj is offline   Reply With Quote

Reply

Tags
cloud, coalchemistryfoam, collision, compiler


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
Coal combustion injection properties semo FLUENT 12 May 16, 2017 20:40
Non premixed- Coal combustion praveen2011 FLUENT 3 November 1, 2016 09:57
Error during reconstructing lagarangian fields ybapat OpenFOAM 9 November 17, 2014 08:52
problem with solving lagrange reaction cloud Polli OpenFOAM Running, Solving & CFD 0 April 30, 2014 08:53
Fixed Bed Coal gasification nabeelicet FLUENT 0 February 2, 2014 07:36


All times are GMT -4. The time now is 00:17.