https://linen.dev logo
Hello Foamers, recently I'm wokrking on creating a...
# programming
v
Hello Foamers, recently I'm wokrking on creating a solver with a new classe hierarchy for a DEM like solver with heat transfer i used this definition for my parcels and cloud definitions namespace Foam { typedef ThermoParcel<CollidingParcel<KinematicParcel>> basicThermoParcel; template<> inline bool contiguous() { return true; } } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // #endif and for the submodels i added the paircollsion, wall model and springsliderdashpot for the collisions, i compiled the hole intermediate with these definitions, but when i compile the solver this is the error message that appears /usr/bin/ld.bfd: /home/vvale/OpenFOAM/vvale-7/platforms/linux64GccDPInt32Opt/lib/liblagrangianIntermediateOF7.so: referência não definida para "Foam::WallModel<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel > > > > > >::dictionaryConstructorTablePtr_" /usr/bin/ld.bfd: /home/vvale/OpenFOAM/vvale-7/platforms/linux64GccDPInt32Opt/lib/liblagrangianIntermediateOF7.so: referência não definida para "Foam::PairModel<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel > > > > > >::dictionaryConstructorTablePtr_" collect2: error: ld returned 1 exit status the compiler is looking for a hierarchy that is diferent that the one that i defined, and looked at the librarie, and the models are linked for this particular hierarchy, even though is not that the one that i implemented, could someone give a hint of how could i solve this ?? i am compiling the openfoam7 version