|
[Sponsors] |
Colliding Coal Cloud in coalCollidingChemistryFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 15, 2016, 00:46 |
|
#21 | |
Member
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10 |
Quote:
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 |
||
June 15, 2016, 03:27 |
|
#22 | |
Member
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10 |
Quote:
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. |
||
December 20, 2016, 12:51 |
|
#23 |
New Member
Zirui He
Join Date: Dec 2016
Location: Stuttgart
Posts: 3
Rep Power: 10 |
really helpful!
|
|
June 1, 2018, 03:13 |
|
#24 | |
New Member
SURAJ
Join Date: Jun 2017
Location: IIT KANPUR,India
Posts: 15
Rep Power: 9 |
Quote:
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 Suraj |
||
July 3, 2019, 13:41 |
|
#25 | |
New Member
chunlei li
Join Date: Jun 2019
Posts: 6
Rep Power: 7 |
Quote:
could you post your codes? |
||
July 3, 2019, 13:45 |
|
#26 | |
New Member
chunlei li
Join Date: Jun 2019
Posts: 6
Rep Power: 7 |
Quote:
Have you managed to fixed the problem you said? What the method you are using now? Best regards! |
||
February 1, 2021, 12:01 |
|
#27 | |
Member
UOCFD
Join Date: Oct 2020
Posts: 40
Rep Power: 6 |
Quote:
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! |
||
July 1, 2022, 05:38 |
The coalproperties can implement particle stress
|
#28 | |
New Member
Guanwen Luo
Join Date: Jan 2021
Posts: 6
Rep Power: 5 |
Quote:
|
||
November 24, 2022, 03:13 |
|
#29 | |
New Member
Örjan Fjällborg
Join Date: Aug 2019
Posts: 4
Rep Power: 7 |
Quote:
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 |
||
Tags |
cloud, coalchemistryfoam, collision, compiler |
|
|
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 |